TanStack Virtual is a lightweight, framework-agnostic library that enables high-performance virtualization for long or large lists in web UIs, providing smooth scrolling and responsive rendering by only mounting items visible in the viewport. A headless, framework‑agnostic virtualization library for rendering massive lists, grids, and tables at 60FPS while giving you full control over markup and styles. Virtualizes vertical, horizontal & grid layouts with a single hook/function. Lightweight (10–15kb) yet powerful, with dynamic & measured sizing support. Smooth 60FPS scrolling with sticky items and window‑scrolling utilities.
Features
- Virtualizes rows and columns for efficient rendering
- Framework-agnostic core with adapters for React, Vue, Svelte, etc.
- Supports variable-sized items and dynamic content heights
- Provides smooth scrolling experience without performance degradation
- Offers APIs for measuring and adjusting dimensions on the fly
- Small and tree-shakable bundle for minimal overhead
