Alert
Persistent messages whose roles and severity cues match their urgency.
Information, success, warning and error with a glyph and a semantic role.
Each preview is its own Live page in a frame, because this site is a Vue 3.5 app built on the Pulsar starter kit. An open list or popover stays inside its frame; in your application it opens over the page.
Installation
suprnova live:add alertUsage
{% import "suprnova-ui/alert/alert.html" as alert %}
{% call alert::alert("notice", title="Maintenance") %}<p>The workspace remains available.</p>{% endcall %}Examples
Recovery
A server retry replaces a persistent connection error with confirmation.
Keyboard and accessibility
suprnova.alert - a persistent contextual message (FDB-001). The role follows the urgency of the variant: error is announced assertively, the other variants politely. Every variant carries a glyph and a hidden label besides its color tokens, so severity never rests on color alone.
API reference
alert
| Parameter | Default | Description |
|---|---|---|
id | Required | The alert's unique element id. |
variant | "info" | info, success, warning or error; error is assertive, the others polite. |
title | "" | An optional heading above the caller's message. |
