SwipeNav

Swipe to the right over each item to uncover its contents!
Swipe left to navigate
Usage
Links

Intro (2)

nothing to see here

Rationale

Use SwipeNav to navigate trees with fat nodes on a mobile device, e.g. discussion threads. See hoeck.github.io/hnbrowser.

SwipeNav is built using requestAnimationFrame and a fast move event. It works well on mobile devices firing a lot of touch events.

SwipeNav computes the force of a swipe to achieve a natural slide movement.

The SwipeNav API is minimal and best used from within react or angular.