Slickgrid components made available in React
npm install slickgrid-react
Slickgrid-React





Available in Stackblitz (Codeflow) below, this can also be used to provide an issue repro.

Refer to the Docs - Quick Start and/or clone the Slickgrid-React-Demos repository. Please consult all documentation before opening new issues, also consider asking installation and/or general questions on Stack Overflow unless you think there's a bug with the library.
#### Install it
``sh`
npm install slickgrid-react
#### Basic Usage
`tsx
import { type Column, type GridOption, SlickgridReact } from 'slickgrid-react';
interface User {
firstName: string;
lastName: string;
age: number;
}
export default function Example() {
const [columns, setColumns] = useState
const [options, setOptions] = useState
const [dataset, setDataset] = useState
useEffect(() => defineGrid());
function defineGrid() {
setColumns([
{ id: 'firstName', name: 'First Name', field: 'firstName', sortable: true },
{ id: 'lastName', name: 'Last Name', field: 'lastName', sortable: true },
{ id: 'age', name: 'Age', field: 'age', type: 'number', sortable: true },
]);
setOptions({ /.../ }); // optional grid options
}
function getData() {
return [
{ id: 1, firstName: 'John', lastName: 'Doe', age: 20 },
{ id: 2, firstName: 'Jane', lastName: 'Smith', age: 21 },
];
}
return !options ? null : (
options={options}
dataset={dataset}
/>
);
}
`
> [!WARNING]
> This project does not work well with React.StrictMode, so please make sure to disable it to avoid getting mad at the library :P
> Note Please be aware that only the latest major version of Slickgrid-React will be supported and receive bug fixes.
| Slickgrid-React | React | Migration Guide | Notes | Date |
|:---------------:| --------- | --------------- | ----- | ---- |
| 9.x | React 19+ | Migration 9.x | ESM-Only, requires Slickgrid-Universal 9.x | 2025-05-10 |
| 5.x | React 18+ | Migration 5.x | Modern UI / Dark Mode, requires Slickgrid-Universal 5.x | 2024-05-10 |
| 4.x | | Migration 4.x | merge SlickGrid into Slickgrid-Universal,
requires Slickgrid-Universal 4.x | 2023-12-15 |
| 3.x | | Migration 3.x | removal of jQuery (now uses browser native code),
requires Slickgrid-Universal 3.x | 2023-05-29 |
| 2.x | React 18+ | Migration 2.x | removal of jQueryUI, requires Slickgrid-Universal 2.x | 2022-12-08 |
Multiple styling themes are available
- Default (UI agnostic)
- Bootstrap (see all Slickgrid-React live demos)
- Material (see Slickgrid-Universal)
- Salesforce (see Slickgrid-Universal)
Also note that all of these themes also have Dark Theme equivalent and even though Bootstrap is often used for live demos, it does work as well with any other UI framework like Bulma, Material, ...
works with all Bootstrap` versions, you can see a demo of each one below. It also works well with any other frameworks like Material or Bulma and there are also couple of extra styling themes based on Material & Salesforce which are also available. You can also use different SVG icons, you may want to look at the Docs - SVG Icons#### Working Demos
For a complete set of working demos (40+ examples), we strongly suggest you to clone the Slickgrid-React Demos repository (instructions are provided inside it). The repo provides multiple examples and are updated every time a new release is out, so it is updated frequently and is used as the GitHub live demo page.