Alert

A notice with a lit left edge and a matching icon. Four tones.

pulls inclass-variance-authority@afterglow/theme

Installation

npx shadcn@latest add @afterglow/alert

Composition

Component structure.

Alert
├── AlertTitle
└── AlertDescription

API Reference

Alert

PropTypeDefault
variant"default" | "signal" | "warn" | "destructive""default"