Skip to content

A KPI/stat display card for dashboards. Shows a label, main value, optional trend indicator, and description.

atlas-stat-card

Examples

KPIs

A label, a value, and an optional trend and description.

Revenue
€45,231
+20.1% from last month
Customers
2,350
+180 from last month
Churn
2.4%
-0.3% from last month

trend is up , down or neutral and colours trendValue ; the text itself states the change, so colour is not the only cue. Leave trend out for a plain figure.

Sign-ups
1,204
+12% vs last week
Refunds
18
-4 vs last week
Response time
1.8 h
±0 vs last week
Open tickets
37

API

Generated from the library source, so it always matches the code.

AtlasStatCardComponent atlas-stat-card

InputTypeDefaultDescription
label requiredstring— Label/title for the stat
value requiredstring— Main value to display
description string | undefinedundefined Optional description text (e.g. "from last month")
icon string | undefinedundefined Optional icon name displayed in the top-right corner
trend StatTrend | undefinedundefined Trend direction
trendValue string | undefinedundefined Trend value text (e.g. "+12%", "-3.2%")
class string'' Additional CSS classes

Types

StatTrend

type StatTrend = 'up' | 'down' | 'neutral'