Browser-native motion cookbook

Motion Recipes

A visual catalog of modern web animation patterns with live demos, source code and step-by-step implementation recipes.

Explore recipes View source

Categories

Browse patterns by the technique they rely on. Every recipe is framework-agnostic and built with native browser APIs.

Why browser-native motion?

Modern CSS and JavaScript APIs can deliver fluid, GPU-friendly animation without heavy libraries. Native motion tends to be smaller, more performant and easier to make accessible.

  • No runtime dependency — use CSS, WAAPI and DOM measurements.
  • Better performance — animate transform and opacity on the compositor.
  • Accessible by default — respect prefers-reduced-motion and focus.
  • Progressive enhancement — ship fallbacks for older browsers.

Accessibility-first animation

Motion should never block content or disorient users. Every recipe in this catalog checks reduced motion, keeps keyboard navigation intact and documents focus behavior.