DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Chart
  3. Chart Donut Center Stats
MarkdownShare

Shadcn Chart Donut Center Stats

Donut chart with center stats. Built by composing Card, Chart. Uses recharts alongside the shadcn primitives. A free, open source shadcn chart example you can install with npx shadcn@latest add @reui/c-chart-20 and edit as your own code.

Donut chart with center stats

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

Best for: Sprint tasks by status in a donut whose center reads the completed share as a percent, with a legend below

When to use

  • Trend cards that plot monthly or weekly figures as bars, areas or a line
  • Part to whole breakdowns such as traffic sources, task status or plan tiers as donut and pie slices
  • Score profiles across several axes, such as team skills or audit results, as radar or radial bars

When not to use

  • A center sum of every slice with gradient fills and no legend: use the Chart Donut Center Total example
  • A finished metric card with period tabs, KPI tiles and a range switcher built in: use the Area Chart blocks
  • Headline numbers with trend badges and no plotted series: use the Stats blocks
  • A whole overview page with summary tiles above a trend and a work list: use the Dashboard blocks

Agent notes

  • completionRate divides the first chartData row by totalTasks, so keep completed first or look it up by status
  • Replace the sample chartData array, and give each series or slice name it uses a chartConfig entry with a label and color
  • Each example caps its Card at max-w-md or max-w-xs; drop the cap so the chart fills a grid cell
  • ChartContainer sizes itself by aspect-video unless a class overrides it, so set an aspect ratio or height class to fit a fixed tile

Third-party API docs

  • Recharts v3: API reference, docs
Markdownhttps://reui.io/components/chart/c-chart-20.md
MCPget_example("c-chart-20")
Installnpx shadcn@latest add @reui/c-chart-20
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Chart Donut Center Stats

  • Card
  • Chart

Dependencies

  • recharts

About Shadcn Chart Donut Center Stats

Donut chart with center stats. Built by composing Card, Chart. Uses recharts alongside the shadcn primitives. A free, open source shadcn chart example you can install with npx shadcn@latest add @reui/c-chart-20 and edit as your own code.

What You Can Build With Shadcn Chart Donut Center Stats

  • Composes Card, Chart, so it drops into any project already using those components.
  • Install it with the shadcn CLI: npx shadcn@latest add @reui/c-chart-20
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Chart Examples

  • Basic Bars Basic bar chart
  • Multi-Dataset Bars Multi-dataset bar chart
  • Diagonal Stripe Bars Diagonal stripe bar chart
  • Dotted Bars Dotted pattern bar chart
  • Striped Solid Bars Striped and solid bar chart
  • 3D Gradient Bars 3D gradient bar chart
  • Gradient Bars Gradient bar chart
  • Isometric Bars 3D isometric bar chart
  • Dotted Solid Bars Dotted and solid bar chart
  • Duotone Bars Duotone gradient bar chart
  • Animated Monochrome Bars Animated monochrome bar chart
  • Horizontal Bars Vertical bar chart

Related Shadcn Component Categories

  • Checkbox

    Open-source shadcn checkbox components for multi-select forms, settings preferences, and table selection.

  • Code Block

    Open-source shadcn code block components with Shiki syntax highlighting for AI chat, streaming agent output, diff review, and documentation.

  • Collapsible

    Open-source shadcn collapsible components for expandable sections, detail rows, and progressive disclosure.

  • Color Picker

    Open-source shadcn color picker components for brand settings, theme editors, label colors, and design tools.

  • Combobox

    Open-source shadcn combobox components for searchable selection, async lookup, and command menus.

  • Command

    Open-source shadcn command menu components for command palettes, global search, and power-user navigation.

Frequently Asked Questions

When should I use Shadcn Chart Donut Center Stats?

Use it for sprint tasks by status in a donut whose center reads the completed share as a percent, with a legend below.

Shadcn Chart as a whole fits:

  • Trend cards that plot monthly or weekly figures as bars, areas or a line
  • Part to whole breakdowns such as traffic sources, task status or plan tiers as donut and pie slices
  • Score profiles across several axes, such as team skills or audit results, as radar or radial bars

For a center sum of every slice with gradient fills and no legend, use the Chart Donut Center Total example. For a finished metric card with period tabs, KPI tiles and a range switcher built in, use the Area Chart blocks. For headline numbers with trend badges and no plotted series, use the Stats blocks. For a whole overview page with summary tiles above a trend and a work list, use the Dashboard blocks.

How do I install Shadcn Chart Donut Center Stats?

Run npx shadcn@latest add @reui/c-chart-20. The CLI copies the source into your project, so you own the code and can edit it freely.

Is Shadcn Chart Donut Center Stats free to use?

Yes. Every ReUI component example is open source and free for personal and commercial projects.

Which components does Shadcn Chart Donut Center Stats use?

It composes Card, Chart. The shadcn CLI installs those alongside the example.
PreviousDonut Center TotalNextStriped Pie

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K