TanStack Table
A strong pick. 1st of 9 tables and data grids.
TanStack Table is a headless library that handles the logic of a table: sorting, filtering, grouping, pagination and selection. It has adapters for about ten frameworks, and you build the UI yourself. Version 9 became stable in August 2026, and the library is the strongest pick for custom-styled tables in a new project today. AG Grid remains the better fit for Excel-like grids that need editing and pivots out of the box.
Best for: Teams that want full control over a table's markup and styling (for example with shadcn/ui or Tailwind) in React, Vue, Solid, Svelte, Angular or Lit.
Scores
Overall8.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
It is the default for headless, custom-styled tables and the most used and fastest-growing project in the category. A new stable v9 and very active upkeep back that up. It stops short of 9 because the full grid features most readers think of (editing, pivots, Excel-style interaction) are left for you to build, and AG Grid does that better. The 2026 supply-chain incident in the same organisation is a second reason.
- npm downloadsLast4Weeks: Far above every peer, and growing faster than the median
- tanstack.com/blog/announcing-tanstack-table-v9: Stable v9 with major improvements
- pkgpulse.com/guides/tanstack-table-vs-ag-grid-vs-react-data-grid-2026: AG Grid preferred for Excel-like needs
GPT-6.2 Sol: 8.4, likely 7.3 to 9.3
TanStack Table is a strong choice when a new project needs custom markup and typed table logic. Regular v9 patches and adoption by shadcn/ui and Supabase Studio support choosing it today. AG Grid is easier to start with when built-in cell editors and keyboard navigation are central. How much of the interface the team must build is the main reason the recommendation varies by project.
- tanstack.com/table/latest/docs/overview: Typed table logic with application-owned rendering and interactions.
- github.com/TanStack/table/blob/main/packages/react-table/CHANGELOG.md: Stable v9 with regular follow-up patches.
- ui.shadcn.com/docs/components/base/data-table: Current v9 integration in a widely used component system.
- github.com/supabase/supabase/blob/master/apps/studio/package.json: Direct adoption by Supabase Studio.
- ag-grid.com/react-data-grid/cell-editing: AG Grid Community supplies typed cell editors.
- ag-grid.com/react-data-grid/accessibility: AG Grid documents built-in navigation and accessibility behavior.
Needed by many6.9
How many developers need a tool for this job?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Sortable and filterable tables show up in most dashboards, admin panels and business web apps. The headless approach and the many framework adapters make it usable well beyond React. Developers who never build data-heavy UI don't need it, which keeps the score below 8.
- tanstack.com/blog/announcing-tanstack-table-v9: Ten framework adapters plus table-core
- github description: Headless tables for React, Vue, Solid and Svelte
GPT-6.2 Sol: 6.8, likely 5.6 to 7.9
Interactive tables are a common need in dashboards and admin tools. The framework-independent core and ten adapters cover much of the web ecosystem. The work of building the interface narrows the audience to teams that value that control, and the share of teams that do is hard to measure.
- tanstack.com/blog/announcing-tanstack-table-v9: Ten framework adapters and a standalone core.
- tanstack.com/table/latest/docs/overview: Applications supply the markup, styles and event handling.
- ui.shadcn.com/docs/components/base/data-table: Example of building within an existing component system.
Helps a lot8.2
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It is the most capable headless table engine available. It covers sorting, filtering, grouping, aggregation, pinning, resizing, and in v9 also cell selection and spanning, with strong TypeScript types and lower memory use. It ships no UI, editing or built-in virtualization, so feature-rich grids take real work. Peers like AG Grid do that job better out of the box.
- tanstack.com/blog/announcing-tanstack-table-v9: v9 features, typed feature APIs, up to 86% less retained heap
- pkgpulse.com/guides/tanstack-table-vs-ag-grid-vs-react-data-grid-2026: Editing must be built yourself; no pivot; virtualization takes setup
- unpkg.com/@tanstack/react-table@9.2.5/skills/migrate-v8-to-v9/SKILL.md: Package ships agent skills for migration
- npm hasTypes: Written in TypeScript
GPT-6.2 Sol: 8.3, likely 7.2 to 9.3
Stable v9.3.1 has a rich typed core, controllable state and runnable examples. Version-specific agent guides help teams work with the new APIs, and projects supply their own editors, keyboard behavior and virtualization. In a reproducible benchmark from a competing grid vendor, a simple TanStack renderer scrolled well at 300,000 rows and used more memory than AG Grid or MUI X at one million rows. Results depend heavily on the renderer and workload.
- tanstack.com/table/latest/docs/overview: Typed features, state control and runnable examples.
- tanstack.com/table/latest/docs/agent-skills: Version-specific guidance for coding agents.
- tanstack.com/table/latest/docs/framework/react/guide/cell-selection: Cell selection exposes APIs for application-owned keyboard handling.
- tanstack.com/table/latest/docs/framework/react/guide/virtualization: Virtual rendering requires a separate library.
- github.com/infinite-table/datagrid-performance-comparison: Reproducible v9.3.1 comparison with a simpler TanStack renderer.
Holds up over time8.1
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The project is very active: 471 commits and 317 releases in the last year, v9 stable since August 2026, and only 50 open issues against 2538 closed. Sponsors such as AG Grid, Vercel and Cloudflare back the TanStack organisation. The core maintainer team for the table is small, and the large v8 to v9 API break shows that upgrades can be costly.
- github commitsLastYear / releasesLastYear: 471 commits, 317 releases
- github openIssues / closedIssues: 50 open vs 2538 closed
- tanstack.com/blog/announcing-tanstack-table-v9: Stable v9 Aug 2026; Kevin Van Cott and Riccardo Perra maintain it
- tanstack.com/table/latest/docs/framework/react/guide/migrating: Breaking renames and required features option
GPT-6.2 Sol: 8.2, likely 7.1 to 9.2
The React package published 11 versions in the past year, and 9.3.1 fixed one stale-render case reported by users. The v9 release describes a second active maintainer and a roadmap for pivoting and advanced filtering. The v8 upgrade changes public APIs despite a temporary migration helper, and the number of people with release authority remains unclear.
- npm versionsLastYear and github commitsLastYear: 11 React package versions and 471 repository commits.
- github.com/TanStack/table/pull/6631: Contributor fix for stale rows under cached React components.
- github.com/TanStack/table/blob/main/packages/react-table/CHANGELOG.md: The React 9.3.1 patch shipped that fix.
- tanstack.com/blog/announcing-tanstack-table-v9: Maintainer handover, additional maintainer and roadmap.
- tanstack.com/table/latest/docs/framework/react/guide/migrating: Breaking API changes and a temporary compatibility hook.
Used widely8.3
How many use it, and is that growing?
Claude Opus 5.5: 9.0, likely 8.0 to 10.0
It had 143M downloads in the last 4 weeks, up from 22M a year earlier. That ratio of 6.4 is well above the 4.1 median, and the total is several times AG Grid's and MUI's. Part of the count comes indirectly through shadcn/ui copies, Material React Table and similar wrappers, so direct choices are fewer than the downloads suggest. The 4954 dependent repositories are close to AG Grid and below MUI X, which is why the range stays open.
- npm downloadsLast4Weeks: 143M, vs 22M a year ago
- dependents: 4954 repos, 480 packages
- github stars: 28.6k stars, the most in the category
GPT-6.2 Sol: 7.5, likely 6.2 to 8.8
Four-week React downloads rose 6.4× year over year, ahead of the 4.1× catalog median. The 4,954 tracked dependent repositories put it near AG Grid and below MUI X, and its 28,595 stars cover the shared project and its adapters. Automated and indirect installs inflate downloads, other adapters fall outside the React count, and social activity in the bundle adds little evidence about direct adoption.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo and medianDownloadsRatio: 143.1 million versus 22.3 million downloads, or 6.4× growth.
- dependents and peers dependentRepos: 4,954 tracked repos versus 5,156 for AG Grid and 14,485 for MUI X.
- github stars and project note: 28,595 stars across the project, with React-only download figures.
- bluesky posts and hackerNews top: Three Bluesky links and two Hacker News stories with zero comments.
Vouched for8.0
Who stands behind it being good?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
Other projects build directly on it: shadcn/ui's data table, Material React Table and Mantine React Table. AG Grid became its official open-source partner. Independent 2026 comparisons recommend it for most custom React tables, and State of React 2025 coverage reports TanStack gaining ground. Survey figures for the table library itself were not found.
- pkgpulse.com/guides/tanstack-table-vs-ag-grid-vs-react-data-grid-2026: Called the right choice for most React apps
- theregister.com/2026/02/17/react_survey_shows_tanstack_gains: State of React 2025: TanStack gains
- tanstack.com/blog/ag-grid-partnership: AG Grid is the official partner
- velt.dev/blog/table-frameworks-web-apps: Independent 2026 comparison of table frameworks
GPT-6.2 Sol: 8.0, likely 6.8 to 9.0
Supabase Studio declares it as a dependency, shadcn/ui teaches the v9 API in its data-table guide, and pREST Studio upgraded to 9.3.1. Outside testing shows that the results depend on how much behavior the app builds around it. The State of React survey measures shadcn/ui use, leaving Table-specific satisfaction and retention uncertain.
- github.com/supabase/supabase/blob/master/apps/studio/package.json: Supabase Studio declares a direct dependency.
- ui.shadcn.com/docs/components/base/data-table: shadcn/ui builds its current data-table guide on v9.
- github.com/prest/prest/pull/1077: pREST Studio updated to 9.3.1.
- github.com/infinite-table/datagrid-performance-comparison: External v9 benchmark documents differences between implementations.
- 2025.stateofreact.com/en-US/libraries: Survey measures use of shadcn/ui, an indirect ecosystem signal.
Safe7.6
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 5.0 to 8.0
It has no known advisories, uses the MIT licence and has only 2 dependencies. The May 2026 Mini Shai-Hulud attack published malicious versions of 42 TanStack router and start packages through poisoned CI. Snyk lists the table packages as clean, but they share the same organisation's release setup. No Scorecard data is available.
- advisories total: 0 advisories
- npm dependencies: 2 dependencies
- snyk.io/blog/tanstack-npm-packages-compromised: @tanstack/table* confirmed clean; router family hit
- infoq.com/news/2026/05/tanstack-supply-chain-attack: CI cache poisoning and OIDC token abuse
- scorecard: No Scorecard data
GPT-6.2 Sol: 8.2, likely 7.0 to 9.3
The React package uses the MIT licence, has two direct dependencies and has zero advisories in the OSV snapshot. The release workflow runs tests before publishing and pins its actions. TanStack reported that the May 2026 Router and Start compromise left Table unaffected, and it hardened publishing across the organization afterward. The missing OpenSSF Scorecard and repository security policy leave some uncertainty about independent checks and vulnerability reporting.
- npm license, npm dependencies, advisories and scorecard: MIT, two direct dependencies, zero OSV advisories and no Scorecard.
- raw.githubusercontent.com/TanStack/table/main/.github/workflows/release.yml: Pinned actions, tests before publication and a release identity token.
- tanstack.com/blog/npm-supply-chain-compromise-postmortem: Postmortem identifies Table as unaffected.
- tanstack.com/blog/incident-followup: Documents npm trusted publishing and organization-wide hardening.
- github.com/TanStack/table/security: GitHub reports no repository security policy.
Good
- Headless design: it never fights your design system, and shadcn/ui's data table is built on it.
- Version 9 adds tree-shakeable opt-in features, stricter types and much lower memory use on large tables.
- One core with about ten official framework adapters, so the table logic carries across stacks.
- Very active upkeep, and the npm package ships migration skills for AI coding agents.
Bad
- You must build the UI, cell editing, copy-paste and virtualization yourself, the last with @tanstack/react-virtual.
- Moving from v8 to v9 means rewriting APIs (useTable, a required features option, row-model factories), and much tutorial and AI training material still shows v8.
- It has no pivot tables, Excel-style editing or built-in server-side row model like AG Grid Enterprise.
- Its publishing setup is shared with the TanStack packages that were hit in the May 2026 CI supply-chain attack, though the table packages were not affected.
The numbers
- npm downloads, 4 weeks
- 143M ×6.4 in a year
- GitHub stars
- 29k
- Commits, 12 months
- 471
- npm version
- 9.3.1 Oct 2026
- Versions, 12 months
- 11
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
The downloads are of the React package only.
Read on 21 November 2026 from GitHub (TanStack/table), npm (@tanstack/react-table), OSV and the OpenSSF Scorecard.
Tables and data grids
- 8.5TanStack Table
- 8.3AG Grid
- 7.7MUI X Data Grid
- 7.2Tabulator
- 6.3React Data Grid
- 6.3RevoGrid
- 4.4Glide Data Grid
- 4.1Material React Table
- 3.8Grid.js