TanStack Table
UI library · Free
A headless table library providing row models, sorting, filters, and pagination while leaving application markup and design to the developer.
Also known as: tanstack/table; tanstack-table; js-datagrid; typescript-datatable

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Build a table with sorting and filters
- Connect headless sorting/filtering/pagination state to your own markup
Example workflow
A possible workflow; this is not a report of hands-on testing.
Build a table with sorting and filters.
Before you start
- The component's design, states, and data.
- A compatible framework and the project's styles.
Steps
- Describe columns and the row model of the actual dataset.
- Connect headless sorting/filtering/pagination state to your own markup.
- Configure styles and check empty, loading, and error states.
Check your result
- The keyboard, focus indicators, and a screen reader let users complete the action.
- The component works on a narrow screen and with long data values.
Choosing TanStack Table
Build a table with sorting and filters
Choose this when
- Build a table with sorting and filters
- Connect headless sorting/filtering/pagination state to your own markup
Consider alternatives when
- When choosing for this topic, compare TanStack Table with AG Grid. A candidate to compare under the topic: Design systems, UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- When choosing for this topic, compare TanStack Table with Handsontable. A candidate to compare under the topic: Design systems, UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
Requirements
- Choose an adapter, column model, and your own table elements; define which operations run on the server.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
- Support for virtualization does not mean that every table automatically virtualizes rows. Intent skills described in this README are available from version 9; older versions require their own documentation.
Frequently asked questions
What can you use for free in TanStack Table?
Code and local use under MIT.
What additional costs might arise with TanStack Table?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for TanStack Table?
MIT for the code; dependencies have separate licenses.
How do you get started with TanStack Table?
Describe columns and the row model of the actual dataset. Connect headless sorting/filtering/pagination state to your own markup. Configure styles and check empty, loading, and error states.
Who renders rows and controls in TanStack Table?
The headless core provides sorting, filtering, grouping, aggregation, and row selection, while the application controls markup and styles. Bindings exist for React, Preact, Vue, Solid, Svelte, Angular, Ember, Lit, Alpine, and Octane. The version 9 README describes TanStack Intent skills shipped with adapter packages and matching the installed library version.
Related tasks and approaches
- AG Grid
A candidate to compare under the topic: Design systems, UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- Handsontable
A candidate to compare under the topic: Design systems, UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
- TanStack Virtual
A candidate to compare under the topic: Design systems, UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- TanStack Table
- UI
- Development