https://motion.dev/examples/react-shared-layout-animation
Shared layout animation - Motion Example
An example of a shared layout animation, where two elements are animated from one to the other, using Motion for React's simple layoutId prop.
shared layout animationmotionexample
https://motion.dev/docs/react-layout-animations
Layout Animation — React FLIP & Shared Element | Motion
Animate layout changes in React with Motion. Auto layout transitions, FLIP, shared-element animations via layoutId, and performance tips (with code).
layout animationreactflipsharedelement