SAV Design/Chart

Chart

Recharts wrapper: ChartContainer with CSS-variable colour config, tooltip and legend styled with the design tokens.

UI primitivesregistry:ui

Install

npx shadcn@latest add @sav/chart

Needs "@sav": "https://design.sasv.ch/r/{name}.json" under registries in components.json. Direct URL: /r/chart.json.

Preview

Files

  • registry/sav/ui/chart.tsx→ @ui/chart.tsx

Dependencies

Registry items

—

npm packages

cn, recharts@3.8.0