Alerts

Basic Alerts

Alerts are available for any length of text, as well as an optional dismiss button. For proper styling, use one of the eight required contextual classes (e.g., .alert-success).

Link Color

Use the .alert-link utility class to quickly provide matching colored links within any alert.

Alerts with Icons

You can add icons to your alerts for better visual context.

Dismissible

Add the .alert-dismissible class to a parent alert to allow cancellation of the alert.

Additional Content

Alerts can also contain additional HTML elements like headings, paragraphs and dividers.