- Documentation
- Components
- Callouts
Callouts
Set a note, tip or warning apart from the text with Note, Info, Tip, Check, Warning, Danger or a custom Callout.
Use a callout for something the reader shouldn’t miss. Each of the six kinds has its own name and icon.
<Note>Notes add context.</Note><Info>Info points to something related.</Info><Tip>Tips save the reader time.</Tip><Check>Check confirms that something worked.</Check><Warning>Warnings say what can go wrong.</Warning><Danger>Danger is for what can't be undone.</Danger>Make your own
Section titled “Make your own”Callout makes a custom one. Give it an icon and a color:
<Callout icon="flag" color="#FFC107">A custom callout, with its own icon and color.</Callout>iconstringOn
Callout: a Lucide or Font Awesome icon name, or an image path. Without atitle, the icon stands alone.
colorstringOn
Callout: the callout’s color, as hex (#FFC107), a color name, orrgb()orhsl(). Anything else is ignored.
titlestringOn
Callout: the label above the text. A kind’s own name is the label by default, andtitlereplaces it.
typestringOn
Callout:note,info,tip,check,warningordangermakes it that kind.warnandcautionmeanwarning,errormeansdanger, andsuccessmeanscheck.
Note, Info, Tip, Check, Warning and Danger take no props. You can still set a title on them.