Components
Everything on this site, installable
The site is built from these, so what you install is what you are looking at. Every preview below is the real component running, not a picture of one.
Add the registry once
export CTA_REGISTRY=https://adamjurek.com/r/registry.jsonuseScrollProgress
Scroll effects
No dependencies
How far one element has travelled up the viewport, 0 to 1, once per frame. Gated by an observer so an off-screen element costs nothing.
Preview: No UI - it hands you a number between 0 and 1
useScrollTurn
Scroll effects
No dependencies
Scroll position as a rotation, delivered once per frame. Drives a CSS transform or a three.js object, never React state.
Preview: No UI - it hands you an angle every frame