Components (172)
Trace Waterfall
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Trace Waterfall…
Usage
import { TraceWaterfall } from "ui-kit/components/trace-waterfall";Props
| Prop | Type | Default | Description |
|---|---|---|---|
root* | TraceSpan | — | — |
now | number | — | — |
startedAt | number | — | — |
collapsed | string[] | — | — |
defaultCollapsed | string[] | [] | — |
onCollapsedChange | (collapsed: string[]) => void | — | — |
openId | string | null | — | — |
defaultOpenId | string | null | null | — |
onOpenChange | (id: string | null, span?: TraceSpan) => void | — | — |
markSlowest | boolean | true | — |
minRange | number | 10 * SEC | — |
formatCost | (amount: number) => string | dollars | — |
title | string | "Trace" | — |
className | string | — | — |