DEV Community

Cover image for Framer vs Spring. What's your opinion about Framer Motion vs React Spring?
Dennis Frijlink
Dennis Frijlink

Posted on

Framer vs Spring. What's your opinion about Framer Motion vs React Spring?

Intro

After the javascript Framework Vue.js, React.js is my favorite Javascript library to work with. React.js is flexible, the most used library and has a big community.

React also has a lot of libraries for transitions and animations like Framer Motion and React Spring. I've read a lot about those two libraries but I can't decide which to use for my future projects.

Question

What's your opinion about it?

I am wondering about how you think about those two libraries and what are the pros and cons of both? Let's discuss in the comments below.

Top comments (1)

Collapse
 
d40b profile image
Daniel Berndt

I've been using react-spring intensively in the past years and decided to try out Framer Motion for a new project.

danielberndt.net/2022/framer-motio...

While I really like the elegance of the much more declarative approach form Framer Motion, I'll stick with react-spring for now. Its abstractions are lower-level which can be helpful for certain needs, but still convenient enough. It's also a quite a few bytes smaller due to having a smaller scope.