# Metric Detail Sheet block

> Right-Side Metric Detail Sheet with Target Progress, Owners, Alert Rule, and Changes Timeline

Right drawer for one KPI: current value with delta badge, target progress bar, definition facts, owner avatars, alert rule, and a recent-changes timeline. ReUI Badge, Timeline; shadcn Sheet, Progress, AvatarGroup. Metric detail, analytics drilldown.

- Type: Pro block
- Category: [Sheet](https://web.dev.reui.io/blocks/application/sheet.md)
- Page: https://web.dev.reui.io/blocks/application/sheet/sheet-11
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/sheet.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/sheet.md
- MCP: `get_block("sheet-11")`
- Built with: Avatar, Badge, Button, Progress, Scroll Area, Separator, Sheet, Timeline
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A read only KPI view with a hatched target bar, mono definition facts, a decision readout and a dated change timeline

## Agent notes

- `METRIC` and `METRIC_ACTIVITY` in the data file hold the KPI, its facts, owners, alert rule and change history; replace both
- The `SheetDescription` text is hardcoded rather than read from `METRIC`, so edit it together with the data
- The body is read only: `AlertRuleRow`, the owner avatars and the timeline have no handlers, so wire any edit or mute action yourself

## When not to use

- A detail panel whose fields edit in place and save: use [Ticket Edit Sheet](https://web.dev.reui.io/blocks/application/sheet/sheet-9.md) (`get_block("sheet-9")`)
- A side panel that is only a chronological team activity feed: use [Team Activity Sheet](https://web.dev.reui.io/blocks/application/timeline/timeline-8.md) (`get_block("timeline-8")`)

## Install

```bash
npx shadcn@latest add @reui/sheet-11
```

## About Sheet blocks

### When to use

- Record detail opened over a list or table: a ticket, metric, cron job, audit event, deploy, SLO or data source
- Create and edit forms in a side panel for a project, cron job, firewall rule, SLO or data connection
- Utility panels for help guides, keyboard shortcuts, an AI assistant, comments, notifications or view settings

### When not to use

- A bare side panel with your own header, body and footer, nothing prebuilt: use [Sheet](https://web.dev.reui.io/components/sheet.md) (`get_component("sheet")`)
- A persistent sidebar or navigation layout that stays around every page: use the [App Shell blocks](https://web.dev.reui.io/blocks/application/app-shell.md)
- An assistant conversation that fills the whole page rather than a side panel: use the [AI Chat blocks](https://web.dev.reui.io/blocks/ai-agents/ai-chat.md)

### Agent notes

- Each root renders a demo `SheetTrigger` button and opens on mount via `defaultOpen` or a `useState` seeded true; start it closed in your app
- Each `SheetContent` className floats it inset with `inset-y-4`, `right-4` and `rounded-xl` and sets its own width; resize it there, not in the primitive
- Each page.tsx only centers the trigger in a `min-h-svh` main with an `sr-only` h1; render the root component alone inside your page

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.
