React tables libraries

Updated Nov 2026

React table libraries display rows of data in a grid with sorting, filtering, and pagination. A headless library manages table state and row processing while the application supplies the markup and styles. These libraries let admin panels, dashboards, and internal tools show and edit large datasets.

Popularity

TanStack Table has the most monthly downloads in this comparison, at 136.5M.

LibraryMonthly downloadsStarsLast releaseLicense
TanStack Table
136.5M
28.6KOct 2026MIT
MUI X Data Grid
16.3M
5.9KNov 2026MIT
AG Grid
15.3M
15.7KNov 2026MIT
React Virtualized
8.7M
27.1KNov 2026MIT
@rc-component/table
7.7M
1.4KAug 2026MIT
react-data-grid
3.1M
7.7KNov 2026MIT
Material React Table
1.8M
1.8KMar 2025MIT
React Data Table Component
1.2M
2.2KNov 2026Apache-2.0
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

TanStack Table

Manages table state and row processing while the application builds the interface.

Downloads / mo
136.5M
Stars
28.6K
Last release
9.3.1
License
MIT

Strengths

  • Leaves markup to the application. Build the table interface with custom markup and a design system.
  • Adds features individually. Register sorting, filtering, and pagination features only when needed.

Limitations

  • Table interface needs implementation. Provide markup, styles, and interactive controls alongside the table logic.

Quickstart

From quick-start.md
$ npm install @tanstack/react-table@9.3.1
'use client';
import React from 'react';
import { tableFeatures, useTable, type ColumnDef } from '@tanstack/react-table';

type Person = { firstName: string };
const data: Person[] = [{ firstName: 'Tanner' }];
const features = tableFeatures({});
const columns: ColumnDef<typeof features, Person>[] = [{ accessorKey: 'firstName', header: 'First name' }];

export default function PersonTable() {
  const table = useTable({ features, columns, data });
  return (
    <table><tbody>
      {table.getRowModel().rows.map((row) => (
        <tr key={row.id}>{row.getAllCells().map((cell) => (
          <td key={cell.id}><table.FlexRender cell={cell} /></td>
        ))}</tr>
      ))}
    </tbody></table>
  );
}

TanStack Table examples

From open-source projects on GitHub

MUI X Data Grid

Provides a styled React data grid with sorting, filtering, and editing.

Downloads / mo
16.3M
Stars
5.9K
Last release
9.18.0
License
MIT

Strengths

  • Includes cell and row editing. Enable editing by column and choose cell or row edit mode.
  • Supports server-side pagination. Fetch pages on demand rather than loading the entire dataset.

Limitations

  • Community page sizes are capped. Larger page sizes require the Pro plan or above.
  • Multiple filters require paid plans. The Community grid applies one filter criterion at a time.

Quickstart

From quickstart.md
$ npm install @mui/x-data-grid @mui/material @emotion/react @emotion/styled
import type { GridRowsProp, GridColDef } from '@mui/x-data-grid';
import { DataGrid } from '@mui/x-data-grid';

const rows: GridRowsProp = [
  { id: 1, name: 'Data Grid', description: 'the Community version' },
  { id: 2, name: 'Data Grid Pro', description: 'the Pro version' },
  { id: 3, name: 'Data Grid Premium', description: 'the Premium version' },
];

const columns: GridColDef[] = [
  { field: 'name', headerName: 'Product Name', width: 200, rowHeader: true },
  { field: 'description', headerName: 'Description', width: 300 },
];

export default function RenderComponent() {
  return (
    <div style={{ height: 300, width: '100%' }}>
      <DataGrid rows={rows} columns={columns} />
    </div>
  );
}

MUI X Data Grid examples

From open-source projects on GitHub

Provides a React data grid with Community and Enterprise feature modules.

Downloads / mo
15.3M
Stars
15.7K
Last release
36.3.0
License
MIT

Strengths

  • Includes core grid features. Use sorting, filtering, and pagination with the Community edition.
  • Exports CSV through the API. Export grid data as CSV without requiring the Enterprise context menu.

Limitations

  • Advanced modules require commercial licensing. Enterprise modules require an AG Grid Enterprise license in production.
  • CSV formulas need export handling. Transform formula-like cell values before opening exported CSV in spreadsheets.

Quickstart

From getting-started.md
$ npm install ag-grid-react@36.3.0 ag-grid-community@36.3.0
'use client';
import React from 'react';
import { AllCommunityModule } from 'ag-grid-community';
import { AgGridProvider, AgGridReact } from 'ag-grid-react';

const rowData = [{ make: 'Tesla', model: 'Model Y' }];
const columnDefs = [{ field: 'make' }, { field: 'model' }];

export default function GridExample() {
  return (
    <AgGridProvider modules={[AllCommunityModule]}>
      <div style={{ width: '100%', height: 400 }}>
        <AgGridReact rowData={rowData} columnDefs={columnDefs} />
      </div>
    </AgGridProvider>
  );
}

AG Grid examples

From open-source projects on GitHub

React Virtualized

Renders large scrollable lists and tabular data efficiently in React.

Downloads / mo
8.7M
Stars
27.1K
Last release
10.0.1
License
MIT

Quickstart

