Alert
Display important messages with optional icons and descriptions.
Import
Usage
Heads up!
You can add components to your app using the cli.
Alert Props
| Attribute | Type | Default | Description |
|---|---|---|---|
| variant | 'default' | 'destructive' | 'default' | The visual style of the alert. |
| className | string | - | Additional CSS classes for styling. |
AlertTitle Props
| Attribute | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | - | The title content of the alert. |
| className | string | - | Additional CSS classes for styling. |
AlertDescription Props
| Attribute | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | - | The description content of the alert. |
| className | string | - | Additional CSS classes for styling. |

