use-radial-move
Handles radial move behavior over given element, can be used to build custom radial sliders
Source
Docs
PackageIcon
Usage
The use-radial-move hook can be used to create custom radial sliders. For example, the AngleSlider
component is based on this hook. It works similarly to the use-move hook.
Example of creating a custom radial slider:
115°
Definition
Exported types
UseRadialMoveOptions and UseRadialMoveReturnValue types are exported from the @mantine/hooks package;
you can import them in your application: