Arc
ComponentsBlocksDocsPricingTry the demo
Get Pro
Introduction
Installation
Theming
Motion
AI and MCP
Changelog
Metrics dashboardPro
KPI drilldownPro
Metric explorerPro
Revenue explorerPro
MRR waterfallPro
Cohort retentionPro
Usage forecastPro
Journey flowPro
Uptime statusPro
Pivot builderNewPro
Choropleth explorerPro
Connected scatterPro
Horizon chartPro
Account healthPro
Market terminalPro
Budget variancePro
Small multiplesPro
Line replayPro
AI chatPro
AI composerPro
AI answerPro
Model pickerPro
Model arenaPro
Prompt studioPro
Document extractionPro
Agent memoryPro
AI side panelPro
AI inline editPro
Research runPro
AI insight cardPro
Catch upPro
AI feature launchPro
AI search barPro
AI setup wizardPro
Call insightsPro
Lead scoringPro
Agent runPro
Agent tasksPro
Agent approvalsPro
Agent routinesPro
Agent orchestratorPro
MCP serversPro
Knowledge basePro
Eval suitePro
Agent builderPro
Agent galleryPro
SidebarPro4
Page header
Command palette
Notification center
Selection toolbarPro
Empty states
Search resultsPro
Login and sign up5, free and Pro variants
Onboarding illustrationPro
OTP input
Multi-step formPro
Two-factor setupPro
Magic linkPro
Settings pagePro
Settings commandPro
Security settingsPro
Billing overviewPro
Usage billingPro
Cancel flowPro
Onboarding surveyPro
Spend alertPro
Team membersPro
Invite peoplePro
Team directoryPro
Roles and permissionsPro
Profile pagePro
API keysPro
WebhooksPro
IntegrationsPro
Environment variablesPro
Domain verifyPro
Webhook testerPro
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Live checkoutPro
Seat managerPro
Credit top-upPro
Invoice studioPro
Wallet cardPro
Delivery trackerPro
Product listingPro
Product detailPro
Seat mapPro
Activity feedPro
Inbox triagePro
Support conversationPro
Support widgetPro
Help centerPro
Feature votingPro
File upload
Media playerPro
Week calendarPro
Availability pickerPro
Project boardPro
Gantt timelineNewPro
Release readinessPro
Kanban boardPro
Feedback boardPro
Smart schedulerPro
Task breakdownPro
Goal trackerPro
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrainPro
Revenue globePro
Customer galaxyPro
Semantic zoomPro
Layout morphPro
Exploded viewPro
What’s new4 new
BlocksMetrics dashboard

Metrics dashboard

Pro

A dense analytics view with KPI tabs, one inspectable chart, and top pages and sources.

Live block · sample data

When to use

  • A small, explorable KPI overview with a range toggle and one chart.
  • Product or marketing dashboards with four headline metrics, a 7, 30, or 90 day range, and top pages and sources.

When not to use

  • Use metric-explorer or revenue-explorer for larger or drill-down data.
  • Use stat-card for a single number.
  • Use sparkline for inline trends in a table.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Use this to make a small set of key measures explorable. Replace the sample figures with your analytics source.

example.tsx
1import { MetricsDashboard } from "@/components/arc/blocks/metrics-dashboard/metrics-dashboard";2 3export function Overview() {4  return <MetricsDashboard />;5}
Built fromButtonChartsMotion

API reference

MetricsDashboard

A dense analytics view: a range control, four KPI tabs that pick the charted metric, one line chart with an optional previous-period comparison and a hover or keyboard tooltip, and top pages and sources lists. Takes no props; all figures are sample data.

No props.

Keyboard interactions

Tab
Moves through the range control, Export, the KPI tabs, Compare, and the chart.
ArrowLeftorArrowRight
With the chart focused, moves the inspected point.
HomeorEnd
Jumps to the first or last point.

Accessibility

  • Range buttons use aria-pressed; the KPI tiles are tabs with aria-selected.
  • The chart is role="img" with a label; the inspected value is announced through a status tooltip.
  • Deltas carry a text direction, not only color.

Motion

  • KPI values and list counts count to their new amounts with tabular numerals.
  • The range thumb and KPI underline slide on a spring; the chart crossfades between metrics and ranges.
  • Reduced motion swaps values and views immediately.

Responsive behavior

  • Layout follows the block's own width through a ResizeObserver: below 640px the KPI tabs form a two by two grid and the top pages and sources lists stack.
  • Below 460px padding tightens, the range control and actions fill the width, KPI values shrink, and the chart is 168px tall.
  • Chart hover is mouse based; touch and keyboard select points through focus and the arrow keys.

Performance

  • The chart is a hand-built SVG with a monotone cubic path: up to 30 daily points, or 13 weekly points for 90 days. No charting library.
  • All aggregation runs over an in-memory daily series on each change; for larger data or drill-down use metric-explorer.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use for a compact product or marketing analytics overview.
  • Replace the generated daily series with your analytics source; Export only shows a local confirmation.
  • The layout follows the block's own width (measured), so it works in narrow panels as well as full pages.
  • For larger sets, prefer metric-explorer or revenue-explorer.
/components/blocks/metrics-dashboard/markdown

The full library index for assistants is at /llms.txt.

Related

Metric explorerProBlockKPI cards that open into a scrubbable chart and morph between metrics and ranges.Revenue explorerProBlockA SaaS revenue chart you zoom with a brush while paths, axes and figures glide to the range.SparklineComponentShow a compact trend beside a value.Bar chartComponentCompare one measure across days and scrub any bar for its value.
PreviousAvailability pickerNextMedia player
Arc · 134 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown

Analytics

example.com · Last 30 days

Visitors
1.5K1K5000
Sep 1Sep 6Sep 11Sep 16Sep 21Sep 26

Top pages

Visitors
  • /11,373
  • /pricing6,237
  • /docs/getting-started4,402
  • /blog/usage-based-billing2,935
  • /changelog1,834

Sources

Visitors
  • Direct13,941
  • Google10,639
  • Hacker News4,035
  • X2,935
  • Newsletter2,201