Alerts
Alerts
Alerts are available for any length of text.
Link color
Use the .alert-link utility class to provide matching colored links within an alert.
Icons
Enhance alerts with icons for better visibility and context.
Additional content
Alerts can contain HTML elements like headings, paragraphs, and dividers.
Well done!
Aww yeah, you successfully read this alert message. This text is going to run longer so you can see how spacing within an alert works.
Whenever you need, be sure to use margin utilities to keep things tidy.
Something Wrong!
Aww yeah, you successfully read this alert message. This text is going to run longer so you can see how spacing within an alert works.
Whenever you need, be sure to use margin utilities to keep things tidy.
Dismissing
To dismiss an alert, use .alert-dismissible with a close button.
Background color
To dismiss an alert, use .alert-dismissible with a close button.
Border
To dismiss an alert, use .alert-dismissible with a close button.
Border dashed
Use .border-*, .text-*-emphasis, and .border-dashed for a dashed border in an alert.