Show code
import { AreaChart } from '@six-vallees/ui-react';
export default function AreaChartDemo() {
const weight = [150, 143, 137, 132, 128, 125, 122, 120, 118];
return (
<div className="w-full text-chart-ink">
<AreaChart data={weight} markerIndex={weight.length - 1} markerLabel="Sep 09, 2026" />
</div>
);
}Installation
npx shadcn@latest add https://cairn.sixvallees.com/r/area-chart.json