Task Rows

Expandable task rows that show an AI agent's live progress — status icons, amounts, and nested detail lines.

Cards

Separate elevated rows that auto-advance through running and completed states. Replay remounts the timeline.

Loading…

Installation

CLI
npx @sonojs/ui@latest add task-rows
Also needsnpm i lucide-react

Usage

task-rows.tsx
import { TaskRows } from "@/components/sonojs/task-rows"

export function Example() {
  return <TaskRows variant="cards" />
}

Props

PropTypeDefaultDescription
variant"cards" · "list""cards"Cards keeps each row separate; list groups them into one surface.
classNamestring—Optional class names on the root container.