Callout
Use callouts to pull key notes out of regular paragraph flow.
Choose a callout type
Use type to match the intent of the message.
Built-in titles
Each type includes a default title when you do not set title.
| Type | Default title |
|---|---|
info | Info |
tip | Tip |
warning | Warning |
danger | Danger |
success | Success |
Default behavior
If you omit type, Callout uses the info style.
Customize the header
Set a custom title and icon
Use title and icon when the default label or icon is not specific enough.
Set a custom accent color
Use color to override the accent color.
Props
| Prop | Description | Type | Default |
|---|---|---|---|
type | Visual style preset for title, icon, and accent color. | "warning" | "info" | "tip" | "danger" | "success" | "info" |
title | Header text shown above the callout body. | string | Type-based default title |
icon | Icon name to replace the default type icon. | string | Type-based default icon |
color | Custom accent color value. | string | Type-based default color |