Arc
ComponentsBlocksScreensDocsPricingTry the demo
Get Pro
Saved

Docs

IntroductionInstallationThemingMotionAI and MCPChangelog

Components136

ButtonAction buttonSplit buttonButton groupFloating button groupExpanding button groupCopy buttonAction swapIcon morphConfirm morphTheme switcher

Hold to confirmSwipe actionsReactions

Dropdown menuContext menuUser menu

InputTextareaPassword fieldPassword strengthSearch fieldExpanding searchInline edit

Number fieldMoney inputPhone inputScrub inputTag inputMention inputShortcut recorder

SelectComboboxMulti-selectMorph selectChip group

Radio cardsBilling toggleCheckboxRadio groupSwitchSegmented controlRatingToggle group

SliderElastic sliderRange histogram sliderRuler sliderWindow rangeNewProLens rangeNewPro

CalendarDate pickerDate range pickerTime pickerColor pickerEmoji pickerPro

Rich text editorSignature padFile dropzoneAvatar uploadPro

TabsBreadcrumbPaginationMega menu morphProTable of contents progressPro

Scroll areaAccordionExpandable cardResizable panelsExpandable text

DialogDrawerBottom sheetPopoverHover cardTooltipShare accessProConfirm popoverPro

AlertToastToast stackAnnouncement barCookie consentUndo toastPro

ProgressSkeletonStepperCountdownUsage meterOnboarding checklist

AvatarAvatar groupBadgePresence stackPro

CardMetric cardEmpty stateMetric tickerPro

Line chartBar chartDonut chartStreamgraphBrush chartWaffle chartSlope chartSparklineGaugeActivity heatmapAnimated counterRidgelineTreemapSplit barPro

SunburstProSankey flowProFunnel chartProRadar chartProRealtime streamProRace bar chartProData gridPro

Sortable data tableTree tableTree viewReorderable listFilter toolbarCode blockJSON viewer

TimelineComment threadChat thread

Image compareCarouselCard stack

Text revealIn-view titleText morphText shimmer

Blocks122

KPI drilldownProMetric explorerProRevenue explorerProMRR waterfallProCohort retentionProUsage forecastProJourney flowProUptime statusProPivot builderProChoropleth explorerProConnected scatterProHorizon chartProAccount healthPro

Budget variancePro

Small multiplesProLine replayPro

AI chatProAI composerProAI answerProModel pickerProModel arenaProPrompt studioProDocument extractionProAgent memoryProAI side panelProAI inline editProResearch runProAI insight cardProCatch upProAI feature launchProAI search barProAI setup wizardProCall insightsProLead scoringPro

Agent runProAgent tasksProAgent approvalsProAgent routinesProAgent orchestratorProMCP serversProKnowledge baseProEval suiteProAgent builderProAgent galleryPro

SidebarPro4Page headerCommand paletteNotification centerSelection toolbarProEmpty statesSearch resultsPro

Login and sign up5, free and Pro variantsOnboarding illustrationProOTP inputMulti-step formProTwo-factor setupProMagic linkPro

Settings pageProSettings commandProSecurity settingsProBilling overviewProUsage billingProCancel flowProOnboarding surveyProSpend alertPro

Team membersProInvite peopleProRoles and permissionsProProfile pagePro

API keysProWebhooksProIntegrationsProImport wizardNewProEnvironment variablesProDomain verifyProWebhook testerPro

Plan comparisonPricing calculatorProUsage pricingProCart drawerProCheckout summaryProLive checkoutProSeat managerProCredit top-upPro

Wallet cardProDelivery trackerProSeat mapPro

Activity feedProSupport widgetProFeature votingPro

File uploadMedia playerPro

Availability pickerProRelease readinessProFeedback boardProSmart schedulerProTask breakdownProGoal trackerPro

Hero sectionHero signupPro

Scroll storyProSpotlight gridProFeature bentoProComparison table

Logo marqueeStudio perspectivesProStats band

Changelog feedFAQ sectionContact sectionTeam showcaseProBlog grid

Site headerSite footerCTA sectionNewsletter signup

