Motion Design in React: Framer Motion Deep Dive
Back to blogs
Published

Motion Design in React: Framer Motion Deep Dive

E
DevNexus
October 21, 2026
1 min read
5,901 views
0 comments
1 minute read · design

Thoughtful animations make UIs feel alive and communicative.

Page Transitions

<motion.div initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} exit={{ opacity: 0 }} transition={{ duration: 0.3, ease: 'easeOut' }}>
  {children}
</motion.div>

Stagger Children

const container = { hidden: {}, show: { transition: { staggerChildren: 0.07 } } };
const item = { hidden: { opacity: 0, y: 20 }, show: { opacity: 1, y: 0 } };

<motion.ul variants={container} initial='hidden' animate='show'>
  {list.map(i => <motion.li key={i.id} variants={item}>{i.name}</motion.li>)}
</motion.ul>

Scroll-Triggered

<motion.section initial={{ opacity: 0 }} whileInView={{ opacity: 1 }} viewport={{ once: true, margin: '-100px' }}>
  {content}
</motion.section>

Conclusion

Respond to user actions instantly, animate entries gently, exit fast.