table README

The project's README from github.com/TanStack/table. As one markdown file: README.md.

TanStack Table

npm downloads github stars bundle size
semantic-release Best of JS Follow @TanStack

Become a Sponsor!

TanStack Table

[!NOTE] You may know TanStack Table by the adapter names:

A headless table library for building powerful datagrids with full control over markup, styles, and behavior.

Read the Docs →

Using an AI Coding Agent?

TanStack Table ships TanStack Intent skills inside each adapter package. After installing the library, run:

npx @tanstack/intent@latest install

to add skill-loading guidance for your agent (Claude Code, Cursor, Copilot, etc.). The same CLI also exposes intent list to browse available skills and intent load <skill> to print one for inspection. Skills are versioned with the library — your agent gets guidance that matches the version of @tanstack/<framework>-table you installed. Only available for v9 and above.

Get Involved

Partners

CodeRabbit Cloudflare AG Grid
Table & you?

We're looking for TanStack Table Partners to join our mission! Partner with us to push the boundaries of TanStack Table and build amazing things together.

LET'S CHAT

Explore the TanStack Ecosystem

… and more at TanStack.com »

table (TanStack/table)

Searching Database…

28.5K ·GitHub
这是什么?TanStack Table 是一个无头(headless)表格库,用于在 TypeScript 和 JavaScript 中构建功能强大的数据表格。你可能更熟悉它的适配器名字——React Table、Vue Table、Solid Table、Svelte Table。
表格是「无头的」(headless)是什么意思?它提供的是逻辑而不是界面:一个与框架无关的核心负责表格的状态和行为,界面、组件和样式由你自己提供,所以结构和外观 100% 由你掌控。
我该怎么把它加到项目里?从 npm 安装适配你框架的适配器——React 用的是 @tanstack/react-table——然后用它的 hooks 和选项组装你的表格,界面代码自己来写。
它能配合哪些框架使用?围绕同一个共享核心,有 React、Preact、Solid、Vue、Svelte、Angular、Ember、Lit、Alpine 和 Octane 的适配器。你按自己的技术栈选对应的包,比如 @tanstack/react-table。
表格特别大的时候它扛得住吗?可以——它明确主打轻量、可虚拟化、对服务端友好,所以大型数据集通常搭配一个虚拟化工具来处理。虚拟化本身并不内置。
我听说过 React Table,那是另一个项目吗?不是——React Table 就是 TanStack Table 面向 React 的名字。每个绑定都以各自的 Table 包发布,共用同一个核心,这也是为什么 README 会通过那一串名字来做自我介绍。
和现成的表格组件相比,为什么要选无头表格?代价是前期投入:你需要自己写结构、样式和组件外观,而不是直接套用一个带样式的现成表格。换来的是界面上没有任何东西被锁死,做完全自定义的设计依然轻松。
这个项目成熟吗?它从 2016 年就开始了,GitHub 上大约有 28.5k 颗星,处在更大的 TanStack 生态中,旁边还有 Query、Router、Form 和 Virtual。
Creator
TanStack
Size
54.5 MB
Stars
28.5K
Age
9y
Commits · 90 Days