Chart
Composable chart primitives (ChartContainer, ChartTooltip, ChartLegend) wrapping Recharts, themed via CSS custom properties from a ChartConfig. Supports area, bar, line, and pie charts.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/chart.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- cn@^0.5.0recharts@3.10.1
- Registry
- None