Description
virtua is a zero-config virtual list, grid and masonry component for React, Vue, Solid, Svelte and Angular. Virtualization renders only the items on screen, which keeps long lists fast, and virtua aims to give good performance without configuration. Its README lists the hard cases it handles, including dynamic size measurement, keeping the scroll position when scrolling in reverse or scrolling imperatively, and iOS support. The goals are zero-config virtualization, speed through reduced CPU and garbage-collection work and fewer forced layouts, a small bundle of about 3 kB gzipped per component that is tree-shakeable, and flexibility for fixed and dynamic sizes, horizontal and reverse scrolling, tables, masonry, right-to-left layouts, infinite scrolling, scroll restoration, drag and drop, keyboard navigation and sticky items. Each framework has its own install and minimum version, such as React 18 or later for ESM with webpack 5, Vue 3.2 or later, Solid 1.0 or later, Svelte 5 or later, and Angular 20 or later, which works with zone.js or zoneless change detection. Older browsers need polyfills for ResizeObserver and scrolling, and a few features need extra support. A live demo is available, and a comparison section lists the alternatives.…
Highlights
- Virtual list, grid and masonry for five frameworks
- Dynamic size measurement and scroll position handling
- About 3 kB gzipped per component, tree-shakeable
- Horizontal, reverse, table, RTL and infinite scrolling
- Works with zoneless Angular change detection
Ratings & Reviews
No ratings yet
Be the first to rate virtua.
People also visit

vue-virtual-scroll-list
A vue (2.x) component support big data by using virtual scroll list

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

vue-virtual-scroller
Component to scroll a large amount of elements efficiently (Vue 2.x)
svelte-tiny-virtual-list
A tiny but mighty list virtualization component for svelte
virtua FAQ
What does virtua do?
It renders only the visible part of long lists, grids and masonry layouts, so they stay fast in React, Vue, Solid, Svelte and Angular.
Do I need to configure it?
The README says it is zero-config and handles dynamic sizes, reverse scrolling and iOS by default.
Which versions does it need?
React 18 or later for ESM with webpack 5, Vue 3.2 or later, Solid 1.0 or later, Svelte 5 or later, and Angular 20 or later.
Does it support old browsers?
Only with polyfills for ResizeObserver and scrolling, and a few features need extra polyfills.
What are the best virtua alternatives?
Popular alternatives to virtua include vue-infinity, vue-virtual-scroll-list and @af-utils/virtual. See all virtua alternatives















