React spreadsheet libraries

Updated Nov 2026

React spreadsheet libraries embed an editable grid of cells, with sheets, formulas, and cell editors, in a React app. A spreadsheet component either renders every cell or virtualizes the grid to draw only the visible region. These libraries let business apps and internal tools offer spreadsheet editing inside their own interface.

Popularity

AG Grid has the most monthly downloads in this comparison, at 15.3M, a count that covers all its data grid work.

LibraryMonthly downloadsStarsLast releaseLicense
AG Grid
15.3M
15.7KNov 2026MIT
@mui/x-data-grid-premium
3.3M
5.9KNov 2026SEE LICENSE IN LICENSE
react-data-grid
3.1M
7.7KNov 2026MIT
Univer
2.9M
29.9KNov 2026Apache-2.0
FortuneSheet
1.1M
3.8KNov 2025MIT
React Spreadsheet
728.3K
1.6KMar 2025MIT
SpreadJS React
682.4K
Not on GitHubNov 2026SEE LICENSE IN SPREADJS-EULA.pdf
react-datasheet-grid
466.5K
2.0KMar 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

Provides the React component for AG Grid.

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

Quickstart

From README.md
$ npm install react@^19 react-dom@^19 ag-grid-react@36.3.0 ag-grid-community@36.3.0
import { AllCommunityModule } from "ag-grid-community";
import { AgGridProvider, AgGridReact } from "ag-grid-react";

const rowData = [{ name: "Ada", score: 42 }, { name: "Grace", score: 37 }];
const columnDefs = [{ field: "name" }, { field: "score", editable: true }];

export default function App() {
  return (
    <AgGridProvider modules={[AllCommunityModule]}>
      <div style={{ height: 400 }}>
        <AgGridReact rowData={rowData} columnDefs={columnDefs} />
      </div>
    </AgGridProvider>
  );
}

AG Grid examples

From open-source projects on GitHub

@mui/x-data-grid-premium

Provides the Premium plan edition of the MUI X Data Grid components.

Downloads / mo
3.3M
Stars
5.9K
Last release
9.18.0
License
SEE LICENSE IN LICENSE

Quickstart

From README.md
$ npm install react@^19 react-dom@^19 @mui/material @emotion/react @emotion/styled @mui/x-data-grid-premium@9.18.0
import { DataGridPremium } from "@mui/x-data-grid-premium";

const rows = [{ id: 1, name: "Ada" }, { id: 2, name: "Grace" }];
const columns = [{ field: "name", headerName: "Name", width: 180, editable: true }];

export default function App() {
  return (
    <div style={{ height: 400, width: "100%" }}>
      <DataGridPremium rows={rows} columns={columns} cellSelection />
    </div>
  );
}

react-data-grid

Provides a customizable data grid React component.

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

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

Provides a preset for core Univer Sheets spreadsheet features.

Downloads / mo
2.9M
Stars
29.9K
Last release
1.5.2
License
Apache-2.0

Quickstart

From README.md
$ pnpm add @univerjs/presets @univerjs/preset-sheets-core
import { UniverSheetsCorePreset } from '@univerjs/preset-sheets-core'
import UniverPresetSheetsCoreEnUS from '@univerjs/preset-sheets-core/locales/en-US'
import { createUniver, LocaleType, mergeLocales } from '@univerjs/presets'
import '@univerjs/preset-sheets-core/lib/index.css'

const { univerAPI } = createUniver({
  locale: LocaleType.EN_US,
  locales: {
    [LocaleType.EN_US]: mergeLocales(UniverPresetSheetsCoreEnUS),
  },
  presets: [
    UniverSheetsCorePreset({
      container: 'app',
    }),
  ],
})

univerAPI.createWorkbook({})

Univer examples

From open-source projects on GitHub

FortuneSheet

Embeds a workbook with sheets, formulas, and change notifications.

Downloads / mo
1.1M
Stars
3.8K
Last release
1.0.4
License
MIT

Strengths

  • Emits workbook changes. Use onChange to capture updated sheet data.
  • Reads current workbook sheets. Call getAllSheets through the workbook ref to inspect sheet state.

