KPI tile: label, value, directional delta (arrow + color) and a supporting hint.

npx slipstream-ui@latest add metric-card
KPI row

Revenue

$12,480

+12.4%vs last month

Active students

318

+6this week

Churn

2.1%

-0.4vs last month

Props

PropTypeDefaultDescription
labelstringrequiredMetric name.
valuestring | numberrequiredPrimary value, rendered tabular.
deltastring—Signed change, e.g. +12.4%.
trend'up' | 'down' | 'flat''flat'Delta direction color + arrow glyph.
hintstring—Comparison context (vs last month).
iconReactNode—Decorative icon.

Accessibility

  • Deltas always render ↑/↓/→ glyphs, so direction is never color-only.
  • Values use tabular-nums so columns align.

Browser support

BrowserTested versions
Chrome111+ (Mar 2023)
Edge111+ (Mar 2023)
Firefox121+ (Dec 2023)
Safari17.2+ — macOS & iOS (Dec 2023)

Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.

Was this page helpful?