Motion

Motion

@motion.dev

The complete animation toolkit for the web. Formerly Framer Motion.

1K followers1 following6 posts

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. motion.dev/docs/drag

Introducing Motion UI Gallery for React Eight beautiful built-in arrangements - or roll your own! Build custom detail views with automatic high-res asset transitions. 3D shared element transitions between every state, rendered completely in the DOM. Now in Motion+

It's been a big year for Motion. Aside from a ton of new features, we set out at the start of the year to hit zero open issues by the end of it. Finally, today's the day (and just in time for Zelda)

Motion reposted

I have two rules for carousel pagination controls. 1. A "page" is calculated from the current item to the start of the next partially-obscured item. 2. Use the current *target* offset, not the current visual offset, to find the next partially-obscured item 🧡

Motion reposted

Thrilled to grace the @motion.dev landing page! ✨ When a tool's this incredible, giving a testimonial is a no-brainer. If Motion isn't in your toolkit, it should be.

Motion reposted

Motion usage continues to explode on npm. Downloads have more than doubled in a year. BUT - site visitors are gradually trending downwards πŸ€” Perhaps there's a summer lull but IMO these two trends are intuitively incompatible without a broader shift at play (you can guess)

Motion reposted

Calling all @wordpress.org developers! It's never been easier to animate your site thanks to our new Motion x WordPress integration guide. Go beyond the limitations of your template with timeline sequencing, scroll animations, gestures and more. motion.dev/docs/wordpress

motion.devAdd animations to your WordPress site | Motion for JavaScriptLearn how to add animations to your WordPress site using Motion. Motion is a free and open source animation library that's limitless yet easy to learn.

Motion reposted

Did you know about the transform-box CSS property? Me neither. It lets you switch SVG transform-origin calculations relative to the view box or the element itself. Motion 12.8.2 uses it to replace measurements for more performant and reliable transforms.

Motion reposted

πŸš€ Motion's view function is now animateView, introducing a new "wait" interrupt mode. If a View Transition is interrupted, it snaps to the end before starting the next animation. animateView fixes this by waiting until the current one is finished. Before/after:

Motion reposted

πŸš€ A new copy-pasteable React component just landed: Image Reveal Slider! Discover how to link slider offset to clipPath to make this image reveal effect. It gives a little tug at the end to provide boundary feedback. It's also keyboard accessible... [1/4]

Motion reposted

πŸš€ Take Radix to the next level with the official Motion x Radix integration guide! Featuring recommended patterns for exit and layout animations, and a slew of fresh Motion+ examples. motion.dev/docs/radix Which component library would you like to see next?

Motion reposted

Sweating through implementing all of these layout animations today, something that would be so simple with SwiftUI is actually really hard on web atm, but @motion.dev is coming in clutch πŸ’ͺ

Motion reposted

πŸ•΅οΈβ€β™‚οΈ Revealed: React's experimental animations API. Yes, React is getting its first native animations component. Discover <ViewTransition /> in my new post, with live demos, copy/pasteable code, and a full examples minisite. πŸ”— Read all about it: motion.dev/blog/reacts-...

motion.devRevealed: React's experimental animations API - Motion BlogReact is experimenting with a new animation API based on the View Transition API. How does it work? What can it do? We reveal all in this blog post.

Motion reposted

🐞 When debugging motion components with React Developer Tools, they used to all appear as "MotionComponent". But no more! From 11.16.1, they'll appear as motion.div, motion.ul etc. Custom components will even appear as motion.create(YourComponentName)

Motion reposted

πŸš€ Introducing Motion view animations, the View Transition API for the rest of us. Now in Motion+ early access, view() is the easiest way to create view animations. Play, pause, scrub, scroll, and spring. And this is just the start. πŸ”— Docs: motion.dev/docs/view 🧡 Live demos

Motion reposted

πŸš€ The first batch of vanilla JS examples have gone up on examples.motion.dev! Owning the examples site is great, makes it easier to keep examples up-to-date, tested and discoverable. The iframes also load faster in the docs, and fit nicer into the overall design.

examples.motion.devMotion examplesOfficial examples of how to use Motion, a modern animation library for JavaScript and React. View and copy source code, and discover APIs with links through to original documentation.

Motion reposted

πŸ“’ Introducing Motion's latest sponsor: @figma.com! For years, Figma has been using Motion to drive delightful animations throughout their site, core product, and now FigJam too. So it’s awesome to have them support Motion and help make 2025 a huge year for UI animation!

Motion reposted

A couple QoL updates for Motion Examples, hot off the press. 1. Examples now rated for difficulty, and ordered easiest-first. 2. Examples are scanned for props as well as imports, and these are all now linked through to the relevant docs too.

Motion reposted

Had a couple things to finish up before πŸŽ„ and my wife kindly set me up in a cozy pub in which to do them. Sat here thinking to myself, it's been an amazing end to a year. Wild really. Lucky for you, it *is* the beer talking. Here's a Motion+ discount code, courtesy of Santa. motion.dev/plus

Motion reposted

πŸš€ Introducing the new Motion examples minisite! This is the new home for Motion examples. This is just the first version but it already has most of the introductory Motion for React examples. Much more to come. 1/3 🧡

Motion reposted

Wow that was incredibly fast and easy. Amazing job @motion.dev πŸ‘πŸ»πŸ‘πŸ»πŸ‘πŸ»

joey@handle.invalid

I wanted to hold off until later...but excitement awaits 😁

Motion reposted

Motion 11.12 springs to life with bouncy new superpowers! πŸ“ˆ Spring visualiser in docs πŸ‘€ Perceptual duration option πŸ₯΅ CSS pre-generation now in Motion+ early access 🧡 for more:

Motion reposted

You are up to date.