←
Motion1,377 posts
Motion avatar

Motion

@motiondotdev

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

◷ Joined March 2009▧ 247 Photos and videos
Motion avatar
Motion@motiondotdev·Nov 2

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.

Post attachment
Motion avatar
Motion@motiondotdev·Nov 17

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.

Post attachment
Motion avatar
Motion@motiondotdev·Nov 12

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.

0:55
Matt Perry avatar
⟳ Motion retweeted
Matt Perry@mattgperry·Nov 11

Never change a value by a fixed amount per animation frame. Like rotate += 10 Your animation will run at different speeds based on the device refresh rate. And devices themselves can dynamically change frame rate like in low power mode. Instead...

0:08
Motion avatar
Motion@motiondotdev·Nov 10

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.

0:09
Motion avatar
Motion@motiondotdev·Nov 9

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.

Post attachment
cafkafk avatar
⟳ Motion retweeted
cafkafk@cafkafk·Nov 8

DHH wrote "When wolves get out of control, you shoot them. When gypsies take over public spaces, you deport them." and these people shrug. But a Linux project switches to the GPL, the same license as the kernel, and they all lose their minds. Real people vs. a license file.

That sure aint the reason they moved to GPL days after Omarchy integrated and credited a bunch of Asahi’s work.

Yanis Lebzar avatar
⟳ Motion retweeted
Yanis Lebzar@dev_ya·Nov 8

Grouping tabs should be this easy ✨ Hold ⌘, pick the tabs, ⌘G and they gather into a group. Click its name to collapse it. Used @motiondotdev

0:11
Lorenzo Dossi avatar
⟳ Motion retweeted
Lorenzo Dossi@lorenzodossi·Nov 6

ty @mattgperry 🤍

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.

0:17
Motion avatar
Motion@motiondotdev·Nov 6

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.

0:17
Yanis Lebzar avatar
⟳ Motion retweeted
Yanis Lebzar@dev_ya·Nov 4

Building my own CMS lately. The cover upload develops like film ✨ Used @motiondotdev and some @threejs shaders

0:11
Motion avatar
Motion@motiondotdev·Nov 4

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.

Post attachment