Shared Element Transitions in Framer Motion: When layoutId Earns Its Keep
Framer Motion's layoutId makes shared element transitions nearly free — one prop morphs a card into a detail view. Here's a working example, plus the duplicate-ID and performance traps to avoid.