Getting StartedComponentsDesign TokensThemingTheme SynthesizerFrameworksAccessibilityUtilitiesServer RenderingBrowser SupportContributingChangelogApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip
ARC UIARC Radiant Components
v4.9DocsComponentsTokensSynthesizer
Getting StartedFrameworksServer RenderingDesign TokensThemingTheme SynthesizerTypographyUtilitiesAll ComponentsAccessibilityBrowser SupportChangelogContributingStatsApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip

Stat

Numeric statistic display with gradient value and label.

ComponentsStat
datastatic
<arc-stat>

Overview

Stat renders a single key metric as a vertically stacked, center-aligned block. The value is displayed in a large, lightweight font (weight 200) with a blue-to-violet gradient fill and a dual-layer drop-shadow glow, which makes numbers stand out against dark backgrounds. A thin gradient rule sits between the value and its uppercase label. The value font-size uses `clamp(32px, 4.5vw, 48px)` to scale responsively between breakpoints, so it stays readable from mobile to desktop without media queries. The label uses the Tomorrow accent font at a small uppercase size with wide letter-spacing, following the system's standard labeling pattern. Stat also supports an optional trend indicator via the `trend` and `change` props. Setting `trend` to "up", "down", or "neutral" renders a colored arrow below the label, and the `change` prop displays accompanying text (typically a percentage like "+12%"). Up trends render in green, down trends in red, and neutral in muted grey, so direction is clear alongside the headline number. Stat fits landing-page metrics, dashboard KPI rows, and pricing comparison grids. Place several Stats side by side in a flex or grid container to make a metrics row. The exposed CSS parts ("stat", "value", "label", and "trend") allow per-instance styling of colors or sizes.

Guidelines

When to use

  • Place Stats in a row of three or four for a metrics section
  • Use short values like "99.9%", "<50ms", or "24/7"
  • Keep labels to one or two words: they are designed for terse descriptions
  • Pair with arc-section or a flex container to create structured stat rows
  • Use the ::part(value) selector to apply custom gradients for branded metric colors

When not to use

  • Do not use Stat for long text content: it is optimized for short numeric values
  • Do not place a single Stat in isolation; they work best in groups that invite comparison
  • Do not override the font-weight to bold: the light 200 weight is part of the design
  • Do not embed interactive elements inside the value or label props; they render as plain text spans

Features

  • `size` (sm, md, lg) and `plain` for a quiet stat in a dense strip of vitals
  • Gradient-clipped value text with blue-to-violet fill and dual drop-shadow glow
  • Responsive font-size using clamp() that scales from 32px to 48px
  • Decorative gradient rule separator between value and label
  • Uppercase Tomorrow-font label with wide letter-spacing
  • Four exposed CSS parts (stat, value, label, trend) for external style overrides
  • Optional trend indicator (up/down/neutral arrow with change text) for at-a-glance direction
  • Light font weight (200) for the numeric display
  • Center-aligned vertical layout with configurable padding via design tokens

Preview

Usage

<arc-stat value="99.9%" label="Uptime"></arc-stat>
<arc-stat value="<50ms" label="Response Time"></arc-stat>
<arc-stat value="24/7" label="Support"></arc-stat>

API

valuestring''
The stat value (e.g. "99%")
labelstring''
Label below the value
trend'' | 'up' | 'down' | 'neutral'''
Shows a trend indicator arrow below the label. Empty (the default) shows none; an unrecognised value falls back to empty rather than rendering an uncoloured dash that no :host([trend=...]) rule matches.
changestring''
Text displayed next to the trend arrow, typically a percentage like '+12%' or '-3.5%'.
size'sm' | 'md' | 'lg''md'
Scale of the whole stat. md is the display size; sm is compact, for a strip of vitals beside other content; lg is for a hero figure.
plainbooleanfalse
Draws the value in the text colour, without the accent gradient, glow and rule, so a stat can sit in a dense layout without competing with it.

See Also