Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
Composition
[app-alert] (Alert) ├── [app-alert-title] (AlertTitle) ├── [app-alert-description] (AlertDescription) └── [app-alert-action] (AlertAction, optional)
Examples
Default
Loading...
Destructive
Loading...
Title Only
Loading...
With Action
Loading...
With List
Loading...
API Reference
[app-alert]
Inputs
| Input | Type | Default | Description |
|---|---|---|---|
variant | "default" | "destructive" | "default" | Controls the alert's visual treatment. |
Angular
React
Solid
Svelte
Vue