Vvcare/ui
Documentation menu

Components

Charts and metrics

Chart

The Recharts wrapper the charts use: themed colors, tooltip and legend.

Installation

npx shadcn@latest add @vcare/chart

Or install directly from the URL: https://ui.vcarehms.com/r/chart.json

Usage

import { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle } from "@/components/ui/chart"

Exports

ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle

Dependencies

  • recharts@^3.11.1 (npm)
  • @vcare/utils (registry)

Raw item: /r/chart.json