Activity terrainProRevenue globeProCustomer galaxyProSemantic zoomProLayout morphProExploded viewPro

Screens14

Metrics dashboardProMarket terminalPro

Kanban boardProProject boardProGantt timelinePro

Week calendarProMonth calendarNewPro

Team directoryPro

Inbox triageProSupport conversationProHelp centerPro

Product listingProProduct detailProInvoice studioPro

Special components106

Share sheetProAction morphProMorph navProDockProLiquid tab barProOrbit menuPro

Glass menuProGlass segmentedProGlass cardProGlass tab barPro

Sheet stackProWallet stackProControl centerProHolo cardProCard to articleProLink unfurlPro

Product galleryProLightbox galleryProPhoto gridProCover flowPro

Voice orbProNow playingProVoice recorderPro

Booking pillProActivity ringsProTime dialProDate reelPro

Keycap keyboardProSlot textSand textProTypewriter terminalPro

Stretch refreshProMorph loaderProSkeleton morphProBlack holeProCharge sessionPro

Sticker peelProTicket tearProPage curlProOrbit logosProPrize wheelPro

Dot gridProImage trailProGravity wellProInk fluidProCursor trail drawPro

Agent statusProTool callProAgent planProAgent timelineProContext windowProReasoning blockProSource cardsProModel cardProAI workflowProCode suggestionProGhost textProImage generationProDictation buttonProSpeech playerProMeeting summaryProReply draftProAgent handoffProPII redactionProResponse feedbackProLLM cost calculatorProProvider keysProGeneration statsProAI translateProTL;DR toggleProConnector setupProSmart form fillProEnrich columnProTicket routerProAsk your dataProAgent cursorProProvider statusProTraining runProAI commandProStarter promptsProAI mascotProImage revealProAI sparkProPixel mascotProGhost mascotProCube mascotProTone tunerProUpgrade promptProReferral cardProTrial bannerProTeam switcherProLive visitorsProSocial proof toastProInstall snippetPro

Data flowProPayment flowProDNS resolutionProModel trainingProMulti-region failoverProVector searchProBranch graphProAgent loopProMixture of expertsProSpeculative decodingProPrompt cacheProReasoning treePro
What’s new4 new
ScreensMetrics dashboard

Metrics dashboard

Pro

A complete product analytics app on the screen shell, with sites, saved views, a date range and filters. It has KPI tabs over one chart you can drag to zoom, breakdowns by page, source, location and device, goals, sortable tables, and a detail panel for any row.

Live screen · 1440 × 900

When to use

  • A full analytics product screen: KPIs over one chart, top pages, sources, locations, devices and goals, with a date range, filters and saved views.
  • Product, marketing or docs analytics where people move between an overview and a table per dimension, and open any row for detail.

When not to use

  • Use metric-explorer or revenue-explorer for one explorable chart inside an existing page.
  • Use stat-card for a single number and sparkline for inline trends in a table.
  • Use screen-shell directly when you need the frame for a different kind of app.

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 AnalyticsPage() {4  return (5    <div style={{ height: "100dvh" }}>6      <MetricsDashboard defaultRange="30d" />7    </div>8  );9}
Built fromButtonChartsMotion

API reference

MetricsDashboard

A complete product analytics screen built on screen-shell. Sites live in the workspace switcher under Halden's wedge mark, each in its own tone. The sidebar holds saved views as rows (a glyph for what each one filters and its range) and a realtime footer with the online count and the last 30 minutes by minute. The header has a date range menu and a CSV export. The overview pairs five KPI tabs with one chart (hover or arrow keys to inspect, drag or Shift with the arrows to zoom, a Compare switch for the previous period), breakdown cards for pages, sources, locations and devices, and goals. Each nav item opens a sortable, searchable table, and any row opens a floating detail panel with its trend, stats, a related breakdown and a filter action. All figures are sample data for a fictional site, halden.io, ending 11 Nov 2026.

