Alert
Imports
- Alert: The main component to display a list of accordion items.
- AlertTitle: The title component to display the title of the accordion item.
- AlertDescription: The content component to show the hidden content of the accordion.
Usage
Alert default
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, voluptatum?
Examples
Primary
Primary
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, voluptatum?
Success
Success
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, voluptatum?
Warn
Warning
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, voluptatum?
Error
Error
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, voluptatum?
Rounded
Primary
Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, voluptatum?
API
Alert Props
Props | Type | Description |
---|---|---|
variant | 'default' | 'primary' | 'success' | 'warn' | 'error' | The variant of the alert. |
rounded | 'none' | 'sm' | 'md' | 'lg' | The rounded of the alert. |