Smooth Range Slider for React | React Smooth Range Input Component

  • Smooth input range
  • Beautiful animation interaction
  • Tiny size

Install

$ npm install react-smooth-range-input

Example

https://react-smooth-range-input.now.sh

Quickstart

import react from 'react';
import Slider from 'react-smooth-range-input';

export default () => <Slider value={1} min={1} max={30} />;

Props

PropTypeRequiredDescription
valuenumbercurrent value
minnumbermin number range
maxnumbermax number range
onChangeFunction on value change callback
disabledboolean disable the component
hasTickMarksboolean = true show tick marks only apply to thick type
customController({ ref: any, value: number }) => React.ReactNode custom controller: make sure to pass the ref

Download Details:

Author: bluebill1049

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/bluebill1049/react-smooth-range-input

License: MIT

#react #reactjs 

Smooth Range Slider for React | React Smooth Range Input Component
1.05 GEEK