Alerts
Provide contextual feedback messages for typical user actions
Basic examples
A simple primary alert—check it out!
A simple secondary alert—check it out!
Well done!
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.
A simple danger alert—check it out!
A simple warning alert—check it out!
A simple info alert—check it out!
A simple light alert—check it out!
A simple dark alert—check it out!
Dismissing
It’s possible to dismiss any alert, also keep in closed. Just add an id
to the alert and a close button.