Back to components
Data Display

Data Table

A compact admin table with selection, row actions, badges, avatars, and pagination.

Preview
This is the same source that shadcn installs from the generated JSON.
Members
A compact table for admin lists, ownership reviews, and account pages.
3 selected
MemberRoleStatusPlanLast activeOpen row actions
AB
Avery Brooksavery@example.com
OwnerActivePro2m ago
MP
Mina Parkmina@example.com
DesignerInvitedTeam1h ago
NC
Noah Chennoah@example.com
EngineerActiveProYesterday
Install
After building the registry and starting the dev server, run this command in a consuming project.
installpnpm dlx shadcn@latest add http://localhost:3000/r/data-table.json
Source and dependencies
Confirm the source path, registry dependencies, and npm dependencies before installing.
Source pathregistry/default/data-table/data-table.tsx
Registry dependencies
avatarbadgebuttoncardcheckboxdropdown-menupaginationtable
NPM dependencies
lucide-react