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
9
1
289
11,780
Did you know that a JavaScript-driven, paint-triggering animation can outperform CSS? Or that a layer forced with translate3d can still perform (much) worse than one made with will-change? Graphs and more surprises galore as we fire up the new Motion Performance Lab. 🔗 ➡️
3
8
1
74
7,225
Lovely new X tab bar animation built with Motion @benjitaylor you up for a Motion sponsorship?
5
1
72
7,653
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
58
4,240
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,833
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,477
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
122
4,753
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
892
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,190
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,679
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,935
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,175
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,386
Check out the docs and examples: motion.dev/docs/pinch
1
793
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,669
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,105
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,676
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,717
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,153
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,742
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
5,044