Components (172)
Compact Breakdown
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Compact Breakdown…
Usage
import { CompactBreakdown } from "ui-kit/components/compact-breakdown";Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | "Breakdown" | — |
items* | BreakdownItem[] | — | — |
periods | BreakdownPeriod[] | — | — |
period | string | — | — |
defaultPeriod | string | — | — |
onPeriodChange | (id: string) => void | — | — |
delta | number | — | — |
format | (value: number) => string | defaultFormat | — |
totalLabel | string | "Total" | — |
footer | ReactNode | — | — |
className | string | — | — |