Data Table
- from @hirael
TanStack-powered data table: faceted, text, range and date filters, sortable columns, column visibility, row selection and pagination, with page, sort and filters kept in the URL. One useDataTable hook drives it: pass pageCount to query server-side, or omit it to sort, filter and page a local array in memory. Ships as a folder of composable parts.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @hirael/data-tableLive preview
No live preview has been built for this component yet.
Registry dependencies13
- badge
- button
- calendar
- command
- dropdown-menu
- field
- input
- popover
- select
- separator
- skeleton
- slider
- table
