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

07startViewTransition + state update

document.startViewTransition() wraps a React state update via flushSync, so the browser automatically cross-fades the before/after DOM snapshot — no need to hand-animate each changed element.

Best forGrid/list layout reorders, image gallery selection swaps

startViewTransitionflushSync@keyframes vt-cross-in
startViewTransition + state update
Open in a new tab

07 startViewTransition + state update — Measured area 30.558% · moving frames 6/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