Description
@rc-component/virtual-list is a React component for virtual scrolling, so that a long list renders only the rows that are visible on screen instead of every item at once. It is maintained by the rc-component team as part of the Ant Design ecosystem, and it is used by Ant Design and other React component libraries. The List component takes a data array and a render function for each item, along with an item height used to work out the visible range, an item key, a fixed height and a flag that turns virtual rendering on or off. It can render inside a custom container element, and it exposes an onScroll handler and styles for the scrollbar parts. The package ships TypeScript declarations along with both ES module and CommonJS builds. The repository includes a dumi site with examples, and the examples, tests and preview builds are kept in step with the source. It is released under the MIT license, and it is for React developers who need to show large lists efficiently.…
Highlights
- Renders only the visible rows of long lists
- TypeScript declarations included
- ES module and CommonJS builds
- Used by Ant Design and other libraries
Ratings & Reviews
No ratings yet
Be the first to rate rc-virtual-list.
People also visit

react-virtualized
React components for efficiently rendering large lists and tabular data

react-window
React components for efficiently rendering large lists and tabular data

react-virtualized-sectionlist
React SectionList component based in react-virtualized List

react-tiny-virtual-list
A tiny but mighty list virtualization component, with zero dependencies

@rc-component/listy
Virtualized React list component with grouping and sticky header support
rc-virtual-list FAQ
What does the virtual list component do?
It renders only the items visible on screen in a React list, which keeps long lists fast.
Who uses it?
Ant Design and other React component libraries, according to the repository.
What license is it under?
MIT. The repository says the package is released under the MIT license.
Does it include types?
Yes. It ships TypeScript declarations with both ES module and CommonJS outputs.
Where are the usage examples?
The repository runs a local dumi site with examples, and the README documents the List props, including itemHeight, itemKey and virtual.
What are the best rc-virtual-list alternatives?
Popular alternatives to rc-virtual-list include react-virtualized, react-window and react-virtualized-sectionlist. See all rc-virtual-list alternatives














