React screen & page transitions

57 examples. Screen & page transitions built with React and Framer Motion. Transitions between screens and states: shared elements, zooms, morphs and sheets that keep people oriented.

React screen & page transitions: common questions

How do I build screen & page transitions in React?
Pick an example below, copy its prompt (or send it to Claude Code, Cursor or Codex) and your agent builds it in React. Each prompt lists the layout, timing and easing, and links a keyframe sheet of the motion. Framer Motion (now motion/react) covers most UI work: layout animations, AnimatePresence for enter and exit, gestures and springs. Use GSAP for long timelines and scroll choreography, and three.js or react-three-fiber for 3D.
What makes a good page transition?
It shows where content came from and where it went. Shared elements and short, eased moves (250–400 ms) beat generic fades or slides.
How do I add page transitions on the web?
The View Transitions API animates between DOM states or pages with a few lines of CSS; in React, Framer Motion's layoutId does the same.

Screen & page transitions in other frameworks

More React animations