React Virtual Scroller Component API

Virtual Scroller API

CoreUI PRO
This component is part of CoreUI PRO – a powerful UI library with over 250 components and 25+ templates, designed to help you build modern, responsive apps faster. Fully compatible with Angular, Bootstrap, React.js, and Vue.js.

Explore the API reference for the React Virtual Scroller component and discover how to effectively utilize its props for customization.

On this page

CVirtualScroller

jsx
import { CVirtualScroller } from '@coreui/react-pro'
PropertyDefaultType
className-string

A string of all className you want applied to the base component.

onScroll-((currentItemIndex: number) => void)

Event fires when the component has been scrolled.

visibleItems-number

Amount of visible items