Angular Alert

Angular Alert is prepared for any length of text, as well as an optional close button. For a styling, use one of the required contextual color props (e.g., primary). For inline dismissal, use the dismissing prop .

A simple primary alert—check it out! A simple secondary alert—check it out! A simple success alert—check it out! 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!
Angular Alert solid variant A solid primary alert—check it out! A solid secondary alert—check it out! A solid success alert—check it out! A solid danger alert—check it out! A solid warning alert—check it out! A solid info alert—check it out! A solid light alert—check it out! A solid dark alert—check it out! Angular Alert Link color

Use the cAlertLink directive to immediately give matching colored links inside any alert.

A simple primary alert with an example link. Give it a click if you like. A simple secondary alert with an example link. Give it a click if you like. A simple success alert with an example link. Give it a click if you like. A simple danger alert with an example link. Give it a click if you like. A simple warning alert with an example link. Give it a click if you like. A simple info alert with an example link. Give it a click if you like. A simple light alert with an example link. Give it a click if you like. A simple dark alert with an example link. Give it a click if you like.
Angular Alert Additional content

Alert can also incorporate supplementary components & elements like heading, paragraph, and divider.

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.

Angular Alert Icons
An example alert with an icon
An example alert with an icon

An example primary alert with an icon
An example success alert with an icon
An example warning alert with an icon
An example danger alert with an icon
Angular Alert Dismissing

Alerts can also be easily dismissed. Just add the dismissible prop.

@if (visible[0]) { Go right ahead and click that dismiss over there on the right. } @if (alertWithButtonCloseTemplate.dismissible) { } Go right ahead and click that dismiss over there on the right.