This is a title
Installation
1
Add Component
Copy the code snippet below into you components folder.
2
Integrate Recipe
Integrate this recipe in to your Panda config.
Usage
Examples
Description
Render the Alert.Description component to provide additional context to the alert.
This is a title
This is a description
Status
Change the status of the alerts by passing the status prop. This affects the color scheme and icon used.
This is a title
This is a description
This is a title
This is a description
This is a title
This is a description
This is a title
This is a description
This is a title
This is a description
Variants
Use the variant prop to change the visual style of the alert.
This is a title
This is a description
This is a title
This is a description
This is a title
This is a description
This is a title
This is a description
Sizes
Use the size prop to change the size of the alert.
This is a title
This is a description
This is a title
This is a description
Closable
Here's an example of how to compose the Alert with a close button.
This is a title
This is a description
Closed Component
Here's an example of a closed alert that can be opened with a button.
Props
| Prop | Default | Type | 
|---|---|---|
| size | 'md' | 'md' | 'lg' | 
| variant | 'subtle' | 'solid' | 'surface' | 'subtle' | 'outline' | 
| status | 'info' | 'info' | 'warning' | 'success' | 'error' | 'neutral' |