Callout is a component that displays important messages, warnings, or notifications with customizable styling to draw attention to specific information.
Seems like there's been an error. Please try again.
- Display important messages with visual emphasis
- Supports different colors to indicate message type (info, warning, error, etc.)
- Multiple size variants for different contexts
- Customizable appearance with variant props
- Works well with icons and other components
Seems like there's been an error. Please try again.
soft
Seems like there's been an error. Please try again.
outline
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
Seems like there's been an error. Please try again.
The root component for the Callout. Storybook uses it for neutral, colored, and destructive alert states.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
asChild | boolean | false |
className | string | -- |
customRootClass | string | -- |
color | string | -- |
variant | string | '' |
size | string | '' |
intent | string | '' |
The icon component for the Callout. This component is used to display the icon content of the Callout.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | -- |
The text component for the Callout. This component is used to display the text content of the Callout.
| Prop | Type | Default |
|---|---|---|
children | ReactNode | -- |
className | string | -- |