Data table
adire/data-tableTabular data in a real table: a caption that names it (hidden by default — a caption is the table's accessible name, not a title), headers scoped to their column, aria-sort on the sorted one, an opt-in row-header column, and a real tfoot for totals. It never sorts and never selects: onSortChange cycles unsorted → ascending → descending → unsorted and onSelectionChange reports intent, so a server-paginated table sorts on the server rather than reordering one page. Selection carries select-all with an indeterminate state, an announced count, and a type that requires a per-row label. rowHref make
Install it
npx shadcn@latest add https://raw.githubusercontent.com/Timonwa/adire-ui/main/r/data-table.jsonWhat it pulls in
Other registry items
Files it writes
More from adire
All 97 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | adire | Components | Unverified | no deps | |
| Alertalert | adire | Components | Unverified | no deps | |
| Announcement bannerannouncement-banner | adire | Components | Unverified | no deps | |
| Avataravatar | adire | Components | Unverified | no deps | |
| Avatar groupavatar-group | adire | Components | Unverified | no deps | |
| Badgebadge | adire | Components | Unverified | no deps | |
| Breadcrumbsbreadcrumbs | adire | Components | Unverified | no deps | |
| Bullet listbullet-list | adire | Components | Unverified | no deps |
