Changelog
Releases across Motion, Motion+, Motion UI, and Motion AI Kit.
Added
- MCP:
search-motion-codexnow returns Motion UI components and sections (Motion+ / React) as full multi-file paste-ready source — same delivery model as examples, baked into the package.
- MCP:
Changed
animateView: Layers are automatically grouped to match their DOM-hierarchy. New.group(false)method opts-out.
Fixed
animateView: Auto-crop is now aspect-ratio aware, disabling crops for matching aspect-ratios.animateView: Disabled automaticborder-radiusanimation.
Added
animateView: Moves from Motion+ Early Access and alpha to main library.animateView:.add()resolves a CSS selector orElementto automatically generate, apply and removeview-transition-name.animateView:.new()and.old()configures values to animate on new and old layers.animateView:.layout()can set a custom transition on the size/position animation of the currently selected elements.animateView: Group layers now automatically crop with children set tocover, withborder-radiusanimating from old radius to new..crop(false)disables this behaviour.animateView:.class(name)tags currently selected elements with aview-transition-classas a custom CSS hook.
Fixed
AnimatePresence: Prevent stuck exit animations when children interrupt.drag: Childe.stopPropagation()no longer break drag end.- Fixing Next.js OOM on Windows when importing via
motionpackage. animateLayout: Improve handling of parallel/interleaved calls.
Changed
animateView:.enter()and.exit()now refer specifically tonewandoldlayers where there are no matchingoldornewlayers.animateView: Interrupted transition setups now return resolved animation rather than throwing.
Added
curtains/useCurtains: Cover/reveal page and element transitions.
Changed
- Skills: Add MotionScore runtime performance profiling to
/motion.
- Skills: Add MotionScore runtime performance profiling to
Added
pathoption totransition.arc()for motion along an arc.
Added
- Support for
repeatTypeandrepeatDelayin animation sequences.
Fixed
- Variants: Re-run keyframe animations when switching between variant labels even when they share identical keyframe arrays.
- Drag: Preserve in-flight motion value animations across React 19 reorder unmount/remount so
dragSnapToOriginno longer leaves the drag transform stranded after a layout swap. LazyMotion: Share React contexts between theframer-motionandframer-motion/m(and thereforemotion/reactandmotion/react-m) CJS bundles so that<m.div>from the/msubpath picks up features loaded by<LazyMotion>from the main entry point.useScroll: Support hydratingtargetandcontainerrefs from anywhere in the tree.- Drag: Gesture no longer starts from incorrect start point when rendered inside
<AnimatePresence initial={false} />. - Drag:
dragConstraints, when set as viewport-relative ref, no longer break on scroll.§ - Updated
visualElementhydration order. useAnimate: Now respectsskipAnimations.AnimatePresence: Fix object-forminitialvalues not applied on re-entry after exit completes.scroll: Fixed callback progress when tracking an element.useScroll: Fix hardware acceleration when tracking an element.
- Support for
Added
- Added
layoutAnchorprop to configure custom anchor point for resolving relative projection boxes.
Fixed
Reorder: Fix axis switching after window resize.Reorder: Fix with virtualised lists.AnimatePresence: Ensure children are removed when exit animation matches current values.
- Added
Added
- Support for hardware accelerating
"start"and"end"offsets inscrollanduseScroll. - Support for
oklch,oklab,lab,lch,color,color-mix,light-darkcolor types.
Fixed
- Fix
whileInViewwith client-side navigation. - Fix draggable elements when layout updates due to surrounding element re-renders.
- Improved memory pressure of layout animations.
- Ensure motion value returned from
useSpringreports correctisAnimating().
- Support for hardware accelerating
Added
- Allow
dragSnapToOriginto accept"x"or"y"for per-axis snapping. - Added axis-locked layout animations with
layout="x"andlayout="y". - Added
skipInitialAnimationtouseSpring.
Fixed
- Fixed
heightandwidth: autoanimations withbox-sizing: border-box. - Reset component values when exit animation finishes.
- Ensure
anticipateeasing returns1atp === 1. - Fix
@emotion/is-prop-validresolve error in Storybook. - Remove
data-pop-layout-idfrom exiting elements when animation interrupted. - Ensure we skip WAAPI for non-animatable keyframes.
- Ensure we skip WAAPI for SVG transforms.
- Ensure
MotionValueprops are not passed to SVG. AnimatePresence: Preventmode="wait"elements from getting stuck when switched rapidly.
- Allow
Added
- Skills:
/motionskill. Includes design guidelines, performance tips, and API gotchas. Can reference the Motion Studio MCP for docs search. - Skills:
/css-springskill. Generates CSS spring easing functions via the Motion Studio MCP. - Skills:
/see-transitionskill. Visualise easing curves and springs via the Motion Studio MCP. - Skills: Added new
motion-ai-kitinstaller with interactive skill picker.
- Skills:
Added
ViewTimelinesupport forscrollanduseScroll.
Added
Carousel: NewwheelSwipeThresholdprop configures the distance of wheel scroll before triggering a swipe.
Added
AnimateNumber:trendprop to control digit spin direction. -trend={1}: Digits always spin upward, wrapping 9 → 0. -trend={-1}: Digits always spin downward, wrapping 0 → 9. -trend={(oldValue, newValue) => number}: Function for custom logic. - Default (notrend): Auto-detects direction based on value change.
Changed
AnimateNumber: Now uses manual FLIP measurements instead of layout animations.
Added
useCarouselanduseTicker: Providesoffsetmotion value, which contains the unwrapped offset of aCarouselorTicker.
Added
- Extension: Added support for spring editing.
- Extension: Visual refresh.
- Skills: Added Motion Performance Audit skill.
Added
AnimateView: View animations for React.
Added
useScroll: Hardware accelerated animations.
Added
<motion />: Newpropagate.tapprop prevents tap gestures from propagating to parents.
Added
transition.inherit: Whentrue, inherit transition values from less-specific transitions.
Added
animate: Support for bi-directional callbacks within animation sequences.
Fixed
- Ensure
onPannever fires beforeonPanStart.
Added
MotionConfig: AddskipAnimationsoption.
Fixed
animate: Prevent error when callingstop()on removed elements.animateLayout: Fixing shared element animations whenanimatecalled beforeanimateLayout.
Added
scrambleText: Now supports stringMotionValue.
Added
scrambleTextandScrambleText: Added scramble text for vanilla JS and React.
Added
Typewriter: AddedcursorBlinkRepeatoption for capping the number of times a cursor blinks after typing stops.
Added
splitText: AddedpreserveHyphensoption.
Added
transformViewBoxPoint: Scale drag gestures within<svg>elements whereviewBoxand renderedwidth/heightare mismatched.trackContentSize: NewscrollanduseScrolloption for tracking changes to content size.
Fixed
- Add React 19 test suite to CI.
- Fix types with
motion.create(). - Shared element animations now respect
layoutDependency.
Added
useFollowValueandfollowValue:useSpring-style motion values that can accept any transition.
Fixed
- Fix "multiple keyframe" error when using spring animations as default transitions for animation sequences.
Added
animateLayout: Vanilla layout animations.
Added
- Adding new exports for internal use.