Headless UI for virtualizing scrollable elements in TS/JS and React
Enjoy this library? Try the entire TanStack! React Query, TanStack Table, React Charts
Visit tanstack.com/virtual for docs, guides, API and more!
Quick Features
- Row, Column, and Grid virtualization
- One single headless function
- Fixed, variable and dynamic measurement modes
- Imperative scrollTo control for offset, indices and alignment
- Custom scrolling function support (eg. smooth scroll)