DEV Community

Cover image for Framer AI button animation
Eduard Constantin
Eduard Constantin

Posted on

Framer AI button animation

This week I've seen a few people trying to replicate this button hover animation created by Edoardo Mercati.

I challenged myself to create the animation but using framer motion, a popular animation library for React. In addition, I added a few props to be able to change the color and the text of the button. This way, I can customize the animation to suit different themes and purposes.

I learned a lot from this challenge and Iā€™m pretty happy with the final result.

You can find the code for this project on GitHub, feel free to contribute:

And I also set up a website on Vercel:

Top comments (0)