Use callouts to pull key notes out of regular paragraph flow.
Choose a callout type
Use type to match the intent of the message. Each type sets the default title, icon, and color.
Built-in presets
Each type includes a default title, icon, and color when you do not override them.
| Type | Title | Icon | Color |
|---|---|---|---|
info | Info | fluent:info-16-filled | #5589C5 |
tip | Tip | fluent:lightbulb-filament-24-filled | #FFB400 |
warning | Warning | fluent:warning-16-filled | #FF990A |
danger | Danger | fluent:diamond-dismiss-24-filled | #E5484D |
success | Success | fluent:checkmark-starburst-24-filled | #46A758 |
Default behavior
If you omit type, Callout uses the info style.
Control the header
Set a custom title and icon
Use title and icon when the default label or icon is not specific enough. The icon prop accepts an Iconify name or an image URL.
Hide the icon
Set icon={false} when the title and accent bar are enough.
Hide the title
Set title={false} when the callout body should sit directly beside the icon. If you also hide the icon, the callout renders only the body content and optional accent strip.
Hide the accent
Set accent={false} when you want a quieter callout without the vertical accent strip.
Set a custom color
Use color to override both the icon color and the accent strip color.
If accent={false} is set, color still applies to the icon.
Use Markdown and components
Callout body content supports Markdown and other docs components.
Props
| Prop | Description | Type | Default |
|---|---|---|---|
type | Visual preset for the default title, icon, and color. | "warning", "info", "tip", "danger", or "success" | "info" |
title | Header text shown above the callout body, or false to hide it. | string or false | Type-based default title |
icon | Icon name to replace the default type icon, or false to hide it. | string or false | Type-based default icon |
accent | Whether to show the vertical accent strip. | boolean | true |
color | Custom color for the icon and accent strip. | string | Type-based default color |
| children | Callout body content. Supports Markdown. | Markdown |