A React component allowing users to select a value along a subjective range and step.
npm install react-slide-rule-gabs

React-slide-rule is a React component shaped like a ruler/slide rule, allowing users to select a value along a subjective range and step.
> More demos available here!
``shell`
npm install react-slide-rule
`jsx
import React, { useState } from 'react';
import SlideRule from 'react-slide-rule';
const STYLE = {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
};
export default function () {
const [value, setValue] = useState(150);
return (
{value}
Check out the example codes in the repository, or demos.
A list of all props available here.
> Hint: Use suggestion/auto complete to find the props in your code editor.
This project is licensed under the MIT license.