Limitations

  • Container dimensions must be explicit. Set container width and height so the workbook is visible.
  • Excel exchange needs a plugin. Add the import/export plugin for XLSX files.

Quickstart

From README.md
$ npm install react@^18.2 react-dom@^18.2 @fortune-sheet/react@1.0.4
import { Workbook } from "@fortune-sheet/react";
import "@fortune-sheet/react/dist/index.css";

export default function App() {
  return (
    <div style={{ width: "100%", height: 500 }}>
      <Workbook data={[{ name: "Sheet1" }]} />
    </div>
  );
}

React Spreadsheet

Provides a customizable spreadsheet component with cell data and editor props.

Downloads / mo
728.3K
Stars
1.6K
Last release
0.10.1
License
MIT

Strengths

  • Supports controlled React data. Pass data and onChange to keep values in component state.
  • Replaces cell viewers and editors. Provide DataViewer and DataEditor components for custom cell types.

Limitations

  • Rows are not virtualized. Choose a virtualized grid when offscreen rows must stay unrendered.

Quickstart

From index.js
$ npm install react@^18 react-dom@^18 scheduler react-spreadsheet@0.10.1
import { useState } from "react";
import Spreadsheet from "react-spreadsheet";

export default function App() {
  const [data, setData] = useState([[{ value: "Name" }, { value: "Age" }], [{ value: "Ada" }, { value: 37 }]]);
  return <Spreadsheet data={data} onChange={setData} />;
}

SpreadJS React

Adds React support to Spread.Sheets.

Downloads / mo
682.4K
Last release
19.2.6
License
SEE LICENSE IN SPREADJS-EULA.pdf

Quickstart

From README.md
$ npm install react@^19 react-dom@^19 @mescius/spread-sheets@19.2.6 @mescius/spread-sheets-react@19.2.6
import { SpreadSheets, Worksheet } from "@mescius/spread-sheets-react";
import "@mescius/spread-sheets/styles/gc.spread.sheets.excel2013white.css";

export default function App() {
  return (
    <SpreadSheets hostStyle={{ width: "100%", height: "500px" }}>
      <Worksheet name="Sheet1" />
    </SpreadSheets>
  );
}

react-datasheet-grid

Edits record arrays through a grid with customizable column components.

Downloads / mo
466.5K
Stars
2.0K
Last release
4.11.6
License
MIT

Strengths

  • Edits application row arrays. Bind rows through the value and onChange props.
  • Virtualizes rows and columns. Render the visible region rather than every cell.

Limitations

  • Columns stay fixed after mounting. Use DynamicDataSheetGrid when column definitions must change after mounting.

Quickstart

From simple.tsx
$ npm install react@^18 react-dom@^18 react-datasheet-grid@4.11.6
import 'react-datasheet-grid/dist/style.css'
import React, { useState } from 'react'
import {
  DataSheetGrid,
  checkboxColumn,
  textColumn,
  keyColumn,
} from 'react-datasheet-grid'

export default () => {
  const [data, setData] = useState<any[]>([
    { active: true, firstName: 'Elon', lastName: 'Musk' },
    { active: false, firstName: 'Jeff', lastName: 'Bezos' },
  ])

  return (
    <DataSheetGrid
      value={data}
      onChange={setData}
      columns={[
        { ...keyColumn('active', checkboxColumn), title: 'Active' },
        { ...keyColumn('firstName', textColumn), title: 'First name' },
        { ...keyColumn('lastName', textColumn), title: 'Last name' },
      ]}
    />
  )
}

react-datasheet-grid examples

From open-source projects on GitHub

FAQ

FortuneSheet suits embedded workbooks with sheets and formulas. React Spreadsheet suits small controlled grids with custom cell viewers and editors. react-datasheet-grid suits editing row arrays in a virtualized grid.

AG Grid provides the React component for the AG Grid data grid.

No. Grids that must leave offscreen rows unrendered need a virtualized alternative such as react-datasheet-grid.

Through its import and export plugin. FortuneSheet needs that plugin to exchange XLSX files.

For coding agents

Found your spreadsheet 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