Basic Alert

For styling an alert, use alert and alert-* clasess.

Alert with icon

Use Feather Icons to create alerts with icons.

Outlined Alert

Use alert-outlined class with our contextual classes to create an oulined alert

Dismissable Alert

Use dismissable class with our contextual classes to create an outline alert

Controlled Alert

If you want to manually hide the alert, you need to use createDismissableAlert function. This function is available globally. Then you can call the dismiss() method to hide the alert.

Additional Content

Example of alert with additional content.