Skip to content
Theme:

Ui3nVirtualScroll

Virtual scroll component for efficiently rendering large lists by only rendering visible items.

Props

NameTypeDefaultDescription
items*T[]

List of items to render

minChildHeight*number16

Minimum height of child element

renderAheadnumber | undefined20

Number of items to render ahead

Slots

Slot NameScope Props (v-slot)Description
#item{ value: T; index: number; }

Item slot

Usage Examples

Simple virtual scroll

Simple virtual scroll

Basic virtual scroll with large list

Virtual scroll with custom rendering

Virtual scroll with custom rendering

Virtual scroll with custom item template