Alert
Displays a callout for user attention.
The Alert component displays a callout for user attention with support for icons, titles, and descriptions. It supports multiple variants including success, destructive, and warning. Built from scratch using React and native HTML div elements. No UI library dependencies.
Quick Install
Install via shadcn/ui CLI
Examples
Success! Your changes have been saved
This is an alert with icon, title and description.
Default Alert
This is a default alert without any variant.
Error
Something went wrong. Please try again.
Warning
Please review your input before proceeding.