Search documentation

Search the documentation and open a page.

Displays a callout for user attention.

Loading...

Installation

pnpm dlx shadcn@latest add @wirekyt/alert

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

InputTypeDefaultDescription
variant"default" | "destructive""default"Controls the alert's visual treatment.