Skip to content

StepTimeline

Stable

A list of steps in a task, showing which are done, in progress, waiting or failed.

Also known as stepper, steps, progress steps, activity timeline

Install with npm install @tattva/ui (setup), or copy the code from the kit in Downloads.

In progress

  1. Find missing documents

    2 people

    done
  2. Send reminders

    Waiting for approval

    active
  3. 3

    Confirm receipt

    todo

One step done, one in progress, one waiting.

When to use it

Shows the stages of a task in order, so people see at a glance what is done, what is happening now and what failed.

Made of: Status icon · Line between steps · Title · Detail · Status text for screen readers

Use it for

  • A task whose steps must happen in order.
  • Showing where a running workflow stands.
  • Showing which step failed, with later steps still waiting.

Not for

  • Open items with no set order: use Checklist.
  • Events with dates, such as a history of changes: use Timeline.
  • The details of one tool the assistant used: use ToolCallCard.

Do and avoid

  1. Find flights

    Found 4 options to Lisbon

    done
  2. Book the hotel

    Payment did not go through

    failed
  3. 3

    Send the plan

    todo
Do. Steps in order show what is done, what failed and what is next.
  1. 1

    Buy sunscreen

    todo
  2. 2

    Pack a charger

    todo
  3. 3

    Call grandma

    todo
  4. 4

    Water the plants

    todo
Avoid. Loose to-dos shown as steps suggest an order that does not exist.

Do

  • Mark only one step as in progress at a time.
  • Use the detail line to say who or what is being waited on.
  • Keep titles short, starting with an action word.
  • Say why a step failed in its detail line, so people do not have to look elsewhere.

Avoid

  • Do not use it for to-dos with no order. Use Checklist.
  • Do not use it for dozens of steps. It cannot fold or scroll.
  • Do not use amber here. Amber is for rows that need a person, in Checklist and ApprovalPrompt.

On a phone

  • Steps stack in one column, and titles and details wrap inside the space beside the marker.
  • Nothing in it is tappable, so there are no touch targets to size. Detail text is 12px.

Build your next AI screen with Tattva.

Free and open, with the code. Start in one line.

Get started