Components
Callout
Highlight notes, tips, warnings, and other admonitions.
Use callouts to pull important information out of the main flow.
You can use the generic Callout component, or the fixed-variant wrappers
Note, Tip, Warning, Info, Check, and Danger.
Generic callout#
Heads up
This is a custom callout body.
Variants#
Note#
Neutral supplemental information.
Tip#
Best practices and helpful shortcuts.
Warning#
Risky operations or destructive behavior.
Info#
Contextual details readers should know.
Check#
Success or completion states.
Danger#
Irreversible actions and data loss.
Custom icon#
Hot path
This request is on the critical path.
Properties#
Callout#
| Name | Type | Description |
|---|---|---|
| variant | 'note' | 'tip' | 'warning' | 'info' | 'check' | 'danger' | Visual style and default icon. Default: note |
| title | ReactNode | Optional heading above the body. Without a title, only the body is shown. |
| icon | ReactNode | string | Lucide name or element. Overrides the variant default icon. |
| children | ReactNode | Callout body content. |
Shortcut components#
Note, Tip, Warning, Info, Check, and Danger accept only
children and map to the matching variant.
Last updated on