react-jedliSlider

Fully responsive, modern carousel for React

What is react-jedliSlider?

jedliSlider is interactive, continuous carousel with multiple options to use in your React app. react-jedlislider is react version of jedliSlider with only continuous mode (because this mode is the one fully finished, and used the most).

Why jedliSlider?

Because it’s easy to use, modern and will have all options that you want. Some popular carousels still use floats and a lot of unnecessary scripts/styles. My intention was to create one slider, that will contain all things i missed in other carousels. With as low code and css as possible. So you don't need to override some default styles.


advantages of jedliSlider:

  • no unnecessary styles
  • easy to use
  • You don't have to create structure, slider will do it for you
  • just let me know about things, modes or options you want and i will add them

Compatibility

jedliSlider is built on css flexbox. So will be compatible with every browser that supports flexbox.

What's new?

v. 1.0.0
  • React version of jedliSlider


Previous update:
  • --

Features soon:

  • responsive options to specifie different settings depends of screen width

How to use:

see here

Examples:

List of options:

Option:Default:Available options:Description:
tagstring: 'div'string: all HTML tagsHtml tag for slider wrapper
slidesWidthstring: 'equal'string: 'equal'/'auto'determinate if all slides should be same size, specified by slider; or width of every slides can be different, specifed from css/content
speedint: 100int > 0Transition duration of one single change.
Speed is calculated: given speed width of all slides 1000
visibleSlidesint: 1int > 0This option works when "slidesWidth" is set to "equal".
Determinate how many slides will be visible. Width of every slide will be calculated to match given value.

* For example if visibleSlides is set to 2, every slide's width gonna be 50%
overflowstring: 'hidden'string: 'hidden'/'visible'Define if slider should have overflow hidden or not
pauseOnHoverbool: falsebool: false/trueDeterminate if carousel should stop animation on hover, or for accessibility reasons - on focus on any element inside slider
directionstring: 'ltr'string: 'ltr'/'rtl'Determinate if carousel should rotate from left to right, or right to left