Skip to Content
UI Kit
Components (172)

Critical Path

Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.

Open preview
Loading Critical Path…

Usage

import { CriticalPath } from "ui-kit/components/critical-path";

Props

PropTypeDefaultDescription
lanes*CriticalLane[]——
spans*CriticalSpan[]——
titlestring"Agent run"—
stepnumber500The keyboard step for ⇧← / ⇧→, in ms (default 500)
hintReactNode | 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) => stringsecondsFormats every duration – defaults to "3.4 s", "1m 42s"
classNamestring——

On this page