Docs
Stat
Stat
Displays a statistic with a label.
+20.1% from last month
+180 in the last 24 hours
+19% from last week
Installation
Usage
import { Stat } from "@/components/ui/stat";<Stat>{/* Example usage */}</Stat>Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | - | The class name to apply to the component. |
children | ReactNode | - | The content to display in the component. |