What is React Virtualized?

React Virtualized is a library of React components for the efficient rendering of large lists and tabular data.

Some of the available components are:

  • ArrowKeyStepper
  • AutoSizer
  • CellMeasurer
  • Collection
  • ColumnSizer
  • Grid
  • InfiniteLoader
  • List
  • Masonry
  • MultiGrid
  • Table
  • WindowScroller

Install

You can install react-virtualized using npm:

npm i react-virtualized

Code

In the example below, we use the List component.

Each List component requires a rowRenderer method that is responsible for rendering each list item.

We can also customize the List component by changing the height, width, and row height. We can also add CSS styling to the List itself or each row separately.

import React from 'react';
require('./style.css');

import ReactDOM from 'react-dom';
import App from './app.js';

ReactDOM.render(
  <App />, 
  document.getElementById('root')
);

The documentation for all available components, along with examples, is available here.

Free Resources

Copyright ©2026 Educative, Inc. All rights reserved