Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mikeludemann/react-glide-slider

A slider with React and Glide.js Framework
https://github.com/mikeludemann/react-glide-slider

css3 glide html5 javascript react

Last synced: about 1 month ago
JSON representation

A slider with React and Glide.js Framework

Awesome Lists containing this project

README

        

# React-Glide-Slider

A component with React and Glide.js Framework

## Prerequisite

### Global

* node
* npm
* yarn

### Install dependencies (node_modules)

(sudo) npm install

## Example

```JS
import { GlideSlider, Controls, SliderContainer, SliderElement, Dots } from './components/glide';

Constructor:

this.state = {
id: "slider",
options: {
type: 'slider',
width: 400,
autoheight: true,
startAt: 0,
autoplay: 2500,
breakpoints: {
576: {
perView: 1
},
768: {
perView: 2
},
992: {
perView: 3
},
1200: {
perView: 3
}
}
}
}

Render:




My name is ...




1 - 1




2 - 1




```