EEnterUI
DocsComponentsThemesDonation
Get Started
  • Component onboarding
    • Card
    • MetricCard
    • ChartCard
    • Badge
    • StatusIndicator
    • Rating
EnterUIDocsFoundationsSurfaces and IndicatorsMetricCard
FoundationsUpdated 6 May 2026

MetricCard

Compact dashboard tile that surfaces a key product metric with delta, trend, and supporting copy.

MetricCard renders a single product metric with its label, value, optional delta, trend tone, and supporting description. Use it for KPI dashboards, billing summaries, and any quick-glance numeric surface.

#Default usage

Revenue

Pair a metric value with a delta and supporting context.

Revenue
$42.8K
+12.4%Compared to last month
Code
<MetricCard
  delta="+12.4%"
  description="Compared to last month"
  label="Revenue"
  trend="up"
  value="$42.8K"
/>

#Import

Code
import { MetricCard } from "@froggdesign/enter-ui-react";

#Variants

Trends

Trend tone styles the delta only — the value stays neutral.

MRR
$18.2K
+8.1%Healthy
Churn
2.4%
-3.2%Watch
DAU
9,820
0.0%No change

#Accessibility

MetricCard renders a semantic div with the value as a strong. Pair it with a heading or section landmark when the metric is the primary content of a region, and keep label short so screen readers announce it before the value.

#API

  • label, value, delta, description are all optional ReactNodes.
  • trend: up, down, or neutral (default).
  • icon: optional leading icon rendered in the head row.
  • Extends div props.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousCard
NextChartCard

On this page

  1. Default usage
  2. Import
  3. Variants
  4. Accessibility
  5. API
  6. Styling