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

Shadcn Chart Active Segment Donut

Active segment donut with center label. 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-22 and edit as your own code.

Active segment donut with center label

For AI Agents

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

Best for: Plan tiers in a donut whose hovered slice grows outward, with paid users at the center and the paid share in the subtitle

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

  • Slices that stay still on hover with a percent in the center: use the Chart Donut Center Stats 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

  • paidUsers subtracts the first chartData row as the free tier, so keep free first or sum the paid plans by plan
  • 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-22.md
MCPget_example("c-chart-22")
Installnpx shadcn@latest add @reui/c-chart-22
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Chart Active Segment Donut

  • Card
  • Chart

Dependencies

  • recharts

About Shadcn Chart Active Segment Donut

Active segment donut with center label. 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-22 and edit as your own code.

What You Can Build With Shadcn Chart Active Segment Donut

  • 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-22
  • 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 Active Segment Donut?

Use it for plan tiers in a donut whose hovered slice grows outward, with paid users at the center and the paid share in the subtitle.

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 slices that stay still on hover with a percent in the center, use the Chart Donut Center Stats 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 Active Segment Donut?

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

Is Shadcn Chart Active Segment Donut free to use?

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

Which components does Shadcn Chart Active Segment Donut use?

It composes Card, Chart. The shadcn CLI installs those alongside the example.
PreviousStriped PieNextGradient Radar

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