Motion's Avatar

Motion

@motion.dev

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

1,084
Followers
1
Following
3
Posts
01.09.2024
Joined
Posts Following

Latest posts by Motion @motion.dev

Video thumbnail

A little preview of the animated menu I built using @motion.dev x @nuxt.com for my upcoming portfolio ๐Ÿงก

Sharing a short video to show how the menu looks so far ๐Ÿ‘‡

03.09.2025 09:22 ๐Ÿ‘ 4 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

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 ๐Ÿงต

22.08.2025 11:19 ๐Ÿ‘ 7 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

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.

09.08.2025 17:20 ๐Ÿ‘ 8 ๐Ÿ” 1 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ New example & tutorial: Card stack

Honestly my favourite part of making this demo was realising:

rotate = mix(min, max, Math.sin(index))

Nice SSR-safe alternative to Math.random() that actually provides a nicer distribution of rotations through the stack.

examples.motion.dev/react/card-s...

19.08.2025 13:57 ๐Ÿ‘ 29 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 1
Graph showing increase in motion users in the last year

Graph showing increase in motion users in the last year

Graph showing decrease in motion.dev visitors in the last year

Graph showing decrease in motion.dev visitors in the last year

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)

16.06.2025 08:40 ๐Ÿ‘ 18 ๐Ÿ” 2 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿงฒ Introducing cursor zones and magnetic cursors, now in Motion+ Cursor.

It's easier than ever to adapt your cursor to your content - and your content to your cursor! All powered with Motion's spring and layout animations.

motion.dev/blog/introducing-magnetic-cursors-in-motion-cursor

13.05.2025 11:45 ๐Ÿ‘ 133 ๐Ÿ” 12 ๐Ÿ’ฌ 6 ๐Ÿ“Œ 2
Preview
Add animations to your WordPress site | Motion for JavaScript Learn 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.

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

06.05.2025 14:40 ๐Ÿ‘ 8 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
SVG transform improvements
- Swapped measurements for fill-box
- m component 10% smaller
- SSR support for SVG transforms

SVG transform improvements - Swapped measurements for fill-box - m component 10% smaller - SSR support for SVG transforms

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.

24.04.2025 12:42 ๐Ÿ‘ 18 ๐Ÿ” 2 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

Apple Intelligence "ripple" effect, made in Motion for React.

All CSS effects, zero shaders.

๐Ÿ”— Example: examples.motion.dev/react/apple-...

This is only one part of the full Apple Intelligence animation but thought it was interesting enough to isolate. Perhaps a tutorial next week?

18.04.2025 13:10 ๐Ÿ‘ 47 ๐Ÿ” 5 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Post image

๐Ÿš€ Motion's mini animate() just got minier. The web's miniest animation function is now only 2.3kb, a 15% reduction. Minsane.

01.04.2025 15:49 ๐Ÿ‘ 36 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ 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:

25.03.2025 14:53 ๐Ÿ‘ 50 ๐Ÿ” 1 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ Introducing Motion for @vuejs.org โ€” A feature-complete port of Motion for React (prev Framer Motion).

Springs, scroll, AnimatePresence, gestures, and yes, layout animations. All that and more, powered by Motion's unique hybrid engine, wrapped up with its simple API.

๐Ÿ”— motion.dev/blog/introdu...

19.03.2025 14:13 ๐Ÿ‘ 135 ๐Ÿ” 21 ๐Ÿ’ฌ 5 ๐Ÿ“Œ 7
Video thumbnail

@astro.build, petite @vuejs.org and @motion.dev can be a pretty powerful combo for some lightweight interactions

17.03.2025 17:49 ๐Ÿ‘ 9 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

The BKMN Collection Day 2: Multi-step badge

This button combines SVG path animations, blur filters and keyframes to build a dynamic and fun information badge.

๐Ÿ”— React: examples.motion.dev/react/multi-...
๐Ÿ”— JS: examples.motion.dev/js/multi-sta...

18.03.2025 10:19 ๐Ÿ‘ 14 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

The BKMN Collection Day 1: Notification stack

This iOS-inspired notifications stack uses Motion's variants to gracefully animate between open and closed states with finely-tuned physics-based springs.

