Studiov0.6.0

Stat

Tier 1shadcn
Data Display

A metric display showing a label, primary value, and optional trend indicator.

Live Preview

Fund Size

$1.12B

IRR Target

8–20%

Projects

3

Code

import { Stat } from "@regen/ui";

<Stat />

Props Inspector

No configurable props for this component.

Documentation

Use Cases

  • KPI summaries
  • Dashboard metric cards
  • Report highlights

Do

  • Use trend='up'/'down' for directional metrics
  • Keep label under 3 words

Don't

  • Don't show raw numbers without units
  • Don't use for non-numeric data