# Simple React slider with touch support

DevFeed: [Simple React slider with touch support](<https://devfeed.tech/articles/simple-react-slider-with-touch-support-37353.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/simple-react-slider/>)

Author: Stanko

Published: 2016-03-12T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [Code](<https://devfeed.tech/topics/code.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [react](<https://devfeed.tech/tags/react.md>), [simple](<https://devfeed.tech/tags/simple.md>)

## AI overview

A lightweight React slider component with touch support is presented as a dependency-free implementation of about 200 lines of code. The article mentions a demo, GitHub source code, extensibility, and browser support including modern browsers and IE10+.

## Source excerpt

I needed simple React slider component, as we are building our new website as a universal React application. But I did not find anything lightweight. There is a crazy trend in JavaScript world - add gazillion dependencies. So again, I made something myself. Check the demo. It has no dependencies, and about 200 lines of code. Very simple and extensible. Every modern browser is supported and IE10+. IE9 should work (if you adapt the CSS), but I didn't test it. Grab the code on GitHub.