Content

Callout

A callout highlights a piece of information with a color and an icon that match its type.

Live demo

Click the deck, then use ← → · 2 slides · 00:16Open fullscreen →

Syntax

MarkdownMarkdown
:::callout{type=tip title="Tip"} Lorem ipsum dolor sit amet. :::
MDXMDX
<Callout type="warning" title="Careful">Lorem ipsum dolor sit amet.</Callout>

Attributes and props

AttributeTypeDefaultDescription
typeinfo | tip | warning | danger | noteinfoColor and icon
titlestring—Heading of the box

note is styled like info. An unknown type falls back to info, in Markdown and in MDX alike.

In other formats

FormatStatusNotes
deckAvailableRendered in slides, the presenter console and the HTML and PDF exports.
docsAvailableThrough <StoryEmbed slug="…" /> in any page of a site.
motionAvailableAnimated block in a film.
reportPlanned · P6Section of a paged report.
toonPlanned · P7Panel of a vertical strip.
bookPlanned · P8Block of a printable chapter.
Last modified on