On this page

Trace

When to use a trace, statuses, content and the tokens it uses.

Draft. Ported from the shadcn-vue Trace (registry style reka-nova, read 12 November 2026). Not yet approved; the API may still change.

A trace lists the steps of a job or an automated run, one line each: what happened, its status, and how long it took. A step can open to show details, or link to the record it touched.

When to use

  • To show what a sync or import run did, step by step.
  • To show progress while a run is going: done, running and waiting steps.
  • To explain a failure next to the step that failed.

When not to use

  • For a list of records. Use a table.
  • For a history of many runs. Use a table with one row per run; open a run to see its trace.
  • For steps people must complete. Use a stepper.

Statuses

Status Set Looks Add
Done no status color.text.subtle A check icon
Running status="running" The title shimmers A spinner icon and words such as “64 of 120”
Pending status="pending" color.text.subtlest An empty-circle icon and “Waiting”
Error status="error" color.text.danger An error icon and a title that says what failed

Colour is never the only cue: always pair a status with its icon and words.

Content

  • Start with what happened, in the past tense for done steps: “Fetched 120 new orders”.
  • Say what failed and for how many: “Failed to create 2 sales orders”. Put the reasons in the details.
  • Durations and counts go in TraceDescription.
  • Open a failed step by default (default-open) so the reason is on screen.

Tokens

Part Tokens
Line font.body.default, color.text.subtle; color.text when its link or button is hovered
Description color.text.subtlest, tabular figures
Icon size.icon.default
Gaps space.100 between lines and inside a line
Details font.body.default, color.text.subtle; a color.border rule at border.width.default, space.200 inside it
Focus border.width.focused, color.border.focus, state.focus.offset, as Button; radius.item