Kanshō

Docs / Tool calls /

StepStatusRow

A single row in a step sequence: step name, current status, and optional metadata inline.

Preview

Clone repository· 3.2s

git clone https://github.com/acme/api.git

Install dependencies· 15s

bun install · 312 packages

Run test suite

bun test · 148 tests

4
Build for production
5
Deploy to Vercel

Variants

All statuses

Completed step· 1.2s
Currently running
3
Awaiting start
Failed with error· 880ms

Exit code 1 — see logs

Skipped (cache hit)
Paused — awaiting approval

With meta

Fetch external data· 218ms200 OK

GET https://api.stripe.com/v1/balance

Parse and validate response· 4ms42 records
Write to database

Upserting balance records…

Props

PropTypeDescription
title*stringPrimary label for the step.
status*"pending" | "running" | "success" | "error" | "skipped" | "paused"Controls the icon circle's colour, fill, and icon glyph.
indexnumberStep number shown inside the icon circle when status is "pending".
descriptionstringSecondary text line below the title, truncated to one line.
durationMsnumberWall-clock duration displayed next to the title as a short string.
metaReact.ReactNodeRight-aligned slot for badges or supplementary information.
connector"none" | "top" | "bottom" | "both"Draws a vertical line connecting adjacent steps. Use "both" for middle items, "bottom" for the first, "top" for the last.
activebooleanHighlights the content area with a border and surface background — use for the currently running step.
classNamestringExtra classes for the row container.

* required.

Usage

import { StepStatusRow } from "@/components/agent/step-status-row";

<div className="flex flex-col">
  <StepStatusRow
    index={1}
    title="Clone repository"
    status="success"
    durationMs={3200}
    connector="bottom"
  />
  <StepStatusRow
    index={2}
    title="Run tests"
    status="running"
    connector="both"
    active
  />
  <StepStatusRow
    index={3}
    title="Deploy"
    status="pending"
    connector="top"
  />
</div>