# Period Trend KPIs block

> KPI metric cards with bold value, faint decimal fraction, and up or down trend badge per period

Responsive grid of compact stat cards: each shows a metric label, large value with a faded decimal tail, and a colored trend Badge (up or down) with a period label. Built on ReUI Frame, FramePanel, Badge. For dashboards, analytics, KPI summaries.

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

## Best for

Separate KPI cards whose label sits in a header band above a two tone figure and a period trend badge

## Agent notes

- Replace `CARDS` in data.tsx; `valueFaint` holds the faded decimal tail, so split each figure between it and `valueBold`
- Each `badge` sets its `variant`, arrow icon and `percent` by hand, so compute all 3 from the real change
- `CardGrid` switches columns at the @2xl and @4xl container widths, but nothing in the block declares a container, so add one around it

## When not to use

- The same figures and trend badges as panels on one shared surface: use [Shared KPI Panels](https://web.dev.reui.io/blocks/application/card/card-28.md) (`get_block("card-28")`)
- Bare figures with no trend badge or period, over a faded dot texture: use [Deal Invoice Tiles](https://web.dev.reui.io/blocks/application/card/card-35.md) (`get_block("card-35")`)

## Install

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

## 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.
