Components (172)
Cost Waterfall
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Cost Waterfall…
Usage
import { CostWaterfall } from "ui-kit/components/cost-waterfall";Props
| Prop | Type | Default | Description |
|---|---|---|---|
steps* | CostStep[] | — | — |
task | string | — | — |
status | CostStepStatus | — | — |
mode | CostMode | — | — |
defaultMode | CostMode | "cost" | — |
onModeChange | (mode: CostMode) => void | — | — |
collapsed | string[] | — | — |
defaultCollapsed | string[] | [] | — |
onCollapsedChange | (collapsed: string[]) => void | — | — |
openId | string | null | — | — |
defaultOpenId | string | null | null | — |
onOpenChange | (id: string | null, step?: CostStep) => void | — | — |
formatCost | (amount: number) => string | dollars | — |
maxHeight | number | — | — |
title | string | "Run cost" | — |
className | string | — | — |