Skip to content
Design System
GitHub

The steps of a run with status and duration: missions, agent tool calls, rollouts, CI runs, audit trails. Steps open to show input, output or sub-steps; an optional waterfall bar.

API reference

Generated from the types. Every part also takes className.

Trace

Also takes every prop of <ol>.

size
"sm" | "default"sm: tighter rows for a long run. Rows you can open stay 44 px.
density
"default" | "dense"
total
numberLength of the whole run in ms. With it, steps that have start and duration draw a waterfall bar.
labels
Partial<TraceLabels>The words it says, to translate them. Nested traces take their parent's.

TraceStatusIcon

statusrequired
"pending" | "running" | "done" | "warning" | "error" | "skipped"

TraceItem

Also takes every prop of <li> (except title).

statusrequired
"pending" | "running" | "done" | "warning" | "error" | "skipped"
titlerequired
ReactNode
description
ReactNodeOne line under the title: the reason for a failure, a short result.
meta
ReactNodeA muted detail beside the title: the tool, the robot, the model.
icon
ReactNodeReplaces the status mark with an icon for the kind of step; the status is still announced.
duration
numberIn ms.
start
numberOffset from the start of the run in ms, for the waterfall bar.
time
ReactNodeA clock time, shown as written.
defaultOpen
boolean
open
boolean
onOpenChange
(open: boolean) => void

TraceDetail

labelrequired
ReactNode
childrenrequired
ReactNode

TraceCode

childrenrequired
ReactNode
tone
"danger"

TraceHeader

titlerequired
ReactNode
statusrequired
"pending" | "running" | "done" | "warning" | "error" | "skipped"
duration
number
counts
Partial<Record<TraceStatus, number>>
labels
Partial<TraceLabels>The words it says, to translate them; inside a Trace, its labels are the starting point.
children
ReactNode