@tofandel/vue3-carousel
Vue 3 Carousel
Modern lightweight Vue 3 carousel component
✨ Features
- 📱 Responsive - Breakpoints support
- 🔄 Infinite Scroll - Wrap around sliding
- 🖱️ Mouse/Touch - Dragging support
- 🖲️ Mouse Wheel - Scroll navigation support
- ⚡ Auto Play - Automatic sliding
- 🎯 Slide Classes - Active & visible states
- 🌐 RTL - Right-to-left support
- ♿ A11y - Keyboard navigation & ARIA labels
- 📊 Vertical - Vertical sliding mode
🚀 Installation
# npm
npm i vue3-carousel
# yarn
yarn add vue3-carousel
# pnpm
pnpm install vue3-carousel
📖 Basic Usage
<script setup>
// If you are using PurgeCSS, make sure to whitelist the carousel CSS classes
import 'vue3-carousel/carousel.css'
import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel'
const carouselConfig = {
itemsToShow: 2.5,
wrapAround: true
}
</script>
<template>
<Carousel v-bind="carouselConfig">
<Slide v-for="slide in 10" :key="slide">
<div class="carousel__item">{{ slide }}</div>
</Slide>
<template #addons>
<Navigation />
<Pagination />
</template>
</Carousel>
</template>
📚 Documentation
Visit our documentation website for detailed usage and examples:
- Getting Started
- Carousel Configuration
- Carousel Component
- Slide Component
- Navigation Component
- Pagination Component
💚 Nuxt Module
For Nuxt users, check out vue3-carousel-nuxt module.
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.15.6 | ^3.5.0 | MIT | |
| 0.15.5 | ^3.5.0 | MIT | |
| 0.15.4 | ^3.5.0 | MIT | |
| 0.15.3 | ^3.5.0 | MIT | |
| 0.15.2 | ^3.5.0 | MIT | |
| 0.14.5 | ^3.5.0 | MIT | |
| 0.14.4 | ^3.5.0 | MIT | |
| 0.14.3 | ^3.5.0 | MIT | |
| 0.14.2 | ^3.5.0 | MIT | |
| 0.14.1 | ^3.5.0 | MIT | |
| 0.14.0 | ^3.5.0 | MIT | |
| 0.10.0 | ^3.2.0 | MIT | |
| 0.9.11 | ^3.2.0 | MIT | |
| 0.9.10 | ^3.2.0 | MIT | |
| 0.9.9 | ^3.2.0 | MIT | |
| 0.9.8 | ^3.2.0 | MIT | |
| 0.9.7 | ^3.2.0 | MIT | |
| 0.9.6 | ^3.2.0 | MIT | |
| 0.9.5 | ^3.2.0 | MIT | |
| 0.9.3 | ^3.2.0 | MIT | |
| 0.9.2 | ^3.2.0 | MIT | |
| 0.9.1 | ^3.2.0 | MIT | |
| 0.9.0 | ^3.2.0 | MIT |