Installation
CLI
Install the component using the StarUI CLI:
star add alertExamples
Basic Alert
Default alert with icon and message
Destructive
Error or destructive action alert
Message Types
Success, warning, and info styled alerts
Rich Content
Alerts with lists and formatted text
Without Icon
Simple alert without an icon
API Reference
| Component | Description |
|---|---|
Alert |
Main container with optional variant styling |
AlertTitle |
Bold heading text for the alert |
AlertDescription |
Supporting description text |