Stop Animating Width: Framer Motion's layout Prop and the FLIP Trick That Does the Math for You
Framer Motion's layout prop uses FLIP to turn real CSS layout changes into cheap transform animations. Here's how it works, a working example, and where it breaks.