Components
This content is for v0.1. Switch to the latest version for up-to-date documentation.
StatusBadge
Section titled “StatusBadge”import StatusBadge from 'starlight-aurora/components/StatusBadge.astro';
<StatusBadge status="running" /><StatusBadge status="healthy" hue="ok" />Aurora’s status badge: the status in lowercase mono, on the fill of its hue.
| Prop | Type | Required | What it does |
|---|---|---|---|
status |
string | yes | The text of the badge. Aurora’s statuses choose their hue. |
hue |
ice, teal, violet, gold, ok, bad, skip, muted |
no | Sets the hue. An unknown hue stops the build. |
Statuses
Section titled “Statuses”Statuses are not case-sensitive. A status that is not in this table is muted.
| Status | Hue | Badge |
|---|---|---|
| running | ice | running |
| completed | ok | completed |
| failed | bad | failed |
| scheduled | violet | scheduled |
| pending | muted | pending |
| paused | muted | paused |
| cancelled, canceled | gold | cancelled |
| skipped | skip | skipped |
| any other | muted | unknown |
| Hue | Badge |
|---|---|
| ice | ice |
| teal | teal |
| violet | violet |
| gold | gold |
| ok | ok |
| bad | bad |
| skip | skip |
| muted | muted |