Lifecycle bar

To build in the app

Canon lifecycle bar from the catalog's rt-lifecycle-bar: observational state progression for a system-managed entity (order, invoice, batch), not a wizard stepper. The system moves the entity; the user reads where it sits. **Fuller form, left-aligned (2026-10-07):** each step is a dot with its label under it, laid out the way the foundation's R6955 order page does — starting on the title's left edge, the first label flush to it. The compact one-row form (2026-10-05) read as a strip of tags. No dates on the bar, as R6955 has none: a step's date belongs in its card. Each step is a column as wide as its label; its dot row is [half trail][dot][half trail] and a 40px connector joins the columns, so the line runs dot to dot whatever the label widths (80px across a group boundary). **A step can open a card** (`card`): a click Popover with a heading, a quiet line, label/value rows and a footer band for the step's one action — R6955's "Pending Approval" card. A step with a card shows the dashed-underline reveal on its label. Completed steps carry the group colour and a check (20px), the current step a mustard ring with a pulsing dot (24px; or an error ring with a warning icon), future steps a dashed outline. The current step's detail is the one second line, under its label — P7 wants a failed sync on the bar, not behind a click. Respellings from the catalog: labels are ui-xs; group -text colours are the -deep tokens; the 700 weight is font-semibold. The workshop wizard stepper is a different, user-driven unit (conflict 4).

App: Ui::LifecycleBarComponent

Order at Fulfilled

#order-fulfilled

The catalog example. Production steps are complete up to Fulfilled (current); the invoicing group is still ahead, separated by a double-length connector.

  1. Pending
  2. Planned
  3. Packed
  4. Fulfilled
  5. Invoiced
  6. Unpaid
  7. Synced

Steps with cards

#cards

Pending and Fulfilled carry a card: hovering one (or focusing it, or tapping it on touch) opens its Popover, and the label takes the dashed-underline reveal. Fulfilled's footer holds the step's one action. Steps without a card are plain text.

  1. Planned
  2. Packed
  3. Invoiced
  4. Unpaid
  5. Synced

Current is the first step

#first-step

Nothing completed yet; every trail is dashed.

  1. Pending
  2. Planned
  3. Packed
  4. Fulfilled
  5. Invoiced
  6. Unpaid
  7. Synced

Current is the last step

#all-complete

Everything before Synced is complete; the terminal step still shows the current ring.

  1. Pending
  2. Planned
  3. Packed
  4. Fulfilled
  5. Invoiced
  6. Unpaid
  7. Synced

Error on the current step

#error

status: "error" swaps the mustard ring for the error ring and icon; detail sits under the label, so a failed sync reads off the bar.

  1. Pending
  2. Planned
  3. Packed
  4. Fulfilled
  5. Invoiced
  6. Unpaid
  7. SyncedSync failed

Single group

#single-group

An invoice with only invoicing states: every connector is the same length.

  1. Draft
  2. Sent
  3. Paid
  4. Synced

Narrow container

#narrow

The row keeps its step widths and scrolls horizontally when the container is narrower (phone widths).

  1. Pending
  2. Planned
  3. Packed
  4. Fulfilled
  5. Invoiced
  6. Unpaid
  7. Synced

Props

NameTypeDefaultNotes
entitystring—Required. Rendered as data-entity (order, invoice, batch)
currentstring—Required. The state of the current step
stepsLifecycleStep[]—Required. In lifecycle order; consecutive steps with the same group form one segment
steps[].groupproduction | invoicing—Area spoke that colours the step
steps[].statestring—Machine state; title-cased for the label
steps[].datestring—Read out in the step's aria-label, not drawn (2026-10-07). Put the date in the step's card
steps[].detailstring—Under the current step's label, e.g. a failure reason
steps[].cardLifecycleCard—{ title, subtitle?, rows?: { label, value }[], footer? }. Makes the step a hover trigger for a Popover card (keyboard focus opens it too; on touch a tap toggles it). Steps without one are plain text
steps[].status"error"—Marks the current step as failed; ignored elsewhere
classNamestring—On the scroll wrapper. The bar is left-aligned and shrink-to-fit; it carries no width of its own