Motion (@motiondotdev) header
Motion (@motiondotdev) profile picture

The complete animation toolkit for the web. Formerly Framer Motion. Made by @mattgperry.

Amsterdam
Joined March 2009
Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)Photo by Motion (@motiondotdev)
Real rotational motion blur on HTML elements? It's now possible thanks to the new HTML in canvas API in Chrome. Start drawing and animating your elements in WebGPU with our new HTML in canvas animation guide.
7
6
263
8,397
We're hacking on something a bit silly billy. Drop a screen recording of an animation into Motion Eyedropper and using Meta's SAM 2 it'll detect animating objects and fit them to a spring or easing curve.
8
2
2
57
3,602
Split Text in Motion UI just got a big upgrade. - Preserves nested tags, wrap: balance, kerning - Text gradient support - Resize callback - Improved language and emoji support - a11y improvements - React useSplitText API Still tiny at 2.5kb.
5
3
75
2,462
Behind the scenes of our new HTML in canvas API, Motion FX
We released Motion FX yesterday, built on the new HTML in canvas API, so I thought I'd do a deeper dive on some of its features. Starting with lens blur. This lets you set and animate focal plane and depth. Elements are burred according to CSS z depth.
15
1,238
Motion FX brings true motion blur, lens blur and 90s-style depth fog to your existing HTML content. Wrap your content with <FX> in React, or <motion-fx> in HTML and set your shaders. Content stays completely accessible, with a graceful fallback for older browsers.
7
6
1
121
4,503
Check out the docs: motion.dev/docs/react-fx Motion FX is part of Motion+, which is 20% off for the next week only!
1
5
728
The only Motion+ discount of the year. 20% off for Black Friday. "Lifetime updates" was a big promise two years ago, but looking back, we feel like it's delivered. 🔗🧵
1
1
10
2,048
Introducing Motion Performance Guard. Guard runs an animation performance test against every PR and blocks regressions from reaching users. Every block comes with a report card, with a list of instructions for your agents to fix automatically.
1
2
57
2,568
Motion 14.13 adds Auto Mass to layout animations. Spring velocities are now correctly preserved throughout the 2D layout space, and layout transitions can be set to mass: "auto" for setting the weight of larger elements to be heavier than those of smaller ones.
1
2
49
1,846
Before, only springs defined with physics options like stiffness/mass/damping maintained velocity from one animation or gesture to the next. Now in Motion 14.12, springs defined with visualDuration and bounce also respect existing velocity.
3
3
47
2,092
Pinch gesture now available in Motion 14.11 Configure pinch, rotate, origin, elastic constraints, rotational snapping and more. Compatible with touch, trackpad and wheel. Available via the new pinch() function and in React via pinch and whilePinch props.
4
2
37
2,310
Check out the docs and examples: motion.dev/docs/pinch
1
720
New to press() and motion.div: Double press, long press and repeat press gestures. With the new count, hold and repeat settings you can mix and match these gestures and their associated callbacks to respond to press in all kinds of new ways. And of course - full keyboard a11y.
4
2
2
92
3,578
Motion 14.7 introduces transition.out This new prop lets you define a transition specifically for when a motion component *leaves* a state. This is a long-standing black hole in the API, ensuring for instance a mount delay doesn’t affect later hover transitions.
4
7
83
3,046
Finally: Hardware acceleration. Sequenced springs. Directionally-aware callbacks. Nested sequences. Add, move and remove sequences. Relative labels. Progress callbacks. Play to labels. Timelines 2.0 in Motion.
4
10
128
6,094
Timelines can still be created by passing an array sequence to animate(), as before. But now, any animation can be converted into a timeline using .add() Check out the full docs: motion.dev/docs/timeline-seq…
5
654
Reorder is now fully ⌨️ keyboard accessible. Tab into the list to focus the first item. Arrow keys move focus relative to item screen position. Space grabs an item (triggering whileDrag). Arrows move it. Space drops it, or Esc sends it back from where it came.
1
2
30
1,621
The drag() gesture is now available in vanilla JS. Momentum, elastic bounds, direction lock, link to motion values and follow with springs. All your favourites from React are now available everywhere.
5
6
1
96
5,655
The Motion UI Gallery now supports shaders, starting with depth of field. Customise blur and focal depth, either as static or motion values. When passed a shader, Gallery renders via WebGPU but maintains the full a11y of the DOM.
2
2
29
2,110
We set out at the start of the year to hit zero open issues by the end of it. Finally, today's the day - two months early (and just time time for GTA!)
3
1
26
1,704
Motion 14.5 introduces scopeMotion and useScopeMotion. Scope Motion functions for easy cleanup, media query matching, setting default transitions and scoping to an element. Supports a simplified match media syntax.
3
1
38
4,994
The doctor will see you now. Reply with your site URL (if it's still online) and we will give you one way you can improve your animation performance, thanks to the new Performance Doctor MCP App.
5
2
30
2,244