Table
v0.17.4Dense rows for dashboards with tabular numbers.
Table default
Install
npx shadcn add @syncrobotic/table Also installs: lucide-react, @syncrobotic/cn
Overview
Rows and columns for comparing many records at once, with tabular numbers.
When to use
- Fleet lists, event logs, user lists on wide screens.
Use something else
- Phones, or records with one main line: Grouped list.
- A trend over time: Chart.
More examples
States and real uses. Each example is also a Storybook story and a visual regression test.
Table with status and selected row
Table sortable
Usage rules
- Right-align numbers. Numbers are tabular by default.
Changelog
- 0.17.42026-11-19The scroll cue is a mask on the scrolling box (scrollFadeMask): content fades to whatever is behind, so a grey header no longer gets a light smear and the frame's edge stays whole. The edge and focus ring are drawn on the frame. ScrollFades is deprecated.
- 0.17.32026-11-19A selected row shows a 2 px foreground bar at its start (the fill alone was too faint in dark).
- 0.17.22026-11-19A table that is wider than its card shows a fade on the side that still hides columns, so it reads as scrollable instead of cut off.