Data display Data Table

Components

Data Table

TanStack Table drives the model; the Table component renders it. Sorting built in.

Sortable

TitleStatus
hello-world.mdpublished1,240
building-mrkdwn.mdpublished3,180
ligatures-deep-dive.mddraft860
introducing-buena-mono.mdpublished2,470
618-unit-grid.mddraft540

TanStack Table drives the model — sorting, filtering, pagination — while the shadcn Table renders it. Click the Words header to sort.

Full table

TitleStatusWords
hello-world.mdpublished1,240
building-mrkdwn.mdpublished3,180
ligatures-deep-dive.mddraft860
0 of 7 selected

The same model wired for a full workflow: a filter input (Filtering), a Columns menu toggling column.getIsVisible() (Visibility), a checkbox column bound to rowSelection (Row Selection), a per-row menu (Row Actions), and Previous/Next controls over getPaginationRowModel (Pagination).

Markdown for agents: /design/data-table.md · spec: /design.md