Components (172)
Critical Path
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Critical Path…
Usage
import { CriticalPath } from "ui-kit/components/critical-path";Props
| Prop | Type | Default | Description |
|---|---|---|---|
lanes* | CriticalLane[] | — | — |
spans* | CriticalSpan[] | — | — |
title | string | "Agent run" | — |
step | number | 500 | The keyboard step for ⇧← / ⇧→, in ms (default 500) |
hint | ReactNode | false | — | A quiet hint until the first edit – false hides it |
onChange | (whatIf: CriticalWhatIf) => void | — | Called after every edit and on reset |
formatDuration | (ms: number) => string | seconds | Formats every duration – defaults to "3.4 s", "1m 42s" |
className | string | — | — |