- Accordion
- Alert Dialog
- Avatar
- Badge
- Banner
- BreadcrumbSOON
- Button
- Button Group
- Calendar
- Callout
- Card
- Checkbox
- CodeblockSOON
- Color Picker
- Container
- Control Group
- Dialog
- Dropdown
- File Uploader
- FlexBox
- FormSOON
- Grid View
- IconSOON
- ImageSOON
- Input
- Link
- List
- MenuSOON
- PaginationSOON
- Popover
- Progress
- Radio
- Section
- Select
- Separator
- Skeleton
- SliderSOON
- SpinnerSOON
- Switch
- Table
- Tabs
- Tag
- Textarea
- ToastSOON
- Tooltip
Callout
A versatile component for displaying important messages, alerts, or notifications with customizable styles and icons.Callout
A versatile component for displaying important messages, alerts, or notifications. The Callout component supports different variants, colors, and optional icons to effectively communicate different types of information to users.
Examples
Default
A basic callout with default styling.
Variants
Different variants to convey different types of messages.
Colors
Different color themes for the callout.
Without Icon
A callout without an icon.
API Reference
Callout
The main component for displaying callout messages.
Props
| Prop | Type | Default | Description |
| ---------- | -------------------------------------------------------------- | ----------- | --------------------------------- |
| variant | 'default' \| 'info' \| 'success' \| 'warning' \| 'danger' | 'default' | The variant style of the callout. |
| color | 'default' \| 'inverse' \| 'neutral' \| 'primary' \| 'accent' | 'default' | The color theme of the callout. |
| showIcon | boolean | true | Whether to show the variant icon. |
Callout.Content
The content area of the callout.
Props
Inherits all HTML div element props.
Callout.Icon
The icon area of the callout.
Props
Inherits all HTML div element props.
Callout.Barebone
A minimal version of the callout without predefined styling.
Props
Same as the main Callout component.
Styling
The Callout component uses a slot-based styling system with the following customizable slots:
root: The main containercontent: The content areaicon: The icon container
Each slot can be styled using the recipe API and supports the following variants:
color: Controls the color theme of the calloutvariant: Controls the visual style and icon of the callout