Skip to content

Feedback

StatusDot

Coloured dot with a text label for a state such as Available, Running or Failed.

  • Experimental
  • No keyboard interaction
  • Screen reader not tested yet

Updated 2026-11-12

Playground

Change the props. The controls come from the documented props.
Available
tsx
<StatusDot label="Available" />

Usage

When to use

Use a status dot for the state of an item in a table or list, where many rows each show one state: “Available”, “Running”, “Failed”.

When not to use

  • Without a label: the dot is decoration, the label is the state.
  • For a state that needs attention: use InlineMessage or Banner.

How it works

An 8px dot in the tone colour, hidden from screen readers, followed by the label in small text. Tones are positive, caution, info, danger and neutral.

Content guidelines

Labels are one or two words, the same words everywhere the state appears.

Do and don’t

Do
  • Use it in tables and lists where many rows show a state.
Don’t
  • Don't use the dot without the label.

Anatomy

The parts of the component and what each one does, as in the playground above.
  1. dot8px circle in the tone colour, decorative.
  2. labelSmall text in text.primary.

Examples

Type-checked, and the same code goes into the AI manifest. Import: import { StatusDot } from "@/ds";

Tones

AvailableBooked until MarchIn reviewFailedDraft

Props

Checked against the component's TypeScript type on every build.
StatusDot props
NameTypeDefaultDescription
tone"neutral" | "positive" | "caution" | "info" | "danger""neutral"Colour of the dot.
label (required)string–Visible state; carries the meaning.

Tokens used

Derived from the utility classes in the component's source. Copy a class with one click.
Tokens used by StatusDot
TokenTierValueUtility
spacing.2semantic8px
status.caution.fgsemantic#7A5D14
status.danger.fgsemantic#B4342A
status.info.fgsemantic#12566E
status.positive.fgsemantic#0F6A4E
text.primarysemantic#0A0A0B
text.secondarysemantic#555555
type.small.sizesemantic14px

Accessibility

What is checked automatically on every build, and what a person has tested. Nothing is marked as tested unless it was.
Testing status by check
CheckHowStatus
axe-core rulesAutomated on every npm run check, at desktop and mobile widthRuns on every build
KeyboardAutomated Playwright test (scripts/keyboard.mjs)Not applicable
Screen readerManualNot tested yet

Semantics and focus

  • The dot is aria-hidden; the label is the state.
  • Dot colours meet 3:1 against page and card (non-text contrast).