# Shared KPI Panels block

> KPI metric card grid with two-tone numeric values and per-panel trend Badge with period label

Responsive 1 to 4 column stat grid where each panel shows a large two-tone value with faint decimals, a metric label, and an up or down trend Badge with percent and period. ReUI Frame, FramePanel, Badge. Dashboard KPIs, analytics tiles.

- Type: Pro block
- Category: [Card](https://web.dev.reui.io/blocks/application/card.md)
- Page: https://web.dev.reui.io/blocks/application/card/card-28
- MCP: `get_block("card-28")`
- Built with: Badge, Frame
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

Shared surface KPI panels: two tone figures with faded decimals over a label, then a period trend badge

## Agent notes

- Replace `CARDS` in data.tsx; each figure is pre split into `valueBold` and `valueFaint`, so split your formatted number at the decimal point
- Each `badge` sets its `variant` and arrow `icon` by hand, so derive both from the sign of the change
- `description` holds the metric label and is the React key in card-grid.tsx, so 2 metrics with one label collide

## When not to use

- Each KPI in its own bordered panel with the label in a header band: use [Period Trend KPIs](https://web.dev.reui.io/blocks/application/card/card-34.md) (`get_block("card-34")`)
- Metric tiles that also plot recent values as a small sparkline with a tooltip: use [KPI Strip](https://web.dev.reui.io/blocks/chart/sparkline/chart-2.md) (`get_block("chart-2")`)

## Install

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

## About Card blocks

### When to use

- Rows and grids of KPI tiles, each a value and a label with an optional trend badge or icon
- Grids of small linked cards for features, setup steps, guides, integrations or partner logos
- One record or offer per card: a profile, applicant, delivery, meeting, job, asset price or promo

### When not to use

- A metric panel with a progress bar, a segmented gauge or supporting rows under the total: use the [Stats blocks](https://web.dev.reui.io/blocks/application/stats.md)
- A KPI whose trend over time is plotted, with a period switcher or tooltips: use the [Area Chart blocks](https://web.dev.reui.io/blocks/chart/area-chart.md)
- A whole overview page: a header, a row of KPI tiles, then a work list or trend panel: use the [Dashboard blocks](https://web.dev.reui.io/blocks/application/dashboard.md)

### Agent notes

- Every block centers itself in a padded `min-h-svh` wrapper in page.tsx or its root component; remove it when the card goes inside your own page

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