framer-motion
14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed
Upgrading framer-motion from 6.2.4 to 6.5.1
29 releases in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 7
- new
- 24
- fixes
Before you upgrade
Tick each one off as you go- deprecated6.5.0
Release by release
- fixed
Adding
onChangehandlers inuseTransformonuseLayoutEffect.
- fixed
- new
useScrollfor creating scroll-linked animations.
- new
- fixed
Split module to improve ability to code-split and tree-shake
<m>anddomMax.
- fixed
- new
useInViewnow automatically respectsrootMarginwithin an iframe.
- new
- new
Renaming
useAnimationtouseAnimationControls.useAnimationwill stay as backwards compatible alias.
- new
- new
useInView.
- new
- fixed
Fixing layout animations within
position: fixedelements. Provideposition: fixedelements thelayoutScrollprop to fix.
- fixed
- fixed
Explicitly declaring
childrenprop for components.
- fixed
3 other lines we could not sort, mostly version bumps
- 6.3.12
Rolling up published type definitions.
- 6.2.8
Fixing race conditions for variants changed by state vs by gesture.
- 6.2.7
Replaced undocumented
LayoutGrouppropinheritIdwithinherit.