Browse the docs
Feedback / StatusTimeline

StatusTimeline

Where an incident is right now. Done steps get a cobalt tick, the current step boils, the rest are pencilled in.

Server ComponentWCAG AASince v0.1
  1. Reported, done9:02 AM
  2. Dispatched, done9:04 AM
  3. En route, current step6 min away
  4. Resolved, not startedWaiting

Change every prop live in the playground.

Props

PropTypeDefaultWhat it does
current requirednumber—Index of the current step. Steps before it are done; after it, pending. Use `steps.length` when everything is done.
steps requiredreadonly (string | TimelineStep)[]—Step labels, in order.
classNamestringnone—
idstringnone—
labelstring"Progress"Accessible name of the list.
orientation"horizontal" | "vertical" | "auto"none`auto` (default) is horizontal and turns vertical in narrow containers.
statusText{ done: string; current: string; pending: string; }noneStatus words read by screen readers.
timesreadonly (string | undefined)[]noneTimes under each step, matched by index (overrides `step.time`).

Use it well

DoKeep it to 3 to 6 steps people would say out loud.
Don'tUse it for a form wizard. It shows where something is, not where you are.

Accessibility

  • An <ol> with aria-current="step" on the current step.
  • Each step's status is written in text ("done", "current step", "not started").
  • A Server Component: no client JavaScript.
Five stamps!

All aboard.

You took the whole tour. Here's Holo Pip, a foil sticker for riders who finish. It's in your playground tray now, for good.