Stat card grid
componentA responsive grid of StatCards with an optional `tabs` slot above for a time-span switch (Daily / Weekly / All-time).
Install
npx shadcn@latest add @engram/stat-card-gridRegistry item: /r/stat-card-grid.json — the machine-readable definition agents install from.
Example
K/D
1.84▲ 12%
Win rate
58%▲ 4%
Kills
2,910▼ 130
Efficiency
2.41
Props
| Prop | Type | Default | Description |
|---|---|---|---|
tabs | ReactNode | — | A control rendered above the grid — typically a time-span . |
min | number | 140 | Min card width for the responsive auto-fill grid (px). Default 140. |
gap | number | 8 | Gap between cards (px). Default 8. |
children* | ReactNode | — | The s. |
Own the code: shadcn add copies this component's source into your repo to read and edit directly. Extend without forking — edit the source, use asChild to swap the element, or pass the typed annotations prop for curated data.