PropTypeDefaultDescription
defaultSite"web" | "docs" | "status""web"The site the screen opens on: halden.io, docs.halden.io or status.halden.io.
defaultRange"7d" | "30d" | "90d" | "mtd" | "lastMonth""30d"The starting date range.
defaultMetric"visitors" | "pageviews" | "signups" | "bounce" | "duration""visitors"The KPI the main chart starts on.
classNamestring–Class on the outer wrapper. The screen fills its parent's height (at least 640px), so give the parent a height.

Keyboard interactions

⌘K, Ctrl+K
Focuses the sidebar search (from screen-shell).
ArrowLeftorArrowRight
On the KPI tabs, moves to the next metric and charts it; the highlight lands instantly. On the focused chart, inspects the previous or next day.
Shift+ArrowLeftorArrowRight, then Enter
Selects a span of days on the chart and zooms into it. Escape clears the selection.
ArrowUporArrowDown, Home, End
Move between rows in a breakdown card or table, and between items in the date range menu (Arc's dropdown menu) and the filter list.
ArrowLeftorArrowRight on a card switcher
Moves between the views of a breakdown card, such as Top pages and Entry pages (Arc's segmented control).
Enter
On a row, opens its detail panel and moves focus to its close button. In the filter search, applies the highlighted value.
Escape
Closes the date range menu, the filter popover or the detail panel, and returns focus to what opened it.

Accessibility

  • KPIs are a tablist with aria-selected and roving tabindex; the chart is their tabpanel, role="img" with instructions, and the inspected day is announced through a status region.
  • The date range is Arc's dropdown menu with a check on the current range; the filter popover is Arc's popover holding a combobox with aria-activedescendant over a listbox; filter chips are buttons named "Remove filter: Source is Google". Compare is Arc's switch.
  • Saved views are buttons named with their filters and range, and the open one carries aria-current. The realtime count is a polite live region.
  • Table headers are sort buttons with aria-sort. The open row carries aria-current, and deltas carry a text direction, not only colour.
  • The detail panel is a labelled complementary region. Escape and the close button return focus to the row; Export and Copy confirm through polite live regions.

Motion

  • KPI values, the detail figure and the online count roll on Arc's animated counter; row counts count with tabular numerals; bars rescale on a short CSS transition.
  • The selected KPI and the open saved view take a calm fill in place, never travelling between items; card switchers use Arc's segmented control.
  • The chart crossfades when the range, metric, site or filters change, and morphs in place when Compare rescales the axis.
  • The detail panel slides 16px in from the right over the page, so nothing beneath it reflows; switching rows crossfades its content once.
  • Menus and the filter popover use Arc's own enter and exit; buttons are Arc's Button (press to 0.97, label crossfade) while menu triggers answer with colour only. Export confirms inside a reserved width, so nothing shifts. Reduced motion makes every change immediate.

Responsive behavior

  • The shell handles the frame: the sidebar becomes a sheet below 900px and the page goes edge to edge below 600px.
  • The page adapts to the screen-main container: three breakdown columns, then two below 1080px and one below 640px. Tables drop signups, then duration and page views, then change and bounce rate as the column narrows.
  • Below 860px the KPI strip scrolls sideways with edge fades; below 760px the header buttons shrink to icons and a short range label. At phone widths the chart is 180px tall and the detail panel covers the page.
  • The page scrolls inside the frame with hidden scrollbars and edge fades; the screen itself never scrolls.

Performance

  • Hand-built SVG charts with monotone cubic paths, no charting library: up to 90 daily points.
  • All aggregation runs over an in-memory 200 day series and is memoised on site, filters and range. The live count updates every 4 seconds.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as a full analytics product screen. Replace metrics-dashboard-data.ts with your analytics source: the screen reads sites, rows per dimension, a daily series and goals from it.
  • Filters OR values within a dimension and AND across dimensions; the sample data reshapes every figure and breakdown from them, and cities follow a country filter.
  • Export downloads a real CSV of what the page shows. Copy uses the clipboard. Saved views, the account toggles and the realtime count are local state.
  • The detail panel floats inside the page instead of using the shell's docked rightPanel, so opening it never shifts the dashboard.
  • For a single explorable chart, prefer metric-explorer or revenue-explorer.
/components/screens/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.
NextMarket terminal
Arc · 14 screensllms.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