Report a problem or share feedback← Catalog
Layout Anchor
freemotion/layout-anchor
Control which point on a child element stays fixed during a parent's layout animation with layoutAnchor
$
pnpm add motion # then adapt the free source from https://motion.dev/examples/react-layout-anchornpm deps: motion

- Source
- Motion (motion.dev)
- Kind
- transition
- Categories
- transition
- Use as
- recipe — technique you apply to your own markup
- Applies to
- cardimage
- Motion
- on enter · medium · motion · medium cost
- Tags
- motion
- Licence
- motion / motion/react / motion-v are MIT. Motion+ (premium components, example source, AI Kit pro tools) is paid — one-time Personal licence or per-seat Business.
- Live demo
- motion.dev
- Docs
- motion.dev
Similar
Compare all 4 →- Card hover tilttransitions/card-tiltA card / tile / media surface that tilts in 3D toward the pointer while hovered, with a soft light "glare" tracking the cursor across it. Use for product cards, credit / membership cards, feature tiles, cover art — anything that should feel physical and reactive on hover. Pointer-only (skips touch) and flattens under reduced motion.
- Scroll-triggered animationsmotion/scroll-triggeredwhileInView: fade/slide sections and cards in as they enter the viewport. Use with @oc/motion-presets fadeUp + once:true. Free example (motion is MIT); copy and adapt the source from the example page.
- AnimateView: App Storemotion/animate-view-app-storeAn example of animating cards inspired by the iOS App Store using AnimateView's shared element transitions from Motion for React.