Browse by type

react-window is a component library that helps render large lists of data quickly and without the performance problems that often go along with rendering a lot of data. It's used in a lot of places, from React DevTools to the Replay browser.
If you like this project there are several ways to support it:
The following wonderful companies and individuals have sponsored react-window:
Begin by installing the library from NPM:
npm install react-window
TypeScript definitions are included within the published dist folder
Frequently asked questions can be found here.
Documentation for this project is available at react-window.vercel.app.
Renders data with many rows and columns.
ℹ️ Unlike List rows, Grid cell sizes must be known ahead of time.
Either static sizes or something that can be derived (from the data in CellProps) without rendering.
| Name | Description |
|---|---|
| cellComponent |
React component responsible for rendering a cell.
This component will receive columnIndex, rowIndex, and style props by default.
Additionally it will receive prop values passed to cellProps.
ℹ️ The prop types for this component are exported as CellComponentProps
|
| cellProps |
Additional props to be passed to the cell-rendering component.
Grid will automatically re-render cells when values in this object change.
⚠️ This object must not contain ariaAttributes, columnIndex, rowIndex, or style props.
|
| columnCount | Number of columns to be rendered in the grid. |
| columnWidth |
Column width; the following formats are supported:
defaultWidth (or a pixel width via the style prop) is specified.
|
| rowCount | Number of rows to be rendered in the grid. |
| rowHeight |
Row height; the following formats are supported:
defaultHeight (or a pixel height via the style prop) is specified.
|
| Name | Description |
|---|---|
| className | CSS class name. |
| dir |
Indicates the directionality of grid cells.
ℹ️ The directionality of an ancestor element can't be detected during server rendering;
specify this prop explicitly for server-rendered right-to-left grids.
ℹ️ See HTML dir global attribute for more information.
|
| style | Optional CSS properties. The grid of cells will fill the height and width |
browse all types & interfaces →
$ claude mcp add react-window \
-- python -m otcore.mcp_server <graph>