v0.1 public beta early access on GitHub
Home / Components / stat-card

Stat CardiOS

KPI tile with tinted icon disc, count-up AnimatedNumber value, and a delta pill for trends.

$ npx lumioui add stat-card
import { StatCard } from "@/components/ui/stat-card/stat-card";
Props8
value number KPI value — counts up with AnimatedNumber on first view.
label string Caption under the value.
icon? IconName Icon in the tinted disc.
tone? StatCardTone Tint of the icon disc.
format? (n: number) => string Format the value (e.g. currency). Default: locale-formatted round.
delta? number Signed percent change — green arrow up, red arrow down, grey flat.
deltaLabel? string Small note after the label, e.g. "vs last week".
className? string
Stat Cardstat-card.tsx
stat-card/stat-card.tsx open

KPI tile with tinted icon disc, count-up AnimatedNumber value, and a delta pill for trends.