Skip to content

Alert

An alert component. Used to display important messages and notifications to users.

Alert Component Test

This is a basic alert component test.

The alert component supports multiple variants to convey different types of messages:

  • default (Default)
  • primary
  • success
  • danger
  • info
  • warning
  • mono

They can be used via the variant prop on the alert component.

Default Alert

This is a default alert message.


Primary Alert

This is a primary alert message.


Success Alert

This is a success alert message.


Danger Alert

This is a danger alert message.


Info Alert

This is an info alert message.


Warning Alert

This is a warning alert message.


Monochrome Alert

This is a monochrome alert message.

You can customize the icon displayed in the alert using the icon prop:

Danger Alert

This is a danger alert message with a custom icon.