# Capacity Usage block

> Operational KPI metric cards with segmented bar gauge for utilization and capacity tracking

Three operational KPI cards in a responsive grid, each with an icon, title, large value over total, and a 40-segment bar gauge showing utilization. Built with ReUI Frame, recharts BarChart, shadcn Item and Button. For dashboards and capacity metrics.

- Type: Pro block
- Category: [Bar Chart](https://reui.io/blocks/chart/bar-chart.md)
- Page: https://reui.io/blocks/chart/bar-chart/chart-28
- MCP: `get_block("chart-28")`
- Built with: Badge, Button, Frame, Item
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

A row of 3 capacity meters in one panel, each value over its total above 40 bars lit to a hand set count, with an actions button

## Agent notes

- `filled` is a hand typed count out of `SEGMENT_COUNT`, not computed from `value` and `total`, so the sample 83 of 691 lights 32 of 40 bars
- Replace `operationalMetrics` in data.tsx; `value` and `total` are preformatted strings, and each `chartConfig` sets the lit bar color under `used`
- Each metric's actions `Button` has an aria-label but no onClick handler and opens no menu

## When not to use

- A whole operations page with a capacity meter, a donut and an exception queue: use [Fulfillment Exceptions](https://reui.io/blocks/application/dashboard/dashboard-1.md) (`get_block("dashboard-1")`)
- Plain figure tiles with a label and a value but no meter under them: use [Deal Invoice Tiles](https://reui.io/blocks/application/card/card-35.md) (`get_block("card-35")`)

## Install

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

## About Bar Chart blocks

### When to use

- Values compared across hours, days or categories as grouped, stacked or hatched columns
- Run durations or event volumes against a timeout or limit line, with outcome toggles
- Segmented meters that split a capacity, a fund or a heart rate zone into colored slices

### When not to use

- A share of a whole where the slices read better around a ring: use the [Pie Chart blocks](https://reui.io/blocks/chart/pie-chart.md)
- A progress reading shown as an arc gauge with a status label: use the [Radial Chart blocks](https://reui.io/blocks/chart/radial-chart.md)
- Rows of jobs or deploys, each with its own run history strip: use the [Status Tracker blocks](https://reui.io/blocks/chart/status-tracker.md)

### Agent notes

- `Chart` renders with no props, so every bar, meter value and limit comes from constants kept in the block folder

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.
