Skip to content

StatusTicker

Stable

One line that shows the real current step of an AI run, such as Reading 3 files, and keeps its width so nothing beside it moves.

Also known as status updates, live status

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

Steps from the app

Reading 3 filesReading 3 files

Press Next step to move the run on, the way an app would when a real step starts. After the last step it settles on a still final line.

When to use it

Tells people what the AI is doing at this moment, in words, without making the layout jump. It only ever shows what the app says is true.

Made of: Line box · Current step · Outgoing step · Live region (hidden)

Use it for

  • The current step of an agent run, such as Reading 3 files or Running tests.
  • A search or tool call that has a few named steps.
  • A final still line when the run ends, such as Done in 12s.

Not for

  • A wait with no named steps: use TypingIndicator.
  • A fixed summary line at the top of a screen: use StatusLine.
  • A short loading state inside a button: use Spinner.
  • Marking the surface the AI is changing: use WorkingEdge.

Do and avoid

Searching flights to LisbonSearching flights to Lisbon
Do. One line says the real step the AI is on right now.
Payment failed. Update your card to continue.Payment failed. Update your card to continue.
Avoid. An error that needs action hides in a quiet status line.

Do

  • Pass the step the app is really on, the moment it starts.
  • Keep steps short and plain: a verb and an object, such as Reading 3 files.
  • Pass steps or reserve when the ticker sits beside other content.
  • End with a still line that says the result, such as Done in 12s.

Avoid

  • Do not cycle through steps on a timer to look busy.
  • Do not put links or buttons in the line.
  • Do not use it for errors that need action.
  • Do not show more than one ticker for the same run.

On a phone

  • The line never grows wider than its parent: long steps are cut with an ellipsis instead of wrapping.
  • It is text only and has no touch targets of its own, so it fits in a narrow header or a chat row.
  • Pass steps or reserve so the width is set from the start and the row does not shift on a small screen.

Build your next AI screen with Tattva.

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

Get started