Skip to content

beekai-oss/react-smooth-range-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

552e5c8 Β· Dec 31, 2022
Mar 21, 2019
Jan 13, 2020
Aug 28, 2019
May 15, 2019
Mar 13, 2019
Jan 17, 2019
Jan 10, 2019
Dec 31, 2022
Jan 15, 2019
Jan 10, 2019
Aug 28, 2019
Nov 20, 2021
Jan 16, 2019
Jan 11, 2019
Jan 11, 2019
Jan 16, 2019
Nov 20, 2021

Repository files navigation

🎚 React Smooth Range Input

Coverage Status npm downloads npm npm

  • 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

Prop Type Required Description
value number βœ“ current value
min number βœ“ min number range
max number βœ“ max number range
onChange Function on value change callback
disabled boolean disable the component
hasTickMarks boolean = true show tick marks only apply to thick type
customController ({ ref: any, value: number }) => React.ReactNode custom controller: make sure to pass the ref

By the makers of BEEKAI

We also make BEEKAI. Build the next-generation forms with modern technology and best in class user experience and accessibility.