Skip to content
supernaimate
← Guides

Scroll animation that feels good on every device

7 min read

Lenis + GSAP ScrollTrigger settings, mobile beat plans and reduced-motion fallbacks that the prompts assume.

One scroll engine

Drive Lenis from GSAP's ticker and call ScrollTrigger.update on every Lenis scroll event. Two engines fighting each other is the main cause of jitter.

Ease by role

Entrances use expo or quart out. Scrubbed transitions use inOut. Only progress bars move linearly.

Plan mobile separately

Phones get fewer pinned sections, shorter pins (60–80% of the desktop length) and tap instead of hover. Ask your agent for a mobile beat list before it writes code.

Respect reduced motion

With prefers-reduced-motion, swap scrubbed sequences for simple crossfades and keep every piece of content reachable without scrolling tricks.

Budget the heavy parts

Cap devicePixelRatio at 1.5–2, pause WebGL when the canvas is off-screen, and render hero text as real HTML so it paints first.

Browse the library →