Components
All components
Data display

Stat

A severity stat card with a top accent rule and a big tabular number.

Preview

Preview
light
Critical
12
+3 today
Low
208
dark
Critical
12
+3 today
Low
208

Code

<Stat band="critical" value={12} label="Critical" sub="+3 today" />

Import from @/components/ui.

Props

PropTypeDefaultDescription
band"critical" | "high" | "medium" | "low"—Top-rule colour + icon.
valuenumber | string—The headline number.
labelstring—What it counts.
substring—Optional sub-line.

Related