Data Grid
- from @mizzle
- by mizzle <https://mizzle.saddy.me>
A spreadsheet-style table on TanStack Table, assembled from the data pieces: toolbar with search and column picker, typed filters, the grid, a selection bar and a pager. Sort, pin, resize, reorder and hide columns from each header; select rows or drag out a range of cells and copy it; edit in place and save or discard the batch. Only the rows on screen are in the page, so three hundred rows cost the same as thirty.
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 @mizzle/data-gridComponent source
No live preview has been built for this component yet.
Registry dependencies5
- @mizzle/data-grid-column-menu
- @mizzle/data-grid-icons
- @mizzle/use-merged-ref
- @mizzle/data-grid-export
- @mizzle/data-grid-features