# Sales & Churn Metrics block

> Three-column stats panel with divided cells, large metric values and trend badges

Bordered ReUI Frame panel split into three divided cells, each with a title, large metric value, colored trend Badge and period comparison subtext. KPI overview, dashboard stats, sales and churn metrics row.

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

## Best for

One bordered panel split into 3 divided cells, each with its own reporting window and an absolute change against the prior period

## Agent notes

- Replace the `cards` array in data.tsx; `badge` is a variant, icon and text object, and `subtext` is ready made JSX for the prior period line
- `valueColor` is set on every `cards` entry but `Stats` never reads it, so the values render in the default color

## When not to use

- Standalone metric panels, each with a gradient sparkline and a hover tooltip: use [KPI Trend Cards](https://web.dev.reui.io/blocks/chart/sparkline/chart-15.md) (`get_block("chart-15")`)
- Separate cards, each with a colored icon tile across from its trend badge: use [Analytics Overview](https://web.dev.reui.io/blocks/application/stats/stats-8.md) (`get_block("stats-8")`)

## Install

```bash
npx shadcn@latest add @reui/stats-7
```

## About Stats blocks

### When to use

- A row of 3 or 4 KPI tiles to sit above the content of a page you already have
- One metric card that pairs a headline figure with a meter, a split bar or supporting rows
- A card already written for one topic: leads, tasks, quota, compliance, renewals, adoption, balance or capacity

### When not to use

- Tiles on a dotted, halftone or line grid backdrop, or records such as profiles or jobs: use the [Card blocks](https://web.dev.reui.io/blocks/application/card.md)
- A metric whose value carries a small trend drawn beside or under it: use the [Sparkline blocks](https://web.dev.reui.io/blocks/chart/sparkline.md)
- A whole overview page with a header, summary tiles and a work list or trend under them: use the [Dashboard blocks](https://web.dev.reui.io/blocks/application/dashboard.md)

### Agent notes

- Each page.tsx only centers `Stats` in a padded wrapper; mount `Stats` from components/stats.tsx inside your own layout
- `Stats` takes no props, fetches nothing and wires no handler, so add props for your own figures and callbacks

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.
