Alert
- from @wensity
A React alert for inline info, success, warning, and error messages, with titles, an action button, a dismiss control, and screen reader roles built in.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @wensity/alertRegistry dependencies0
The CLI adds no other registry items with this one.