# Rep Performance block

> Staff performance card with KPI trend grid, pipeline progress bar, and activity feed

Sales rep performance summary: a 3-up KPI grid with up/down trend deltas, a pipeline progress bar, a recent activity list, and a quarter filter. ReUI Frame, Badge with shadcn Progress, Select, DropdownMenu, Button. For dashboards and scorecards.

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

## Best for

One sales manager's quarter: 3 trend KPIs, pipeline progress, a recent activity feed and Schedule and Full Report buttons

## Agent notes

- Replace `performance`, `pipelineProgress` and `activity`; the Staff Performance and Sales Manager labels are literals in `Stats`
- The quarter `Select` built from `rangeOptions`, the header menu items and the footer `Button` pair have no handlers
- `state` maps secondary to an info-light date `Badge` and every other value, destructive included, to success-light; `color` tints the row icon

## When not to use

- A plain stack of KPI rows with trend badges and no person, feed or footer: use [Order KPI List](https://web.dev.reui.io/blocks/application/list/list-1.md) (`get_block("list-1")`)
- A full event history where the feed itself is the content: use [Timeline](https://web.dev.reui.io/components/timeline.md) (`get_component("timeline")`)

## Install

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

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