motion
14.14.0 · 13 Nov 2026MIT38.5M / weekRepositoryHomepagenpmAtom feed
3.2.4 is the newest release of 3.x.
In short
2 breaking4 new4 fixed
- Breaking
The deprecated
useInvertedScalehook. Use thelayoutprop instead. - Breaking
The deprecated
yoyo,flipandloopoptions. UserepeatandrepeatTypeoptions instead.
Release note
Added
whileDragAdding Safari-prefixed
userSelectcss to draggable elements.whileHover,whileTapandexitall now accept variant lists.
Changed
New behaviour for when values are removed from animation props (
animate,whileHover,exitetc). The value will be searched for in active props of a lower priority running (style<-animate<-whileHover<-whileTap<-whileDrag<-exit). This may introduce subtle behavioural changes, hence the major.
Removed
- Breaking
The deprecated
useInvertedScalehook. Use thelayoutprop instead. - Breaking
The deprecated
yoyo,flipandloopoptions. UserepeatandrepeatTypeoptions instead.
Fixed
Correctly applying
transformon SVG elements.Lazy-initialising viewport scroll, VisualElement.axisProgress, and reduced motion
MotionValues, for increased startup performance.Improved measurement scheduling for
dragcomponents and nestedAnimateSharedLayouttrees.Robust calculation of
treeScale.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.