Home
/
View Transitions SPA
/
after
⚙ DevTools → Animations to inspect the transition
← View before
☀
What's new:
document.startViewTransition()
wraps the DOM swap.
view-transition-name: product-hero
on the thumbnail tells the browser to animate its position and size — no libraries, no GSAP, no tricks.