# Leads Overview block

> Leads overview stats card with range filter, progress bar and segmented returning-leads meter

Lead summary card with a time-range Select, new vs returning counts, percent Badge, Progress bar and a 30-segment meter, plus top source and conversion rate Tooltip. ReUI Frame, Badge; shadcn Progress, Select, Tooltip. For CRM, marketing dashboards.

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

## Best for

New against returning leads side by side, one a progress bar and one a 30 segment meter, with top source and conversion

## Agent notes

- Replace `leadsData`; `newPercent` and `returningPercent` are typed in, not computed from the two lead counts
- The range `Select` built from `rangeOptions` has no change handler, so a pick leaves `leadsData` as it is
- Only the New leads side shows a percent `Badge`; the Returning leads side has a count and the meter alone

## When not to use

- Work items counted by status with a completion bar that fills on load: use [Task Progress](https://web.dev.reui.io/blocks/application/stats/stats-9.md) (`get_block("stats-9")`)
- A horizontal strip of ratio metrics beside a team avatar group: use [Compliance Strip](https://web.dev.reui.io/blocks/application/card/card-32.md) (`get_block("card-32")`)

## Install

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

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