Swiperia
    Swiperia

    Swipe gestures, without the guesswork

    Swiperia detects swipe direction, distance and velocity, and gives you the same event whether the input was a mouse or a finger.

    Get startedInstallation

    swiperia-core

    Platform-agnostic gesture maths: direction, distance, velocity, movement. No DOM listeners.

    swiperia-js

    Mouse and touch detectors for the browser, emitting one consistent swipe event.

    swiperia-react

    A SwipeArea component and a useSwiperia hook for React applications.