Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ismail9k/vue3-carousel

Vue 3 carousel component
https://github.com/ismail9k/vue3-carousel

carousel carousel-slider hacktoberfest hacktoberfest-2023 javascript slider vue vue3

Last synced: 3 months ago
JSON representation

Vue 3 carousel component

Awesome Lists containing this project

README

        

# Vue 3 Carousel

Modern lightweight Vue 3 carousel component


npm
npm
Package Quality

## Documentation

https://ismail9k.github.io/vue3-carousel/

## Features

- [x] Responsive breakpoints
- [x] Mouse/touch dragging
- [x] Infinity scroll (wrapping around)
- [x] Auto play
- [x] Add classes for active and for visible slides
- [x] RTL
- [x] Enrich a11y

## Getting started

### Installation

First step is to install it using `yarn` or `npm`:

```bash
npm install vue3-carousel

# or use yarn
yarn add vue3-carousel
```

### Basic Using

```vue



{{ slide }}





// If you are using PurgeCSS, make sure to whitelist the carousel CSS classes
import 'vue3-carousel/dist/carousel.css'
import { Carousel, Slide, Pagination, Navigation } from 'vue3-carousel'

export default {
name: 'App',
components: {
Carousel,
Slide,
Pagination,
Navigation,
},
}

```