3
5 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
I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments How to create a rating system with Tailwind CSS and Alpinejs 7 comments