Callout
Reference for displaying highlighted information and alerts using the Callout component.
Overview
Callouts are boxed sections used to highlight tips, warnings, success messages, and other important notes.
You can add callouts in two ways:
-
Editor UI: Insert ready-made callout blocks (no code needed).
-
MDX: Use the
<Callout>component with akindprop.
Available callout types:
-
Info: Neutral information (gray)
-
Tip: Helpful suggestions (blue)
-
Alert: Warnings and cautions (yellow)
-
Danger: Critical errors and destructive actions (red)
-
Success: Positive confirmations and results (green)
Using the Callouts in the editor UI

-
Place your cursor where you want the callout.
-
Type / to open the block menu.
-
Search for Calloutsand choose the callout style you want:
- Info, Tip, Alert, Danger, or Success.
-
Start typing inside the callout block to add your content.
This works similarly to callouts in tools like Notion, but with five distinct styles.
You can always click back into the callout to edit or delete the text like a normal paragraph.
Using the Callout component in MDX
Basic syntax
Use the <Callout> component to highlight important information, tips, warnings, and alerts.
<Callout kind="info">
This is an informational callout.
</Callout>
This is an informational callout.
Callout types
Info callouts
<Callout kind="info">
Configure your API key in the settings before making requests.
</Callout>
Configure your API key in the settings before making requests.
Tip callouts
<Callout kind="tip">
Use environment variables to store sensitive configuration like API keys.
</Callout>
Use environment variables to store sensitive configuration like API keys.
Success callouts
<Callout kind="success">
Your documentation has been successfully deployed and is live.
</Callout>
Your documentation has been successfully deployed and is live.
Alert callouts
<Callout kind="alert">
This action cannot be undone. Make sure you have a backup before proceeding.
</Callout>
This action cannot be undone. Make sure you have a backup before proceeding.
Danger callouts
<Callout kind="danger">
Deleting this workspace will permanently remove all documentation and cannot be recovered.
</Callout>
Deleting this workspace will permanently remove all documentation and cannot be recovered.
Attributes
Visual style and icon: info (default), tip, success, alert, danger.
Last updated 1 day ago