JS: examples.motion.dev/js/notificat...
React: examples.motion.dev/react/notifi...

17.03.2025 13:05 ๐Ÿ‘ 23 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ Introducing Split Text for Motion+

A 0.7kb vanilla JS function for creating beautiful and playful text animations.

Split text into chars, words and lines and animate with Motion, CSS, or anything else.

๐Ÿ”— motion.dev/docs/split-t...
๐Ÿ•น๏ธ examples.motion.dev/js?search=sp...

26.02.2025 13:59 ๐Ÿ‘ 52 ๐Ÿ” 6 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ 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]

24.02.2025 12:25 ๐Ÿ‘ 33 ๐Ÿ” 2 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

โŒš๏ธ Recreation of the Apple Watch home screen.

All the scales are calculated declaratively, with each item using chains of useTransforms derived from their x/y position and current pan position.

examples.motion.dev/react/apple-...

20.02.2025 12:51 ๐Ÿ‘ 48 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿ“ˆ New example: SVG line graph animation with Cursor x AnimateNumber cursor annotation

examples.motion.dev/react/line-g...

19.02.2025 14:39 ๐Ÿ‘ 35 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
CSS | Motion for JavaScript Learn how to make spring animations purely in CSS with Motion's spring function.

This guide has more information motion.dev/docs/css

17.02.2025 13:59 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

spring() has a .toString() method which generates a linear() timing function string.

17.02.2025 13:59 ๐Ÿ‘ 9 ๐Ÿ” 2 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ New reveal text example just landed on Motion examples. Performed by switching justifyContent and Motion's layout animations.

With this kind of effect it's important to hide the duplicated text with aria-hidden!

Does this effect have a canonical name?

examples.motion.dev/react/text-r...

04.02.2025 14:14 ๐Ÿ‘ 24 ๐Ÿ” 2 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1
Video thumbnail

๐Ÿš€ 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?

30.01.2025 13:57 ๐Ÿ‘ 25 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ Introducing <AnimateNumber />

A Motion+ React component for making beautiful number animations. Based on @barvian.me's NumberFlow, this version is built entirely on Motion, so existing users can use it for just +2.5kb.

motion.dev/docs/react-animate-number

28.01.2025 13:55 ๐Ÿ‘ 230 ๐Ÿ” 18 ๐Ÿ’ฌ 8 ๐Ÿ“Œ 2
Video thumbnail

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 ๐Ÿ’ช

23.01.2025 11:57 ๐Ÿ‘ 10 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

โ˜€๏ธ The iOS brightness slider, rebuilt in Motion!

โˆ™ useTransform maps overshoot into tug, stretch and squeeze
โˆ™ Keyboard a11y - tap up/down to change value
โˆ™ Spring-powered "kick" when pressing up/down beyond min/max values

examples.motion.dev/react/ios-sl...

23.01.2025 13:18 ๐Ÿ‘ 48 ๐Ÿ” 1 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

New on Motion+ Examples: Tab select.

โœ… Shared layout animation for selected state
โŒจ๏ธ Free keyboard accessibility with onTap + whileFocus

Check it out: examples.motion.dev/react/tab-se...

16.01.2025 14:52 ๐Ÿ‘ 31 ๐Ÿ” 5 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

Introducing Motion+ for Teams

Power up 10 members for the price of 5!
๐Ÿง  Exclusive examples
๐Ÿ’„ Premium components
โฐ Early access content
๐Ÿ’ฌ Private Discord

motion.dev/plus

15.01.2025 14:14 ๐Ÿ‘ 13 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
Revealed: React's experimental animations API - Motion Blog React 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.

๐Ÿ•ต๏ธโ€โ™‚๏ธ 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-...

13.01.2025 15:02 ๐Ÿ‘ 163 ๐Ÿ” 24 ๐Ÿ’ฌ 3 ๐Ÿ“Œ 3
Before/after comparison of all motion components displaying as MotionComponent vs motion.ul, motion.li etc

Before/after comparison of all motion components displaying as MotionComponent vs motion.ul, motion.li etc

๐Ÿž 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)

08.01.2025 13:11 ๐Ÿ‘ 38 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0