NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #4107 most downloaded on npm
A simple and powerful JavaScript animation library
Latest stable
14.14.0
Last release 9 days ago
13 Nov 2026
Ships fairly regularly
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
1424 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Use range for tslib dependency.
Fixing defaults for hardware-accelerated animations.
Warning for unhydrated refs passed to useScroll() options.
useScroll() options.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Removed polyfilled support for mouse/touch events.
<select /> elements.DragControls.start now accepts PointerEvent only.Firing animateChanges in useLayoutEffect rather than useEffect to ensure optimised appear animations are handed off before paint.
animateChanges in useLayoutEffect rather than useEffect to ensure optimised appear animations are handed off before paint.Adding support for all easing functions with WAAPI.
Fixed type inference of useMotionValueEvent.
useMotionValueEvent..on() event method to MotionValue.
.on() event method to MotionValue."animationStart", "animationComplete", "animationCancel" and "change" events for MotionValue.useMotionValueEvent helper method for adding events.Fixing mapping Motion easing names to WAAPI.
Hardware-accelerated opacity animations.
opacity animations.Refactored animation pipeline to better accomodate WAAPI.
Added private APIs for starting initial animations before React hydration and handing off to the component after hydration.
Fixed spring effect of useSpring.
useSpring.Reduced ?? operators to reduce bundlesize.
?? operators to reduce bundlesize.Removed style-value-types and framesync as external dependencies.
style-value-types and framesync as external dependencies.Added support for "startOffset", "textLength" and "lengthAdjust" SVG attributes.
"startOffset", "textLength" and "lengthAdjust" SVG attributes."inertia" animation as "decay" (officially removed in 3.0.0).3.0.0).Animation of viewBox for SVG elements.
viewBox for SVG elements.Removed popmotion as external dependency.
popmotion as external dependency.Manually firing callback with latest callback when useOnChange is provided new motion value (affects useSpring).
useOnChange is provided new motion value (affects useSpring).Fixing useOnChange to resubscribe when provided a new motion value (affects useSpring).
useOnChange to resubscribe when provided a new motion value (affects useSpring).Rounding tree scale to 1 to prevent unnecessary scale transforms.
1 to prevent unnecessary scale transforms.### Fixed - Nothing to see here.
Nothing published for this version
isTransformDirty node skipping logic.
isTransformDirty node skipping logic.Further layout animation performance enhancements.
<motion.svg /> components as HTML.Removing read of (currently unused) position style as it's erroneously breaking a test in Framer.
position style as it's erroneously breaking a test in Framer.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Only updating projection calculations for dirty nodes.
Reducing number of scroll reads during layout animations.
Removed instantiation of externally-provided motion values.
Minor layout animation refactors.
VisualElement changed to class implementation.
VisualElement changed to class implementation.Updated buildTransform types to only expect required arguments.
buildTransform types to only expect required arguments.Nothing published for this version
Exposing buildTransform for internal use.
buildTransform for internal use.Internal option for useScroll to use useEffect instead of useLayoutEffect.
useScroll to use useEffect instead of useLayoutEffect.Nothing published for this version
Exporting CycleState and Cycle types.
CycleState and Cycle types.delay(): An alternative to window.setTimeout() that is locked to the animation framerate.
delay(): An alternative to window.setTimeout() that is locked to the animation framerate.Fixed bug relative layout animations within rotated layers.
layout="preserve-aspect" where layers that do change size but aren't moved are reprojected to the old size and stay there.If the initial style was derived from the initial prop, and that style is removed from animate, while also being removed from initial, it won't animat
initial prop, and that style is removed from animate, while also being removed from initial, it won't animate back to the originally-defined value.Gracefully handle undefined values in values prop.
undefined values in values prop.useTransform correctly cleans up any scheduled animation frames when it unmounts.
useTransform correctly cleans up any scheduled animation frames when it unmounts.Nothing published for this version
useAnimationFrame now passes delta to provided callbacks as the second argument.
useAnimationFrame now passes delta to provided callbacks as the second argument.Added internal values prop that allows the provision of motion values to use exclusively for performing animations on.
values prop that allows the provision of motion values to use exclusively for performing animations on.Increasing threshold for what's considered a similar aspect ratio in "preserve-ratio" layout animations.
"preserve-ratio" layout animations.isMotionValue no longer crashing when provided null.
isMotionValue no longer crashing when provided null.Run feature detection based on rendered props.
Ensuring children dynamic components re-render when context changes.
isMotionComponent returns true if the provided component is a motion component.
isMotionComponent returns true if the provided component is a motion component.unwrapMotionComponent returns the rendered component.### Fixed - Fixing application of rotateZ.
rotateZ.layout="preserve-ratio" performs a position-only transition if the aspect ratio has changed.
layout="preserve-ratio" performs a position-only transition if the aspect ratio has changed.layout="position" now works with shared element transitions.### Added - Various filesize reductions.
AnimatePresence's new mode="popLayout" prop will "pop" exiting elements from the document layout flow, allowing sibling layout elements to animate to
AnimatePresence's new mode="popLayout" prop will "pop" exiting elements from the document layout flow, allowing sibling layout elements to animate to their new layout as soon as exiting starts.exitBeforeEnter - replace with mode="wait".Nothing published for this version
Nothing published for this version
One column per quarter.