Alert
Displays a callout for user attention.
Preview
The Alert
component is used to display important messages to users. It comes with several sub components to structure the content effectively.
Alert 09
Some information is missing!
LinkInstallation
Usage
Examples
01
Alert 01
It‘s live and ready to use! Start exploring the latest addition to your toolkit.
02
Alert 02
Some information is missing!
03
Alert 03
An error occurred!
04
Alert 04
An error occurred!
05
Alert 05
Completed successfully!
06
Alert 06
Completed successfully!
07
Alert 07
Just a quick note!
08
Alert 08
Just a quick note!
09
Alert 09
Some information is missing!
Link10
Alert 10
Some information is missing!
LinkOptions
component | Description | Example Output |
---|---|---|
Card | A container with rounded corners, border, background, and shadow. | <Card>Content</Card> |
CardTitle | A styled title with font-semibold and tracking-tight. | <CardTitle>Title</CardTitle> |
CardHeader | A flex container with padding, typically used for the card's header section. | <CardHeader>Header</CardHeader> |
CardDescription | A text description with smaller font and muted foreground color. | <CardDescription>Description</CardDescription> |
CardContent | A container with padding, used for the main content of the card. | <CardContent>Main content here</CardContent> |
CardFooter | A flex container with padding, typically used for the card's footer section. | <CardFooter>Footer content</CardFooter> |