Skip to content

Table

GraphTable

Framed data table with an optional footer row for totals.

Command

pnpm dlx shadcn@latest add <origin>/r/graph-table.json

Research cost

Numeric columns, right-aligned, with a footer total.

[ WHAT THE RESEARCH COST ]
AgentTokensTool callsTime
Inks and paper115,20712016m
Overprint and drift135,21816416m
Naming the patterns186,71611218m
Total437,141396~50m

Taste, explained

Two copy columns. No footer.

[ TASTE, EXPLAINED ]
DecisionReason
ease-out on enterfeels snappier
180ms, not 400msfeels faster, more responsive
springs for gesturesthey carry your momentum
scale 0.97 on pressit makes the UI feel alive
no animation at allyou open it hundreds of times

Props

PropTypeDefaultDescription
titlestringCaption drawn on the top edge of the frame.
headersstring[]Column headings. Sentence case.
rowsReactNode[][]Body cells, one array per row.
footerReactNode[]Optional totals row under a rule.
align("left" | "right")[]left, then rightPer-column alignment. Defaults to left on the first column.
classNamestringPassed to the outer frame.