Skip to content
Xenoara Co

Alerts

Alerts give short, contextual feedback: confirmations, warnings, errors and announcements. Pick a colour that matches the meaning, add icons, links or actions, and make them dismissible with a close button and data-ui-dismiss="alert".

1Contextual colours

Eight colour variants to match the meaning of the message.

2Alerts with icons

A leading icon makes the type of message clear at a glance.

3Dismissible alerts

Add .alert-dismissible, .fade .show and a close button with data-ui-dismiss="alert".

4Heading and divider

Longer messages with an alert heading, paragraphs and a horizontal rule.

5Alert links

Use .alert-link so links pick up a matching, bolder colour.

6Alert with actions

Buttons inside the alert let people act on the message directly.

7Compact alerts

Less padding and small text for inline hints next to forms.

8Alert with a list

List the details of a problem inside a single alert.

9Accent border alerts

A light surface with a thick coloured left border, a calm style for docs and dashboards.

10Upload progress

An alert that carries a progress bar while a long task runs.

Uploading our-favourite-tips-for-busy-weeks.zip84%

11Message with avatar

A personal message alert with the sender's photo and a reply link.

12Cookie banner

A dark dismissible banner with two choices; both buttons close it through the data API.

13Form error summary

Collect validation errors at the top of a form, each linking to its field.

14Maintenance notice

A full-width, square-cornered banner for site-wide announcements.

15System status card

Several small alerts inside a card report the state of each service.

System statusUpdated 6 min ago

16Processing alert

A spinner shows that something is happening in the background.

Generating your report. This usually takes under a minute.

17Feature announcement

Badges and an icon turn an alert into a friendly product update.

18Soft subtle alerts

Subtle background and emphasis text colours give a softer look; pill corners for short notes.

19Trial ending

An upgrade prompt with a clear call to action and a way to dismiss it.

20Stacked notifications

Narrow alerts with a shadow, stacked like a notification centre.