Engram

Stat card grid

component

A 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-grid

Registry 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

PropTypeDefaultDescription
tabsReactNodeA control rendered above the grid — typically a time-span .
minnumber140Min card width for the responsive auto-fill grid (px). Default 140.
gapnumber8Gap between cards (px). Default 8.
children*ReactNodeThe 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.