Data table
A table you can sort, filter, page through and select rows in (TanStack Table).
A table you can sort, filter, page through and select rows in (TanStack Table).
It uses Button, Checkbox, Dropdown menu, Input and Table, which the command adds for you.
npx shadcn@latest add table button checkbox dropdown-menu input
npm install @tanstack/react-table lucide-react
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.
A data table is built from Table, Button, Checkbox, Dropdown menu and Input; add those first.