GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

09Route transition animation

Using the URL param as the component's key, or wrapping the route swap in startViewTransition, makes the outgoing and incoming page connect with a CSS transition instead of an instant cut.

Best forSingle-page app route changes, tab-like pages sharing one layout

key by routestartViewTransitionexit/enter
Route transition animation
Open in a new tab

09 Route transition animation — Measured area 30.983% · moving frames 15/23Original by GODRICH · SCSS and React ship in the zip · 9 CSS Animations in React Without Framer Motion

The post this demo lives in

9 CSS Animations in React Without Framer Motion - preview of all 9 demos9 CSS Animations in React Without Framer MotionA card fading in, a modal closing, a list item sliding away — usually that's CSS timed to when React mounts, unmounts, o See all demos in this post

If you like this effect - similar demos