All Projects β†’ baianat β†’ Hooper

baianat / Hooper

Licence: mit
🎠 A customizable accessible carousel slider optimized for Vue

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Hooper

React Siema
ReactSiema Demo
Stars: ✭ 90 (-83.96%)
Mutual labels:  slider, carousel, slide
React Whirligig
A react carousel/slider like component for sequentially displaying slides or sets of slides
Stars: ✭ 20 (-96.43%)
Mutual labels:  slider, carousel, slide
Simple Slider
🎠 The 1kb JavaScript Carousel
Stars: ✭ 583 (+3.92%)
Mutual labels:  slider, carousel, slide
Svelte Carousel
A super lightweight, super simple Carousel for Svelte 3
Stars: ✭ 144 (-74.33%)
Mutual labels:  slider, carousel, slide
vue-piece-slider
animated slides in a fragmented look πŸžπŸŒ³βœ‘οΈπŸ“
Stars: ✭ 95 (-83.07%)
Mutual labels:  slider, carousel
Vue Slick Carousel
πŸš₯Vue Slick Carousel with True SSR Written for ⚑Faster Luxstay
Stars: ✭ 447 (-20.32%)
Mutual labels:  slider, carousel
react-carousel-minimal
React.js Responsive Minimal Carousel
Stars: ✭ 76 (-86.45%)
Mutual labels:  slider, carousel
shopify-product-image-slider
Implementation of the Slick image carousel into a Shopify store
Stars: ✭ 21 (-96.26%)
Mutual labels:  slider, carousel
cachu-slider
🌈 πŸ”† Create animated full screen and content-fit sliders efficiently.
Stars: ✭ 30 (-94.65%)
Mutual labels:  slide, slider
react-flickity-component
A React.js component for using @desandro's Flickity
Stars: ✭ 258 (-54.01%)
Mutual labels:  slider, carousel
hugo-travelify-theme
Port of Aigars Silkalns's Wordpress theme Travelify to Hugo. Demo -
Stars: ✭ 34 (-93.94%)
Mutual labels:  slider, carousel
skeleton-carousel
Carousel component. Horizontal and vertical swipe navigation
Stars: ✭ 31 (-94.47%)
Mutual labels:  slider, carousel
svelte-slidy
πŸ“Έ Sliding action script
Stars: ✭ 211 (-62.39%)
Mutual labels:  slider, carousel
scroll-snap-carousel
One more carousel plugin, but using CSS Scroll Snap and for every frameworks!
Stars: ✭ 46 (-91.8%)
Mutual labels:  slider, carousel
pinar
πŸŒ²β˜€οΈ Customizable, lightweight React Native carousel component with accessibility support.
Stars: ✭ 214 (-61.85%)
Mutual labels:  slider, carousel
vanilla-js-carousel
Tiny (1Kb gzipped) JavaScript carousel with all the features most of us will ever need.
Stars: ✭ 87 (-84.49%)
Mutual labels:  slider, carousel
react-styled-carousel
React styled components carousel or slide show. No external css import is required.
Stars: ✭ 42 (-92.51%)
Mutual labels:  slider, carousel
SlidableImage
Fancy slider for before&after images
Stars: ✭ 32 (-94.3%)
Mutual labels:  slide, slider
Ngu Carousel
Angular Universal carousel
Stars: ✭ 263 (-53.12%)
Mutual labels:  carousel, slide
Tiny Slider
Vanilla javascript slider for all purposes.
Stars: ✭ 4,298 (+666.13%)
Mutual labels:  slider, carousel

leaps logo

Average time to resolve an issue Percentage of issues still open npm npm

Hooper

Vue.js carousel component, optimized to work with Vue.

Features

  • Easily customizable through rich API and addons.
  • Touch, Keyboard, Mouse Wheel, and Navigation support.
  • Two way control carousels (sync).
  • Full RTL layout support.
  • Supports vertical sliding.
  • Responsive breakpoints.
  • Seamless infinite scroll.
  • Accessible by providing a robust structure and user control.
  • Optimized to work with Vue framework.
  • SSR Support.

Browser Support

Chrome Firefox Safari Opera Edge IE
Latest βœ” Latest βœ” Latest βœ” Latest βœ” Latest βœ” 11 βœ”

Getting started

Installation

First step is to install it using yarn or npm:

npm install hooper

# or use yarn
yarn add hooper

Use Hooper

<template>
  <hooper>
    <slide>
      slide 1
    </slide>
    <slide>
      slide 2
    </slide>
    ...
  </hooper>
</template>

<script>
  import { Hooper, Slide } from 'hooper';
  import 'hooper/dist/hooper.css';

  export default {
    name: 'App',
    components: {
      Hooper,
      Slide
    }
  }
</script>

If you are using PurgeCSS, make sure to whitelist hooper css When importing hooper/dist/hooper.css.

more info at Documentation

Available Props

Prop Default Description
itemsToShow 1 count of items to showed per view (can be a fraction).
itemsToSlide 1 count of items to slide when use navigation buttons.
initialSlide 0 index number of initial slide.
infiniteScroll false enable infinite scrolling mode.
centerMode false enable center mode.
vertical false enable vertical sliding mode.
rtl null enable rtl mode.
mouseDrag true toggle mouse dragging.
touchDrag true toggle touch dragging.
wheelControl true toggle mouse wheel sliding.
keysControl true toggle keyboard control.
shortDrag true enable any move to commit a slide.
autoPlay false enable auto sliding to carousel. This could be changed dynamically.
playSpeed 2000 speed of auto play to trigger slide in ms.
transition 300 sliding transition time in ms.
sync '' sync two carousels to slide together.
hoverPause true pause autoPlay if the mouse enters the slide.
trimWhiteSpace false limit carousel to slide only when there will be no completely empty slide-space.
settings { } an object to pass all settings.

Available CSS Properties

Please also look at the source to style the slider. An initial style can be imported as @import '~hooper/dist/hooper.css';

Class Property Default Description
hooper height 200px the default height of the slider, set to auto to scale with content
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].