Loading...
Loading...
Loading...
Metric card with label, value, and optional trend badge.
Install
npx bouncekit@latest add statcardImport
import { StatCard } from "@/components/dashboard/stat-card"Total Revenue
Active Users
API Reference
| Prop | Type | Required | Description |
|---|---|---|---|
label | string | yes | Short metric label. |
value | string | yes | Formatted value, e.g. "$4,200". |
trend | "up" | "down" | "neutral" | — | Direction of change. |
trendPercent | number | — | Percentage change shown in the badge. |
Source
src/components/dashboard/stat-card.tsx