Search for a command to run...
Active Users
Revenue
Churn Rate
Avg. Session
Used as the building block for analytics dashboards and AI-generated summaries — quick at-a-glance KPIs with optional up/down/neutral trend.
w-fit with sensible minimum width for grid layoutsnpx shadcn@latest add https://ui.heygaia.io/r/stat-row.jsonimport { StatRow } from "@/components/ui/stat-row";
export default function Example() {
return (
<StatRow
title="Active Users"
value="12,480"
trend="up"
trendLabel="+12.4%"
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | - | Label for the KPI |
| value | string | number | - | The primary value to display |
| unit | string | - | Optional unit suffix (e.g. "%", "K") |
| trend | "up" | "down" | "neutral" | - | Direction of the trend |
| trendLabel | string | - | Text shown next to the trend icon |