useSlider

React UI hook that provides slide behavior over any HTML element. Supports both mouse and touch events.

hooks

Slide me

🎿
{
  "isSliding": false,
  "value": 0
}

Variants

Vertical

Slide me

🎿
{
  "isSliding": false,
  "value": 0
}

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-slider
# └──> Hook coming soon.

Usage