Alert
Contextual feedback messages
Feedback messages with semantic styling.
Usage
This is an info alert
Types
Info
Default type for general information.
New features are available
Success
For positive outcomes.
Changes saved successfully
Warning
For cautionary messages.
This action cannot be undone
Error
For errors and failures.
Failed to load data
With title
Add a title for more context.
deprecation notice
This API will be removed in v2.0
Props
| prop | type | default | description |
|---|---|---|---|
| children | ReactNode | required | Alert content |
| type | "info" | "success" | "warning" | "error" | "info" | Alert style |
| title | string | - | Optional title |