Search

Search components and flows across the catalog

ThatDesignUIOriginalInteractive preview

Agent run timeline

An AI agent works through a task as a timeline: running, done and skipped steps, a live timer, an approval pause, expandable tool output, Cancel and Replay.

Category
AI
Platform
Responsive

Interactive componentClick through it, resize it, or switch states. It’s real UI, not a screenshot.Auto-play state

Use this component

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/agent-run-timeline.json

2. Use it

Every prop is optional
app/page.tsx
import AgentRunTimeline from "@/components/agent-run-timeline";

export default function Page() {
  return <AgentRunTimeline />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. A lavender-grey panel with a centred warm-white card (rounded 26px, soft violet shadow, 36rem max). The header has a small 'AGENT RUN' label, the task as a heading, a coloured status line, a Cancel button (Replay or Retry when stopped) and a thin violet progress bar.
  2. Below it a vertical timeline. Each step has a 28px marker on a rail: an empty ring when pending, a spinning violet ring while running with a live seconds counter, a violet disc with a check that draws itself when done, a grey dash when skipped. The rail segment under a finished step fills violet from top to bottom. Each step shows its tool name in a small monospace chip.
  3. A step flagged as needing approval stops the run: its marker turns amber and pulses, and an amber panel shows what it is about to do with Approve and Skip buttons. Approve continues the run; Skip marks the step skipped and moves on.
  4. Finished steps are buttons: opening one slides down a pale panel with what the tool did. The status line ends on 'Completed in N s'.

How it behaves

  • On load the steps run one after another with a live timer; the progress bar and status line ('Running · step 2 of 5') update.
  • At the approval step the run waits indefinitely; Approve resumes it, Skip marks the step 'Skipped' and continues.
  • Cancel stops the run and greys out the remaining steps; Retry starts again from step one.
  • Clicking a finished step toggles its detail with aria-expanded; the status line is a polite live region.
  • With reduced motion enabled the check and the pulse do not animate, and the spinner turns slowly.

More from ThatDesignUI

Image gallery lightbox

Image gallery lightbox

ThatDesignUIOriginalMedia component

Notification center

Notification center

ThatDesignUIOriginalNotifications component

Interactive chart card

Interactive chart card

ThatDesignUIOriginalDashboard component

Multi-select combobox

Multi-select combobox

ThatDesignUIOriginalForms component