JDS.

Search docs

Find a page or component

Agent Steps

Plan and progress for a multi-step run: what's done, what's running, what's next.

  1. Read the brief
  2. Search competitor pricing
  3. Draft the comparison table
  4. Write the summary

Installation

pnpm dlx shadcn@latest add @jds/agent-steps

Usage

import { AgentSteps } from "@/components/ai/agent-steps"

<AgentSteps
  steps={[
    { id: "1", label: "Look up order", status: "complete" },
    { id: "2", label: "Check eligibility", status: "active" },
    { id: "3", label: "Issue refund", status: "pending" },
  ]}
/>

API Reference

AgentSteps

PropTypeDefault
steps

status: "pending" | "active" | "complete" | "error"

{ id, label, detail?, status }[]–