# Inflows Gauge block

> Capital inflows semicircular gauge card with source breakdown and range switcher

Half-donut radial gauge of capital inflows by source, with center total, a range switcher (week, month, quarter), and per-source metric breakdown. Built with ReUI Card, DropdownMenu, Item, Separator, and a recharts PieChart. For finance dashboards.

- Type: Pro block
- Category: [Radial Chart](https://reui.io/blocks/chart/radial-chart.md)
- Page: https://reui.io/blocks/chart/radial-chart/chart-12
- MCP: `get_block("chart-12")`
- Built with: Button, Card, Dropdown Menu, Item, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

A half donut of 3 inflow sources with the total set inside the arc, a range dropdown menu and a graph paper backdrop

## Agent notes

- Each `inflowRanges` entry types `total` and every source `value` as strings, so the week `total` reads $12.4M while its `amount` values sum to $12.2M
- Sources are bound to the `InflowSource` id union, each with a `chartConfig` color, and the 5 track grid under the gauge fits exactly 3
- The tooltip `formatter` appends a fixed M suffix, so every `amount` must already be in millions

## When not to use

- A full ring that also prints each source's percent share and the untracked rest: use [Inflows by Source](https://reui.io/blocks/chart/pie-chart/chart-13.md) (`get_block("chart-13")`)
- Visitor counts printed inside each slice, across 5 browsers: use [Browser Usage](https://reui.io/blocks/chart/pie-chart/chart-27.md) (`get_block("chart-27")`)

## Install

```bash
npx shadcn@latest add @reui/chart-12
```

## About Radial Chart blocks

### When to use

- Uptime, coverage or capital raised as a segmented arc gauge beside its value
- A row of round meters, one per API or service metric, each with a trend delta

### When not to use

- Several sources sharing one total, read as slices of a ring: use the [Pie Chart blocks](https://reui.io/blocks/chart/pie-chart.md)
- A capacity or zone meter laid out as straight segments in a row: use the [Bar Chart blocks](https://reui.io/blocks/chart/bar-chart.md)

### Agent notes

- chart-7 and chart-8 draw their arcs as SVG paths, while chart-12 draws a half ring with `Pie` from recharts

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
