GodUI

Agent Timeline

A vertical timeline of agent steps with live status, a spring-filled connector, and collapsible reasoning or tool-output bodies that morph open.

Agent run
  1. Indexed 128 files across 6 packages.

Installation

pnpm dlx shadcn@latest add "https://godui.design/r/agent-timeline.json"

Each AgentStep reflects a status (pending, running, success, error). Running steps pulse and the connector below fills as the step completes. Steps with children become collapsible — click to morph the body open.

Usage

tsx
 
import { AgentTimeline, AgentStep } from "@/components/godui/agent-timeline";
tsx
 
<AgentTimeline>
  <AgentStep status="success" title="Step one" meta="0.4s">
    Optional collapsible body.
  </AgentStep>
  <AgentStep status="running" title="Step two" last />
</AgentTimeline>

Props

AgentStep

PropTypeDefaultDescription
status"pending" | "running" | "success" | "error""pending"Drives the node icon and connector fill.
titleReactNodeStep label.
metaReactNodeSecondary label (duration, tool name).
childrenReactNodeCollapsible body. Omit for a leaf step.
defaultOpenbooleanfalseStart expanded.
lastbooleanfalseHides the connector below the step.

On this page

Built with GodUI

Beautifully crafted motion components for modern interfaces.

Star on GitHub