Trends over time, one line per series
Each series gets its own colour and legend entry, and the summary row totals the story. Built on Recharts with system tokens for the series palette, axes, gridlines, and typography.
Default
Visitors by device
January to June 2024
Desktop1,224
Mobile860
// From the npm package
import { LineChart } from 'rift-ds/charts';
// Or as source you own, via the shadcn CLI
npx shadcn@latest add https://rift-ds.com/r/line-chart.json