
The complete animation toolkit for the web. Formerly Framer Motion. Made by @mattgperry.
Amsterdam
Joined March 2009
- Tweets1.4K
- Following7
- Followers16.7K
- Likes1.8K
Pinned Tweet
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.
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.
Get it now, along with all our other components, examples and lifetime updates, in Motion+
motion.dev/plus
20% off for Black Friday only!
458
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.
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.
🔗🧵
A massive thanks to everyone who's joined us on this amazing two years.
Here's a look back on everything we've built for Motion+ in this short time:
motion.dev/magazine/motion-p…
442
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.
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.
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.
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.
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.
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.
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.
My word
Working on a little image gallery glow up for shop.com's web experience using @motiondotdev's gallery component. Check it out:
2
21
1,581
Check out the full Gallery docs motion.dev/docs/react-galler…
501
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.
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.
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!)
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.
Check out the docs: motion.dev/docs/scope-motion
535













