Description
vue-virtual-waterfall is a Vue 3 component that shows many items in a masonry style waterfall layout and renders only the ones on screen. It uses virtual list logic, so long feeds stay responsive. You give it an array of items, a row key and a height function, and it places them in columns based on a minimum item width and minimum and maximum column counts. Options control the gap, padding, preloading above and below the view, and caching. A default slot renders each item with its index. The wrapping container needs a fixed height, or the window can be the scroll target when the component sits under the body. The README includes a Nuxt 3 example and a Chinese-language version of the docs. It is a developer component for image feeds, product grids and similar content lists.…
Highlights
- Virtual masonry layout
- Column count and width controls
- Custom item height calculation
- Gap, padding and preload options
- Nuxt 3 usage example
Ratings & Reviews
No ratings yet
Be the first to rate vue-virtual-waterfall.
People also visit

vue-virtual-scroll-list
A vue (2.x) component support big data by using virtual scroll list
vue-virtual-waterfall FAQ
What is vue-virtual-waterfall?
A Vue 3 component for masonry style layouts that only renders the items currently visible.
Does it work with Nuxt?
The README includes a Nuxt 3 usage demo.
Why does the container need a height?
The virtual list needs a fixed height to know what is in view. The README says the scroll event can be bound to the window instead when the component sits under the body.
How is each item's height set?
Pass a calcItemHeight function that receives the item and its width and returns a height.
What are the best vue-virtual-waterfall alternatives?
Popular alternatives to vue-virtual-waterfall include vue-infinity, vue-fluid-dnd and vue-3-slider-component. See all vue-virtual-waterfall alternatives



















