High-performance, fixed-height virtualized list for rendering large datasets efficiently.
Description
VirtualList is a low-level layout primitive for rendering long lists in a predictable and performant way. It limits DOM output to only what is visible while preserving natural scrolling behavior.
renders only visible items to keep the dom small
fixed-height, index-based virtualization
predictable scrolling without layout guessing
designed for large lists and frequent updates
suitable for dropdowns menus and command palettes
Box
div
color
ensureVisibleIndex
intent
itemHeight
items
overscan
renderItem
scrollAlign
scrollToIndex
tagAttrs
tagRef
visibleItemsCount