Callouts
<Callout> and its aliases <Note>, <Info>, <Warning>, <Tip>… highlight important information with color and an icon.
Highlight important information with color and an icon. Most of the time you'll use an alias directly:
<Note>Note: additional context.</Note>
<Info>Info: general information.</Info>
<Tip>Tip: a practical tip.</Tip>
<Check>Check: done, or the recommended approach.</Check>
<Success>Success: the operation succeeded.</Success>
<Warning>Warning: a risk to watch out for.</Warning>
<Error>Error: an error or destructive operation.</Error>
<Launch>Launch: a new feature release.</Launch>Note: additional context.
Info: general information.
Tip: a practical tip.
Check: done, or the recommended approach.
Success: the operation succeeded.
Warning: a risk to watch out for.
Error: an error or destructive operation.
Launch: a new feature release.
Titles, icons, and rich content
Callouts can contain any Markdown and components:
<Callout intent="warning" title="Deleting a site can't be undone" icon="lucide:trash-2">
Once deleted, all deployments, domain mappings, and analytics data are permanently erased.
```bash
curl -X DELETE https://api.butterix.com/v1/sites/acme-payments -H "Authorization: Bearer $TOKEN"
```
</Callout>Deleting a site can't be undone
Once deleted, all deployments, domain mappings, and analytics data are permanently erased.
curl -X DELETE https://api.butterix.com/v1/sites/acme-payments -H "Authorization: Bearer $TOKEN"Write icon={false} when you don't want an icon:
<Info icon={false}>A callout without an icon.</Info>Props
Color and default icon. type and variant are also accepted as the prop name. danger is the same as error. Set automatically when you use an alias.
The Font Awesome style to use when
icon is just a name: solid, regular (outline) or brands; light, thin and duotone show as outline. No effect when icon has full class names (such as fa-regular fa-bell) or is a lucide: icon.Aliases
| Syntax | Equivalent to |
|---|---|
<Note> | <Callout intent="note"> |
<Info> | <Callout intent="info"> |
<Warning> | <Callout intent="warning"> |
<Tip> | <Callout intent="tip"> |
<Check> | <Callout intent="check"> |
<Success> | <Callout intent="success"> |
<Error> | <Callout intent="error"> |
<Danger> | <Callout intent="danger"> (same as error) |
<Launch> | <Callout intent="launch"> |
In the page's Markdown version, callouts are converted to blockquotes with a title.