Try the TanStack Charts implementation alongside the stable Recharts components.
The existing chart components remain stable and continue to use Recharts. These separately named components use the pre-release TanStack Charts package so you can evaluate the new implementation without migrating production code.
Install only the experimental chart variant you want to evaluate:
npx shadcn@latest add @preskok/experimental-area-chartimport { ExperimentalAreaChart } from "@/components/ui/preskok-ui/experimental-area-chart"
;<ExperimentalAreaChart
config={config}
data={data}
dataKey="month"
fillType="gradient"
lineType="monotone"
/>npx shadcn@latest add @preskok/experimental-bar-chartnpx shadcn@latest add @preskok/experimental-line-chartnpx shadcn@latest add @preskok/experimental-pie-chartTanStack Charts is still pre-release. Treat these components as opt-in and
expect their API to change. The unprefixed AreaChart, BarChart, LineChart,
and PieChart APIs are not changed by installing or testing them.