← Back to Components
Alert
Inline messaging blocks with semantic layouts and inline icons.
Interactive Playground
R Code
API Reference
block_alert()
Inline warning panels communicating status callouts to users.
| Argument | Type | Default | Description |
|---|---|---|---|
| title | character | required | Alert title text. |
| description | character | NULL | Supporting description subtext inside the alert. |
| icon | character | NULL | Leading Lucide icon name. |
| variant | 'default' | 'destructive' | 'success' | 'warning' | 'info' | 'default' | Stylesheet visual color preset category. |
| class | character | NULL | Custom container class classes. |