use-gesture
👇Bread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.
About this project
@use-gesture @use-gesture is a library that lets you bind richer mouse and touch events to any component or view. With the data you receive, it becomes trivial to set up gestures, and often takes no more than a few lines of code. You can use it stand-alone, but to make the most of it you should combine it with an animation library like react-spring, though you can most certainly use any other. The demos are real click them! Installation React Vanilla javascript Full documentation website — Available Gestures — Gesture State — Gesture Options — FAQ Simple example React Vanilla javascript The example above makes a div…
Technologies
Project health
GitHub
Reviews
Built by
Maintain pmndrs/use-gesture? Claiming verifies admin access through your GitHub account and gives you control of this listing.