shadcn Chart examples
shadcn/ui’s wrapper around Recharts: chart colours from the theme tokens, plus a tooltip and legend that match. In our blocks it draws revenue, traffic and usage charts on dashboards and stats sections: 28 app screens use it. Every example below is a finished section with real copy, light and dark, that installs with the shadcn CLI.
Blocks built with shadcn Chart

app-dashboards-07API health dashboard
Pro
app-projects-19Sprint board
Pro
app-developer-04Error issue
Pro
app-finance-10Payouts
Pro
app-commerce-02Analytics
Pro
app-marketing-02Campaign report
Pro
app-onboarding-08Empty reports with sample data
Pro
app-crm-09Sales forecast
Pro
app-support-09Helpdesk
Pro
app-dashboards-08Cash dashboard
Pro
app-projects-03Goal
Pro
app-developer-07Logs
Pro
app-finance-18Receivables
Pro
app-commerce-26Store
Pro
app-marketing-04Segments
Pro
app-dashboards-09People dashboard
Pro
app-projects-05My tasks
Pro
app-developer-08Metering
Pro
app-finance-15Usage
Pro
app-dashboards-11Marketing performance dashboard
Pro
app-projects-08Project budget
Pro
app-dashboards-12Subscriptions
Pro
app-dashboards-13Support performance
Pro
app-dashboards-14Traffic
Pro
app-dashboards-02Overview
Pro
app-dashboards-03Report detail
Pro
app-dashboards-05Retention
Pro
app-dashboards-06Sales
Pro
Questions about shadcn Chart
How many blocks use shadcn Chart?
28 of ours: 28 app screens, in nine categories, most of all dashboards and analytics (11), projects and calendar (4), developer (3). Each one imports the Chart from your own components/ui folder, so it follows your theme.
How do I install shadcn Chart?
shadcn/ui’s own component: npx shadcn@latest add chart. Our free example: npx shadcn@latest add @themesdev/bar-chart, no account needed. A block from this page brings the Chart along as a dependency, so you never install it by hand.
Are these examples free?
These come with UI Pro, €199 once for one person (excl. tax). The base chart example is free.
Do they work with Next.js and Astro?
Yes. They are React components on shadcn/ui and Tailwind CSS v4, so they run in Next.js, Vite and Astro with React. In Astro they render on the server, and only the parts that need interaction ship JavaScript.
Other shadcn/ui components in our blocks
All shadcn/ui pages- shadcn Button1,313 examples
- shadcn Card374 examples
- shadcn Badge641 examples
- shadcn Input491 examples
- shadcn Form539 examples
- shadcn Avatar262 examples
- shadcn Checkbox182 examples
- shadcn Tabs133 examples
- shadcn Table121 examples
- shadcn Sidebar102 examples
- shadcn Switch91 examples
- shadcn Select61 examples
- shadcn Dropdown Menu55 examples
- shadcn Alert27 examples
- shadcn Calendar15 examples
- shadcn Accordion11 examples