Skip to content

Show a status

This content is for v0.1. Switch to the latest version for up-to-date documentation.

  1. Use an .mdx page. A .md page cannot import a component.

  2. Import the badge below the front matter:

    import StatusBadge from 'starlight-aurora/components/StatusBadge.astro';
  3. Put the badge in the text:

    The deploy is <StatusBadge status="running" />.

    The result: the deploy is running.

  4. 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.