@objectifthunes/whiteboard
WHITEBOARD DASHBOARD

StatCard

Stat/recap tile: eyebrow title with a status pill, a big value, muted context lines, optional footer actions.


PREVIEW
Tracks
complete
40 / 40

All catalog tracks published

Covers
3 missing
37 / 40

Last upload 2 days ago

Missing: Dune, Tides, Aurora

SOURCE
import { StatCard, FormGrid, ButtonLink } from '@objectifthunes/whiteboard'

<FormGrid cols={2}>
  <StatCard
    title="Tracks"
    pill="complete"
    pillTone="success"
    value="40 / 40"
    sub="All catalog tracks published"
    actions={<ButtonLink href="/tracks" variant="secondary">Browse</ButtonLink>}
  />
  <StatCard title="Covers" pill="3 missing" pillTone="warning" value="37 / 40">
    <MutedText size="xs">Missing: Dune, Tides, Aurora</MutedText>
  </StatCard>
</FormGrid>
NOTES

Omit pill to hide the status pill entirely; pillTonematches Pill's tones (success, warning, danger, default). children is for extra muted lines, like the missing-items list; actions right-aligns a footer row.

The intended pattern: tile a grid of these on the overview page, then repeat the relevant one at the top of each section page so the number follows you in.