Clean Up Your Components with Framer Motion Variants

InstructorWill Johnson

Share this video with your friends

Send Tweet

Variants allow you to create custom animations in an object outside of your component. You can also add any name you want to make your code even more declarative

~ 2 years ago

This is a terrific tutorial, thank you. But I was losing my mind when you didn't indent transition within the visible object. At first I thought you just left the } off of the visible property.

Anyway, thank you, it became clear soon enough.

Will Johnsoninstructor
~ 2 years ago

That's a really good call out! I'll keep that in mind for the next course. Thank you!