← Back to site

Using Callouts

Callouts draw attention to important information — tips, warnings, or key details. Add this to any .mdx file:

import { Accordion, Button, Callout, Carousel, Center, ImageGrid, Img, Instagram, Marquee, YouTube, SideBySide, Left, Right } from '@mdx';

<Callout>
  All participants must wear protective equipment during test launches.
</Callout>

All participants must wear protective equipment during test launches.

With a Title

Add a title for a bold heading above the content:

<Callout title="Safety Notice">
  All participants must wear protective equipment during test launches.
</Callout>

Safety Notice

All participants must wear protective equipment during test launches.

Rich Content

Since callouts use a slot, you can put any Markdown or other components inside:

<Callout title="What to bring">
  - **Laptop** with a code editor
  - Notebook for sketches
  - Your student ID
</Callout>

What to bring

  • Laptop with a code editor
  • Notebook for sketches
  • Your student ID

Optional Fields

FieldTypeDescription
titlestringBold heading above the content
classstringExtra CSS classes on the container