Simple, no bull***t React slider component with touch support and 0 dependencies. Just put your slides in it. Modern browsers and IE10+ (IE9 should work, but as flex is not supported you'll need to change CSS).
Include JS/CSS files, and in your React app wrap you slider in
<Slider>
Component.
<Slider> {/* Slides */} <div> A </div> <div> B </div> <div> C </div> </Slider>
loop: false
- Should arrow navigation loop aroundselected: 0
- Slide to be selectedshowArrows: true
- Show arrows navigationshowNav: true
- Show pager navigationAny of the props can be dynamically changed.
<Slider loop={ false } selected={ 0 } showArrows={ true } showNav={ true }>