---
title: "Stats blocks"
description: "3 Pro stats blocks for React. Numbers that show what a product has done."
plan: Pro
docs: https://ui.edbn.me/docs/blocks/stats
---

# Stats blocks

3 Pro stats blocks for React. Numbers that show what a product has done.

## Installation

Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install any block by name, for example:

```bash
npx shadcn@4.19.0 add @edbn/stats-row
```

## Blocks
- [Stats row](https://ui.edbn.me/docs/blocks/stats-row): A heading and a line, then four large figures in hairline-split cells, each with what it counts and over what span.
  Install: `npx shadcn@4.19.0 add @edbn/stats-row`
- [Stats with chart](https://ui.edbn.me/docs/blocks/stats-with-chart): A heading, a paragraph and two figures beside a card with the quarterly bar chart they're worked out from, and its caption.
  Install: `npx shadcn@4.19.0 add @edbn/stats-with-chart`
- [Before and after metrics](https://ui.edbn.me/docs/blocks/metrics-before-after): A customer story's results: three measures with the before value muted, the after value, the change, and who the numbers belong to.
  Install: `npx shadcn@4.19.0 add @edbn/metrics-before-after`

All blocks: https://ui.edbn.me/docs/blocks (Markdown: https://ui.edbn.me/docs/blocks.md)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
