Alerts

Default Alerts

Alert is a component to provide contextual feedback messages for user. It supports several alert types and can be dismissed.

Primary Alert
Good Morning! Start your day with some alerts.
Secondary Alert
Hello! This is secondary alert - check it out.
Success Alert
Well done! You successfully read this important alert message.
Danger Alert
Oh snap! Change a few things up and submit again.
Info Alert
Heads up! This alert needs your attention, but it's not super important.
Warning Alert
Warning! Better check yourself, you're not looking too good.
Light Alert
Hello! This is light alert - check it out.
Dark Alert
Hello! This is dark alert - check it out.

Dismissible Alerts

Primary Alert
Good Morning! Start your day with some alerts.
Secondary Alert
Hello! This is secondary alert - check it out.
Success Alert
Well done! You successfully read this important alert message.
Danger Alert
Oh snap! Change a few things up and submit again.
Info Alert
Heads up! This alert needs your attention, but it's not super important.
Warning Alert
Warning! Better check yourself, you're not looking too good.
Light Alert
Hello! This is light alert - check it out.
Dark Alert
Hello! This is dark alert - check it out.

Alerts with Links

Primary Alert
Good Morning! Start your day with some alerts.
Secondary Alert
Hello! This is secondary alert - check it out.
Success Alert
Well done! You successfully read this important alert message.
Danger Alert
Oh snap! Change a few things up and submit again.
Info Alert
Heads up! This alert needs your attention, but it's not super important.
Warning Alert
Warning! Better check yourself, you're not looking too good
Light Alert
Hello! This is light alert - check it out.
Dark Alert
Hello! This is dark alert - check it out.

Alerts with icons

Primary Alert
Good Morning! Start your day with some alerts.
Secondary Alert
Hello! This is secondary alert - check it out.
Success Alert
Well done! You successfully read this important alert message.
Danger Alert
Oh snap! Change a few things up and submit again.
Info Alert
Heads up! This alert needs your attention, but it's not super important.
Warning Alert
Warning! Better check yourself, you're not looking too good.
Light Alert
Hello! This is light alert - check it out.
Dark Alert
Hello! This is dark alert - check it out.

Alerts with Additional Content

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

Default Primary Alert

Good Morning!

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.

Light Primary Alert

Good Morning!

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.