A Customizable Accessible Carousel Slider Optimized for Vue

hooper is a responsive, customizable, touch-based carousel slider optimized to work with Vue.js.

Features

  • Easily customizable through rich API and add-ons.
  • 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.

How to make use of it:

Installation:

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>

Available Props

PropDefaultDescription
itemsToShow1count of items to show per view (can be a fraction).
itemsToSlide1count of items to slide when using navigation buttons.
initialSlide0the index number of the initial slide.
infiniteScrollfalseenable infinite scrolling mode.
centerModefalseenable center mode.
verticalfalseenable vertical sliding mode.
rtlnullenable RTL mode.
mouseDragtruetoggle mouse dragging.
touchDragtruetoggle touch dragging.
wheelControltruetoggle mouse wheel sliding.
keysControltruetoggle keyboard control.
shortDragtrueenable any move to commit a slide.
autoPlayfalseenable auto sliding to the carousel. This could be changed dynamically.
playSpeed2000speed of auto play to trigger a slide in ms.
transition300sliding transition time in ms.
syncsync two carousels to slide together.
hoverPausetruepause autoPlay if the mouse enters the slide.
trimWhiteSpacefalselimit carousel to slide only when there will be no completely empty slide space.
settings{ }an object to pass all settings.

customizable carousel slider for vue js, Hooper Plugin/Github


See Demo And Download

Official Website(baianat): Click Here

This superior jQuery/javascript plugin is developed by baianat. For extra advanced usage, please go to the official website.

Related Posts

Input-Values-Using-Mouse-Drag

Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…

simple-parallax-scrolling-js

Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…

Convert-Form-Data-to-JSON

How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…

editable-html-table-using-javascript

A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…

jquery.youtube-background

Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…