
Video https://www.learnwithjason.dev/let-s-learn-framer-motion
Codesandbox https://codesandbox.io/s/framer-motion-animatesharedlayout-app-store-demo-yn8y1
<motion.div> you can animate css stateAnimateShareLayout and pass layoutId to connected element that want to animatetype = crossfade is helpful to prevent junky animation while transitioning Another resources: