Alerts

Alerts are used to attract user's attention for important information without interrupting the user's flow.

Example of Alert Bar

Alerts are available in 5 types- success alert, error alert, warning alert, primary alert, secondary alert. To use this alert just use class name alert-box and also add class according to alert type- alert-primary, alert-secondary, alert-danger, alert-success, alert-warning. (e.g.class="alert-box alert-primary").
You can copy html part from below code snippet.

A primary alert example!!!
A secondary alert example!!!
A danger alert example!!!
A success alert example!!!
A warning alert example!!!

Example of Alert with close button

Alert can have cross icon to close the alert. Check out html code below.

A danger alert example!!!