Components (172)
Trend Chart
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Trend Chart…
Usage
import { TrendChart } from "ui-kit/components/trend-chart";Props
| Prop | Type | Default | Description |
|---|---|---|---|
labels* | string[] | [] | — |
tooltipLabels | string[] | — | — |
series* | TrendSeries[] | [] | — |
variant | "line" | "area" | "bar" | "sparkline" | "line" | — |
fill | { opacity?: number; fade?: number } | — | — |
format | (n: number) => string | compact | — |
axisFormat | (n: number) => string | — | — |
height | number | — | — |
axis | boolean | "x" | — | — |
tooltip | boolean | true | — |
zero | boolean | true | — |
index | number | null | — | — |
onIndexChange | (index: number | null) => void | — | — |
defaultIndex | number | — | — |
label | string | "Chart" | — |
emptyText | string | "No data yet" | — |
className | string | — | — |