# StatusLabel: a status as a glyph and a word

StatusLabel is how an app built on Meadowstack shows a status: the StatusGlyph in the state's colour, then the word. The glyph is a stack of three layers that fills from the bottom as work moves on, so a column of statuses reads at a glance.

Checked 1 December 2026. By Bohuslav Poláček. https://meadowstack.com/components/status-label/

*Left, the four states of the starter's requests with the glyph and tone the starter gives each; right, the glyph's other shapes.*

A live screen, rendered from the kit's components on the page: https://meadowstack.com/components/status-label/

## The glyph's states

- **Empty**: three outlined layers, nothing done yet.
- **Draft**: the bottom layer outlined, the two above it faint.
- **Progress**: the outlines fill from the bottom, one layer at a half for waiting, all three when done.
- **Check, cross and arrow**: the layers fuse into one block with the mark cut out: approved or done, rejected or cancelled, sent on or shipped.
- **Dot**: a live thing, or a plain marker.

## Rules

The tones are `neutral`, `info`, `success`, `warning` and `danger`. A list's normal state is quiet: rows that are fine show a neutral glyph or plain text, and colour goes to what needs doing, such as late, missing or expiring.

The word always sits beside the glyph, so colour is never the only signal, and a label or a category is not a status: those are neutral chips.

## Its entry in the manifest

*The component's rules as the kit's manifest states them, the same entry an AI coding tool reads.*

| Manifest field | StatusLabel |
| --- | --- |
| What it is | A record's status: the StatusGlyph in the state colour plus the word. |
| Use it for | Every status in lists, records and side panels. |
| Not for | For a label or category (Badge, LabelChip) |
| It replaces | Coloured status pills; A status dot in hand-picked colours |
| Screen types | Any |
| Import | `import { StatusLabel } from "@meadowstack-studio/kit";` |

Read from the kit's component manifest when the site was built (126 components, packages/kit/src/components.json); the same entry answers an AI coding tool through the kit's MCP server.

## Contrast, measured

*Each tone's glyph colour against the page, in both themes.*

| Tone | Token | Light page | Dark page |
| --- | --- | --- | --- |
| Neutral | fg-subtle | Lc 77.5, 5.51:1 | Lc −62.9, 9.31:1 |
| Info | info | Lc 73.7, 4.94:1 | Lc −46.1, 6.42:1 |
| Success | success | Lc 72.5, 4.75:1 | Lc −48.8, 6.85:1 |
| Warning | warning | Lc 60.7, 3.38:1 | Lc −62.0, 9.09:1 |
| Danger | danger | Lc 72.6, 4.94:1 | Lc −40.7, 5.54:1 |

Computed when the site was built from the kit's tokens against the page colour (surface). The word beside the glyph stays in the text colour.

## How the starter uses it

*The starter's request states in one place, so the list, the filters, the panel and the page always agree.*

From `templates/starter/src/modules/requests/domain/status.tsx` in the Meadowstack repository:

```tsx
export const statusMeta: Record<
  RequestStatus,
  { label: string; short: string; filter: string; tone: BadgeTone; icon: ReactNode }
> = {
  draft: { label: "Draft", short: "Draft", filter: "Drafts", tone: "neutral", icon: <StatusGlyph kind="dashed" /> },
  submitted: {
    label: "Waiting for approval",
    short: "Waiting",
    filter: "Waiting",
    tone: "warning",
    icon: <StatusGlyph kind="progress" tone="warning" />,
  },
  approved: {
    label: "Approved",
    short: "Approved",
    filter: "Approved",
    tone: "success",
    icon: <StatusGlyph kind="check" tone="success" />,
  },
  rejected: {
    label: "Rejected",
    short: "Rejected",
    filter: "Rejected",
    tone: "danger",
    icon: <StatusGlyph kind="x" tone="danger" />,
  },
};
```

## Questions

### Why not a coloured pill?

A row of coloured pills makes every status shout at once. The glyph keeps the colour to a 16px mark beside a plain word, so a list stays quiet and only what needs doing stands out.

### Is the colour enough to tell the states apart?

It does not have to be: the word names the state and the glyph changes its shape with it, so a status reads in greyscale too.

### What contrast do the glyph colours have?

The kit's contrast check holds the status colours at 3:1 against the page, the level WCAG 2.2 sets for graphics. The table on this page measures them in both themes.

## Sources

- [WCAG 2.2, 1.4.11 Non-text Contrast](https://www.w3.org/TR/WCAG22/#non-text-contrast), checked 1 December 2026

## Related

- [Notice: messages by importance, in one frame](https://meadowstack.com/components/notice/) (Components)
- [Business app UI check](https://meadowstack.com/tools/ui-check/) (Tools)
- [The business app UI standard, with the numbers behind each rule](https://meadowstack.com/blog/business-app-ui-standard/) (Blog)
- [A recipe with its cost and its allergens](https://meadowstack.com/screens/recipe-with-allergens/) (Screens)
- [BulkBar: what to do with the selection](https://meadowstack.com/components/bulk-bar/) (Components)
- [DataTable: the table of every list](https://meadowstack.com/components/data-table/) (Components)
