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.
| Name | Description |
|---|---|
| rowComponent |
React component responsible for rendering a row.
This component will receive an index and style prop by default.
Additionally it will receive prop values passed to rowProps.
ℹ️ Spread ariaAttributes onto the row element; they identify it as a row (e.g. so that dynamic row heights are measured reliably)
ℹ️ The prop types for this component are exported as RowComponentProps
|
| rowCount | Number of items to be rendered in the list. |
| rowHeight |
Row height; the following formats are supported:
defaultHeight (or a pixel height via the style prop) is specified.
⚠️ Dynamic row heights are not as efficient as predetermined sizes.
It's recommended to provide your own height values if they can be determined ahead of time.
|
| rowProps |
Additional props to be passed to the row-rendering component.
List will automatically re-render rows when values in this object change.
⚠️ This object must not contain ariaAttributes, index, or style props.
|
| Name | Description |
|---|---|
| className | CSS class name. |
| style | Optional CSS properties. The list of rows will fill the height defined by this style. |
| children | Additional content to be rendered within the list (above rows). This property can be used to render things like overlays or tooltips. |
| defaultHeight |
Default height of list (in pixels) for initial render, before its actual height has been measured.
ℹ️ Lists can't be measured during server rendering, so this value determines how many rows are server rendered.
It's recommended to set this to the expected height of the list (or to specify a pixel height via the style prop).
|
| defaultScrollOffset | Initial scroll offset (in pixels) of the list. This value is only applied |
browse all types & interfaces →
$ claude mcp add react-window \
-- python -m otcore.mcp_server <graph>