TA

Table Core

@tanstack/table-core

Headless UI for building powerful tables & datagrids for TS/JS.

Tables
react
vue
solid
svelte
lit
angular
table
table-core
datagrid
tanstack-intent
Stars
28k
Weekly
19M
Open issues
62
Bundle
~15 kB

Installation

npm install @tanstack/table-core

Code example

import { useTableCore } from "@tanstack/table-core";

const rows = [
  { id: 1, name: "Ada", role: "Engineer" },
  { id: 2, name: "Linus", role: "Maintainer" },
];

export function Example() {
  const table = useTableCore({ data: rows, columns: [{ accessorKey: "name" }, { accessorKey: "role" }] });
  return <pre>{JSON.stringify(table, null, 2)}</pre>;
}

Pros & cons

Pros

  • Actively maintained by Tanner Linsley
  • 19M weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~15 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 62 open issues on GitHub

FAQs

Alternatives & similar libraries