shadcn data table on TanStack Table v9: sorting, filters, row selection and server pagination

shadcn's data table guide now builds on TanStack Table v9, so most v8 snippets you'll find (useReactTable, getCoreRowModel) no longer compile against the current package. This page builds the same kind of table in the Next.js App Router with the v9 API: typed columns, sorting, a filter box, column visibility, row selection and a row actions menu, then a second version that pages on the server through searchParams. At the end, the ⌘K dashboard that can sit around it, and what that piece does not do.

Command-K Dashboard, preview

By buying you agree to the Terms.

Ready forCursorv0Lovableshadcn CLI

Full product pageReact · Tailwind · TypeScript