Virtual Scroll
A high-performance virtualization library for Vue 3.
Documentation
Everything you need to know about integrating @pdanpdan/virtual-scroll into your Vue 3 applications. From basic list virtualization to advanced grid and SSR setups.
Vertical Dynamic
Handles variable item heights automatically using ResizeObserver.
Horizontal Fixed
Full support for horizontal-only virtualization with fixed widths.
Grid Fixed
Scroll simultaneously in both X and Y axes with virtualized columns.
Grid Dynamic
Bidirectional scroll with programmatic column widths using a function.
Infinite Scroll
Automatic pagination and loading states when reaching end of content.
SSR Support
Demonstrates pre-rendering and auto-scrolling to a specific range for SSR.
Custom Scrollbar
Replace native scrollbars with highly customizable virtual ones.
Independent Scrollbars
Use VirtualScrollbar components standalone to control any scrollable element.
Chat Interface
Smooth auto-scrolling, history loading, and dynamic message heights.
Collapsible Tree
Virtualized hierarchical list with expandable/collapsible nodes.
Search & Highlight
Implement high-performance search across thousands of virtualized items.