For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: One metric's page with a watch toggle, a 4 tile KPI rail, an alert rule footer, cohort progress bars and a timeline of edits
When to use
- Product usage reports: overall health, feature adoption, activation funnel, cohort retention or an A/B test
- Analyst workspaces for an event catalog, weekly segment rule coverage or the detail page of one metric
- Alert rule settings for product metrics: thresholds, delivery per rule and channel, and quiet hours
When not to use
- A compact card where 4 KPI tabs redraw a single line: use the Metric Switcher block
- Many signals scored in one backlog grid rather than one metric: use the Product Signals block
- A team home for operations work such as fulfillment, staffing, calls or payouts: use the Dashboard blocks
- A single trend card placed inside a page you already built: use the Line Chart blocks
- A plain table of your own records with sorting and filters and no report around it: use the Data Grid component
Agent notes
- The
METRIC,KPIS,TREND,COHORTSandMETRIC_ACTIVITYexports in data.tsx are the sample Activation rate content to replace - The
handleToggleWatchandhandleRefreshhandlers only flip local state and toast with Activation rate hardcoded in the text - The
TARGET_VALUEconstant is never read, so the trend chart draws no target line even though its description says so - Every block sets a
min-h-svhwrapper plus its own max width and padding in page.tsx or its root; remove them inside your app shell - Filters and edits live in
useStateand reset on reload; no block requests or persists data, so connect each to your analytics backend
Third-party API docs
- Recharts v3: API reference, docs
- Sonner v2: API reference, docs
https://web.dev.reui.io/blocks/solutions/analytics/solution-analytics-8.mdget_block("solution-analytics-8")npx shadcn@latest add @reui/solution-analytics-8Shadcn Components in the Metric Deep Dive Block
Dependencies
- cn
- recharts
- sonner
Shadcn Metric Deep Dive Block
Single-Metric Analytics Detail Page with Target-Tracked Trend Chart. Part of the ReUI Shadcn Solutions Analytics blocks collection.
Single-metric detail page: health-badge header, four-up KPI rail, trend chart against a target line, cohort breakdown, changes timeline. ReUI Frame, Badge, Timeline; shadcn Chart, Select, Progress. For analytics dashboards, KPI tracking, metrics.
It is composed from Avatar, Badge, Breadcrumb, Button, Chart, Dropdown Menu, Frame, Progress, and more, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Metric Deep Dive Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn Solutions Analytics blocks to assemble a full screen instead of a single section.
All Shadcn Solutions Analytics Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Product Signals Product Analytics Dashboard with Scored Signal Backlog
- Feature Adoption Report Feature Adoption Analytics Report with Trend Chart and Scored Feature Grid
- Activation Funnel Activation Funnel Report with Conversion Area Chart and Segment Mix
- Cohort Retention Cohort Retention Analytics Report with Retention Curve Chart and Cohort Table
- Event Catalog Event Explorer - Analytics Dashboard with Chart Grid
- Segment Validation Segment validation workspace with health metrics, review calendar, and weekly rule coverage grid
- Experiment Report A/B Experiment Report with Ship Decision, Evidence Grid and Guardrails
- Alert Rules Alert Rules Settings Form with Tabs and Validation
Related Shadcn Solutions Block Categories
- Dev Ops (6) Platform and SRE console pages for scheduled jobs, deployments, audit trails, edge firewall rules, SLOs and data connections.
- AI Ops (9) AI startup control plane pages for model providers, prompts, token cost, routing, and quotas.
- CRM (9) Sales CRM pages for founders, agencies, and startups managing leads and deals.
- Agents (10) AI agent run operation, approval, tool permission, and evaluation pages.
- Billing (9) Subscription, invoice, metering, plan, upgrade, and failed payment pages.
- Bookings (3) Appointment and service-business admin pages for consultants, clinics, salons, and local services.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Metric Deep Dive block?
Use it for one metric's page with a watch toggle, a 4 tile KPI rail, an alert rule footer, cohort progress bars and a timeline of edits.
The Analytics category fits:
- Product usage reports: overall health, feature adoption, activation funnel, cohort retention or an A/B test
- Analyst workspaces for an event catalog, weekly segment rule coverage or the detail page of one metric
- Alert rule settings for product metrics: thresholds, delivery per rule and channel, and quiet hours
For a compact card where 4 KPI tabs redraw a single line, use the Metric Switcher block. For many signals scored in one backlog grid rather than one metric, use the Product Signals block. For a team home for operations work such as fulfillment, staffing, calls or payouts, use the Dashboard blocks. For a single trend card placed inside a page you already built, use the Line Chart blocks. For a plain table of your own records with sorting and filters and no report around it, use the Data Grid component.
What is the Metric Deep Dive block built with?
Can I restyle the Metric Deep Dive block?
How should I use Shadcn analytics blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.