# Task Progress block

> Tasks overview stat card with animated completion progress bar and AI finish-time prediction

Task summary card: animated Tasks Done Progress bar, range Select filter, 3-column Backlog/In Progress/In Review buckets with colored counts, and AI prediction footer. ReUI Frame, shadcn Progress, Select. Project dashboard, productivity stats widget.

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

## Best for

Task status counts for Backlog, In Progress and In Review, a progress bar that fills on mount and an AI finish estimate

## Agent notes

- `tasksDone`, `progressTarget` and `taskBuckets` are independent constants, so derive one from the others in real data
- The bar starts at `progress` 13 and `setTimeout` moves it to `progressTarget` after 500 ms, a mount animation only
- `aiPrediction` is a fixed string, and the range `Select` built from `rangeOptions` has no change handler

## When not to use

- New and returning leads compared, with a top source and conversion rate: use [Leads Overview](https://web.dev.reui.io/blocks/application/stats/stats-4.md) (`get_block("stats-4")`)
- A fulfillment exception queue with selectable rows under KPI cards: use [Fulfillment Exceptions](https://web.dev.reui.io/blocks/application/dashboard/dashboard-1.md) (`get_block("dashboard-1")`)

## Install

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

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