For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: A full donut that adds an Other Sources slice for the untracked share, with a dashed center ring, an info tooltip and a reveal
When to use
- A share of a total split across a few sources, browsers or funds around a donut
- A donut with the total in its center and a legend row per segment under period tabs
When not to use
- A half ring gauge with the total inside the arc and a range picked from a menu: use the Inflows Gauge block
- Browser traffic with each slice labeled by its visitor count and an Export button: use the Browser Usage block
- A single figure measured against a target on an arc gauge: use the Radial Chart blocks
- Shares across more than a handful of categories that need exact comparison: use the Bar Chart blocks
Agent notes
- Replace
inflowPeriodsin data.ts;amountandtotalare strings with a comma decimal such as $12,4M, andshareis a whole percent - Slices size by the hand set
share, not byamount, andgetDonutDatafills the gap to 100 with an Other Sources slice ChartrendersCHART_REVEAL_STYLEas an inline style element holding the reveal keyframes; move it into your stylesheet- The donut hole is the
innerRadiusonPie, and slice labels and colors come fromchartConfig
https://reui.io/blocks/chart/pie-chart/chart-13.mdget_block("chart-13")npx shadcn@latest add @reui/chart-13Shadcn Inflows by Source Block
Capital inflows donut chart card with Week, Month, Year tabs and a per-source legend. Part of the ReUI Shadcn Pie Chart blocks collection.
Donut chart card breaking down capital inflows by source, with Week/Month/Year tabs, center total, and a legend of each source's amount and percent share. ReUI Frame plus shadcn Chart (recharts pie), Tabs, Tooltip. For finance and revenue breakdowns.
It is composed from Button, Frame, Separator, Tabs, Tooltip, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Inflows by Source Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Pie Chart blocks to assemble a full screen instead of a single section.
All Shadcn Pie Chart Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Browser Usage Browser usage donut chart card with 5D, 2W and 1M period tabs and total visitors KPI
Related Shadcn Charts Block Categories
- Area Chart (3) Area chart cards with gradient fills, stacked series, period tabs and hover tooltips for trends over time.
- Bar Chart (14) Bar and column charts, grouped and stacked bars, lollipop stems and segmented bar meters for comparing values.
- Composed Chart (5) Composed charts that layer areas and lines on one axis, with reference lines, goals and release markers.
- Line Chart (6) Line chart cards with single and multi-series lines, dual axes, reference lines and metric switchers.
- Radial Chart (3) Radial gauges with semicircle and full arcs, segmented rings and status labels for progress toward a target.
- Sparkline (11) KPI tiles and metric lists where each value pairs with a small line, area or bar sparkline and a delta.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (301) Browse 301 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (42) Browse 42 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (47) Browse 47 Shadcn Charts blocks across 8 categories.
- Shadcn Solutions Blocks (74) Browse 74 Shadcn Solutions blocks across 10 categories.
- Shadcn AI & Agents Blocks (18) Browse 18 Shadcn AI & Agents blocks across 2 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Inflows by Source block?
Use it for a full donut that adds an Other Sources slice for the untracked share, with a dashed center ring, an info tooltip and a reveal.
The Pie Chart category fits:
- A share of a total split across a few sources, browsers or funds around a donut
- A donut with the total in its center and a legend row per segment under period tabs
For a half ring gauge with the total inside the arc and a range picked from a menu, use the Inflows Gauge block. For browser traffic with each slice labeled by its visitor count and an Export button, use the Browser Usage block. For a single figure measured against a target on an arc gauge, use the Radial Chart blocks. For shares across more than a handful of categories that need exact comparison, use the Bar Chart blocks.
What is the Inflows by Source block built with?
Can I restyle the Inflows by Source block?
How should I use Shadcn pie chart blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.