From TableBasic.tsx
$ npm install react-virtualized@10.0.1 react@^19.0.0 react-dom@^19.0.0
import { Column, Table } from 'react-virtualized';
import 'react-virtualized/styles.css';

const rows = [
  { name: 'Avery', role: 'Engineer' },
  { name: 'Robin', role: 'Designer' },
];

export default function App() {
  return (
    <Table width={400} height={240} headerHeight={32} rowHeight={32}
      rowCount={rows.length} rowGetter={({ index }) => rows[index]}>
      <Column dataKey="name" label="Name" width={160} />
      <Column dataKey="role" label="Role" width={240} />
    </Table>
  );
}

@rc-component/table

Provides a data table component for React.

Downloads / mo
7.7M
Stars
1.4K
Last release
1.12.0
License
MIT

Quickstart

From README.md
$ npm install @rc-component/table
import Table from '@rc-component/table';
import type { ColumnsType } from '@rc-component/table';

interface User {
  key: string;
  name: string;
  age: number;
  address: string;
}

const columns: ColumnsType<User> = [
  { title: 'Name', dataIndex: 'name', key: 'name', width: 120 },
  { title: 'Age', dataIndex: 'age', key: 'age', width: 80 },
  { title: 'Address', dataIndex: 'address', key: 'address' },
];

const data: User[] = [
  { key: '1', name: 'Jack', age: 28, address: 'Somewhere' },
  { key: '2', name: 'Rose', age: 36, address: 'Somewhere else' },
];

export default () => <Table columns={columns} data={data} />;

@rc-component/table examples

From open-source projects on GitHub

react-data-grid

Provides a customizable React grid with virtualized rows and columns.

Downloads / mo
3.1M
Stars
7.7K
Last release
7.0.0-beta.64
License
MIT

Strengths

  • Virtualizes rows and columns. Render visible rows and columns instead of the whole grid.
  • Exposes controlled row updates. Receive updated rows through onRowsChange and retain application-owned state.

Limitations

  • Row sorting belongs to application. Apply sorting to the rows when the grid sort state changes.
  • Current release is a prerelease. The latest package version is marked beta.

Quickstart

From README.md
$ npm install react-data-grid
import 'react-data-grid/lib/styles.css';

import { DataGrid, type Column } from 'react-data-grid';

interface Row {
  id: number;
  title: string;
}

const columns: readonly Column<Row>[] = [
  { key: 'id', name: 'ID' },
  { key: 'title', name: 'Title' }
];

const rows: readonly Row[] = [
  { id: 0, title: 'Example' },
  { id: 1, title: 'Demo' }
];

function App() {
  return <DataGrid columns={columns} rows={rows} />;
}

react-data-grid examples

From open-source projects on GitHub

Material React Table

Implements TanStack React Table on Material UI, written in TypeScript.

Downloads / mo
1.8M
Stars
1.8K
Last release
3.2.1
License
MIT

Quickstart

From usage.mdx
$ npm install material-react-table@3.2.1 react@^19.0.0 react-dom@^19.0.0 @mui/material@^6.0.0 @mui/icons-material@^6.0.0 @mui/x-date-pickers@^7.15.0 @emotion/react@^11.13.0 @emotion/styled@^11.13.0
import {
  MaterialReactTable,
  useMaterialReactTable,
  type MRT_ColumnDef,
} from 'material-react-table';

type Person = { name: string; age: number };
const data: Person[] = [{ name: 'Avery', age: 30 }, { name: 'Robin', age: 25 }];
const columns: MRT_ColumnDef<Person>[] = [
  { accessorKey: 'name', header: 'Name' },
  { accessorKey: 'age', header: 'Age' },
];

export default function App() {
  const table = useMaterialReactTable({ columns, data });
  return <MaterialReactTable table={table} />;
}

Material React Table examples

From open-source projects on GitHub

React Data Table Component

Provides a feature-rich React data table.

Downloads / mo
1.2M
Stars
2.2K
Last release
8.13.0
License
Apache-2.0

Quickstart

From README.md
$ npm install react-data-table-component
import DataTable from 'react-data-table-component';

const columns = [
  { name: 'Name', selector: row => row.name, sortable: true },
  { name: 'Role', selector: row => row.role },
  { name: 'Salary', selector: row => row.salary, right: true },
];

const data = [
  { id: 1, name: 'Aria Chen', role: 'Engineering Lead', salary: 155000 },
  { id: 2, name: 'Marcus Webb', role: 'Product Manager', salary: 132000 },
];

export default function App() {
  return <DataTable columns={columns} data={data} pagination />;
}

React Data Table Component examples

From open-source projects on GitHub

FAQ

TanStack Table suits tables with custom markup over a headless state engine. MUI X Data Grid suits styled Material Design grids with built-in editing. AG Grid suits feature-rich grids with Community and Enterprise modules.

TanStack Table manages table state and row processing while the application builds the interface. Sorting, filtering, and pagination are registered as individual features.

react-data-grid provides a customizable React grid with virtualized rows and columns. The application sorts its rows when the grid sort state changes.

Cell and row editing and server-side pagination. Larger page sizes and multiple filter criteria require paid plans of MUI X Data Grid.

TanStack Table suits teams that render their own table markup. AG Grid suits teams that want a ready-made grid, with Enterprise modules under a commercial license.

For coding agents

Found your tables library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official