Show a status
This content is for v0.1. Switch to the latest version for up-to-date documentation.
Procedure
Section titled “Procedure”-
Use an
.mdxpage. A.mdpage cannot import a component. -
Import the badge below the front matter:
import StatusBadge from 'starlight-aurora/components/StatusBadge.astro'; -
Put the badge in the text:
The deploy is <StatusBadge status="running" />.The result: the deploy is running.
-
To give a status that Aurora does not know a hue, add
hue:<StatusBadge status="healthy" hue="ok" />The result: healthy
The statuses and the hues are in the component reference.