Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
Alerts are available in 5 Types : primary,success,danger,dark,warning. To use the alerts add .alert class name and add alert type according to color.
Alerts are available with icons and can have text link .
Alert can have cross icons to close the alert. Here we are using button as icons, Check out html and vanilla JS code below.
Alerts can also contain additional HTML elements like headings, paragraphs and dividers.
Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.