Alert
Alerts are used to notify the user of an important event or action. It can prompt users to take a specific action and can also be dismissed.
Alerts without action
Alerts can be created using the alert class. There are 6 variants available for alerts. The variants include: success, danger, warning, info, secondary, themed, outlined.You can specify minimum and maximum width of the alerts as per your use-case.
Alerts with close button
Alerts can be dismissed by clicking on the close button. Just add class component-close to activate this functionality. Note that dismiss button or icon should have class icon-close. Refer to the code for more clarity.
Outlined Alerts
You can use outlined variants by adding alert-outlined class to existing classes.