3
4 Comments

What's your preferred animation library?

Mine is Framer Motion.

Because of how easy you declare animations and "inject" the motion into syntax.

<motion.tag variants={variants}>...</motion.tag>

https://www.framer.com/motion/

.

  1. 2

    So far I have managed to avoid React animations altogether by using CSS animations instead, and that's my plan until I run across a problem that can't be solved with CSS.

    1. 1

      I was a fan of css animations before but unfortunately it's not easy to orchestrate or stagger animations. Sure you can do some workarounds with events (eg onAnimationComplete apply another animation to some element) but still..

  2. 2

    I currently use React Spring. Their animations are awesome, but their API definitely leaves something to be desired. I would love to try Framer Motion at some point.

  3. 2

    I really like React Spring, but have been meaning to give Framer Motion a try.

Trending on Indie Hackers
✨ Let's hack Twitter ✨ 55 comments I quit everything. I'm going all-in on Web3. 41 comments My SEO experience 14 comments Why I started following back everyone 7 comments How do you login users on you site? 5 comments How do I not quit? 4 comments