Basic Alert
Simple alert with message
Info Alert
This is an informational message.
Success!
Your action was completed successfully.
Warning
Please review your input before proceeding.
Error
Something went wrong. Please try again.
Info, success, warning and error messages, with an optional close button.
Default usage you can copy and adapt.
Simple alert with message
This is an informational message.
Your action was completed successfully.
Please review your input before proceeding.
Something went wrong. Please try again.
The props you are most likely to need, with types and defaults.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| variant | string | No | info | Alert variant |
| title | string | No | — | Alert title |
| message | string | No | — | Alert message |
| closable | boolean | No | false | Show close button |