How do I install shadcn chart and data components?
Add "@tentui": "https://tentui.com/r/{name}.json" to the registries object in components.json, then run npx shadcn@latest add @tentui/chart-brush, swapping in any component slug from this category. The CLI copies the component source into your project and installs the @number-flow/react, @rexa-developer/tiks, lucide-react, motion, and web-haptics packages.
Which shadcn chart and data components does TentUI include?
TentUI includes 3 shadcn chart and data components. Chart Brush: An area or line chart with two draggable handles for picking a time range. The selected stretch is inked in while the rest fades back, the change rolls in the header, and every point the handles cross ticks. Contribution Heat: A calendar heatmap with a spring-driven optical hover loupe, zero-shift day-by-day readout, click-to-pin inspection, and interactive intensity filtering. Sparkline Stat: A stat tile with a sparkline that draws itself in on first view. Hover, touch, or arrow keys scrub the line, and the headline follows each point, then rolls back to the latest value.
Do TentUI chart and heatmap components require an external charting library?
No. Both Chart Brush and Contribution Heat render responsive SVG directly in React using your copied TypeScript component and Tailwind CSS tokens, so you avoid heavy charting bundles and can customize scales, labels, and tooltips in place.
Do these chart and data components work with Next.js and Tailwind CSS?
Yes. Each component is written in TypeScript for React and styled with Tailwind CSS tokens, so it works out of the box in Next.js, Vite, or any React app configured with shadcn/ui.
Are TentUI chart and data components free to use?
Yes. TentUI components are free and source-available. The shadcn CLI copies the source into your codebase, and you can use them in unlimited personal and client projects under the TentUI License.