card background pattern
Level 2

Animating React with Framer Motion

Unlock Full Course

$49.99 $39.99



Position Transition

Here we will take a look at positionTransition. positionTransition is a property on a motion component that will animate between its current and new position when moving relative to its parent as a result of a render.



about 1 month ago

Now in framer-motion 2.0 there positionTransition does not exist. Instead you have to use layout prop

More info

updated 5 months ago

You need to add type: "spring" to positionTransition for damping and stiffness to work correctly. Type is set to "spring" by default, but when you use damping, stiffness, etc. the default is overwritten.

Something to say?

Become a Pro