All Projects → probil → vue-product-carousel

probil / vue-product-carousel

Licence: MIT license
Simple product carousel with hot image replacement, Zoom and Swipe mode

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to vue-product-carousel

React Native Swiper Flatlist
👆 Swiper component implemented with FlatList using Hooks & Typescript + strict automation tests with Detox
Stars: ✭ 217 (+486.49%)
Mutual labels:  carousel, swipe
Vue Picture Swipe
🖼 Vue Picture Swipe Gallery (a gallery of image with thumbnails, lazy-load and swipe) backed by photoswipe
Stars: ✭ 322 (+770.27%)
Mutual labels:  carousel, swipe
react-native-viewpager-carousel
a flexible viewpager library with carousel functionality
Stars: ✭ 39 (+5.41%)
Mutual labels:  carousel, swipe
skeleton-carousel
Carousel component. Horizontal and vertical swipe navigation
Stars: ✭ 31 (-16.22%)
Mutual labels:  carousel, swipe
React Soft Slider
Simple, fast and impartial slider
Stars: ✭ 54 (+45.95%)
Mutual labels:  carousel, swipe
Discretescrollview
A scrollable list of items that centers the current element and provides easy-to-use APIs for cool item animations.
Stars: ✭ 5,533 (+14854.05%)
Mutual labels:  carousel, swipe
react-gallery-carousel
Mobile-friendly gallery carousel 🎠 with server side rendering, lazy loading, fullscreen, thumbnails, touch, mouse emulation, RTL, keyboard navigation and customisations.
Stars: ✭ 178 (+381.08%)
Mutual labels:  carousel, swipe
React Touch Carousel
Ultra-customizable carousel framework for React.JS
Stars: ✭ 158 (+327.03%)
Mutual labels:  carousel, swipe
Splide
Splide is a lightweight, powerful and flexible slider and carousel, written in pure JavaScript without any dependencies.
Stars: ✭ 786 (+2024.32%)
Mutual labels:  carousel, swipe
Swiper
Most modern mobile touch slider with hardware accelerated transitions
Stars: ✭ 29,519 (+79681.08%)
Mutual labels:  carousel, swipe
React Responsive Carousel
React.js Responsive Carousel (with Swipe)
Stars: ✭ 1,962 (+5202.7%)
Mutual labels:  carousel, swipe
Slider
Touch swipe image slider/slideshow/gallery/carousel/banner mobile responsive bootstrap
Stars: ✭ 2,046 (+5429.73%)
Mutual labels:  carousel, swipe
Re Carousel
Minimal carousel component for React.
Stars: ✭ 226 (+510.81%)
Mutual labels:  carousel
Teaset
A UI library for react native, provides 20+ pure JS(ES6) components, focusing on content display and action control.
Stars: ✭ 2,845 (+7589.19%)
Mutual labels:  carousel
Vue Glide
A slider and carousel as vue component on top of the Glide.js
Stars: ✭ 225 (+508.11%)
Mutual labels:  carousel
MediaSliderView
Pure java based, highly customizable media slider gallery supporting both images and videos for android.
Stars: ✭ 85 (+129.73%)
Mutual labels:  carousel
Pagerecyclerview
PageRecyclerView achieves page turning function and unlimited carousel
Stars: ✭ 241 (+551.35%)
Mutual labels:  carousel
React Images
🌄 A mobile-friendly, highly customizable, carousel component for displaying media in ReactJS
Stars: ✭ 2,312 (+6148.65%)
Mutual labels:  carousel
Fizzy Theme
🥤A tasty blogging theme for Ghost.
Stars: ✭ 194 (+424.32%)
Mutual labels:  carousel
React Awesome Slider
React content transition slider. Awesome Slider is a 60fps, light weight, performant component that renders an animated set of production ready UI general purpose sliders with fullpage transition support for NextJS and GatsbyJS. 🖥️ 📱
Stars: ✭ 2,343 (+6232.43%)
Mutual labels:  carousel

Vue Product Carousel

Build Status npm Github file size npm GitHub license Vue2

Simple product carousel with hot image replacement, Zoom and Swipe mode

Usage

To be able to use this component you should install it first

npm i --save vue-product-carousel

Then import it:

import ProductCarousel from 'vue-product-carousel'

Use ProductCarousel component and pass your images as images prop:

<template>
  <ProductCarousel :images="images">
    Sidebar content here
  </ProductCarousel>
</template>
<script>
export default {
  components: {
    ProductCarousel,
  },
  data() {
    return {
      images: [
        'http://lorempixel.com/1000/1000/business/1/',
        'http://lorempixel.com/1000/1000/business/2/',
        'http://lorempixel.com/1000/1000/business/3/',
      ]
    }
  },
}
</script>

Polyfills

Library use few browser built-ins and doesn't include polyfills for them. This ensures you don't include unnecessary polyfills in your code, as it should be the responsibility of the consuming app to include them.

Vue CLI includes them in babel config by default but here is a list (in case you what to add them manually):

# for core-js@2
es6.object.assign
es6.symbol # optional

# for core-js@3
es.object.assign
es.symbol  # optional

For direct usage in browser consider using https://polyfill.io/v3/

Scripts

# installs dependencies
npm install

# serves demo with hot reloading
npm run serve

# builds demo
npm run build:demo

# builds lib
npm run build:lib

# lints and fixes files
npm run lint

Params

Name Type Default Required Description
images Array [] true Array of image urls that will be used in slider
body-class-on-zoom String zoom false Class that will be added to the body while Zoom mode is active. Very useful to hide header/footer in Zoom mode.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].