
Description
vue-snap is a Vue 3 carousel built on CSS scroll snap instead of heavy JavaScript. Scroll snapping locks the wrapper onto a slide once the user finishes scrolling, so the library needs little logic of its own. The README says the package is about 5 KB, ships as an ESM bundle that supports tree-shaking, and includes TypeScript declarations. Most layout is handled in CSS, such as the number of slides visible at once, which helps the carousel adapt to screen sizes. You can import the Carousel and Slide components where you need them, or register them globally once for the whole app. A table lists the most common Carousel props, and the README links a full reference for props, events and slots, along with examples. It supports server-side rendering with frameworks such as Nuxt.js and works in all common modern browsers. It is for Vue 3 projects that need an image or content carousel without adding a large dependency.…
Highlights
- CSS scroll snap carousel
- About 5 KB according to the README
- Tree-shaking and TypeScript types
- SSR and Nuxt support
- Local or global component registration
Ratings & Reviews
No ratings yet
Be the first to rate vue-snap.
People also visit
vue-snap FAQ
What is vue-snap?
A Vue 3 carousel that uses the browser's CSS scroll snap to lock onto slides.
How big is it?
The README says it is only about 5 KB.
Does it work with Nuxt?
Yes. The README says it supports server-side rendering with frameworks such as Nuxt.js.
How do I change how many slides show?
The README says most customization, including the number of visible slides, is done in CSS.
What are the best vue-snap alternatives?
Popular alternatives to vue-snap include vue-3-slider-component, vue-infinity and vue3-carousel. See all vue-snap alternatives





















