Quickstart
-
Add @gertalot/sliders to your project:
-
Create a component and use one of the custom hooks:
-
Profit!
Use mousewheel or drag to change value!
0
This minimal example uses the useWheelToAdjust
and useDragToAdjust
custom hooks. For more
on all custom hooks available in this package, check the reference.