# Order Metrics block

> Order Metrics List Card with Per-Row Line Sparklines and Trend Badges

Vertical KPI metrics list: each row pairs a value, suffix, and up or down trend Badge with a compact line sparkline over a grid. Uses ReUI Frame, Badge and shadcn ChartContainer, Separator. For orders, spend and finance dashboards.

- Type: Pro block
- Category: [Sparkline](https://reui.io/blocks/chart/sparkline.md)
- Page: https://reui.io/blocks/chart/sparkline/chart-25
- MCP: `get_block("chart-25")`
- Built with: Badge, Frame, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://reui.io/docs/license-setup

## Best for

A stacked list of 5 metric rows, each pairing a value and trend badge with a line sparkline on a faded grid and no tooltip

## Agent notes

- Replace `orderMetrics` in data.tsx; `value`, `suffix` and `trend` are preformatted strings, and `trendDirection` and `tone` are hand set, not read from `data`
- `MetricSparkline` draws a bare `LineChart` with hidden axes and no tooltip, so readers see the shape of each `data` series but no values
- `MetricRow` renders a plain list row with no link, menu or click handler; add one if a row should open its metric

## When not to use

- Metric rows that lead with an icon tile and end in an open details button: use [Order KPI List](https://reui.io/blocks/application/list/list-1.md) (`get_block("list-1")`)
- The same metrics laid side by side in one strip, with a tooltip on each sparkline: use [KPI Strip](https://reui.io/blocks/chart/sparkline/chart-2.md) (`get_block("chart-2")`)

## Install

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

## About Sparkline blocks

### When to use

- Rows of metric tiles, each pairing its value with a sparkline, a meter or a delta
- Health strips for cron jobs, SLOs or data syncs that open with KPI tiles and mini trends
- Metric lists where every row ends in a small trend and a change badge

### When not to use

- Plain KPI numbers that need only a delta badge, an actions menu or a progress bar: use the [Stats blocks](https://reui.io/blocks/application/stats.md)
- One metric that deserves a full width plot with axes and a tooltip: use the [Area Chart blocks](https://reui.io/blocks/chart/area-chart.md)
- A whole overview page that sets a header, summary tiles and a work list around its plots: use the [Dashboard blocks](https://reui.io/blocks/application/dashboard.md)

### Agent notes

- `Chart` takes no props and fetches nothing: every tile value and series comes from constants in the block's own 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.
