InterviewHubPRO
Section Overview
Q75

Question 75 of 445

Part 1: Core React, JSX & Component Architecture (1 - 77)

17%
React & Modern Frontend (445 Qs)•Part 1: Core React, JSX & Component Architecture (1 - 77)

What are the popular packages for animation?

React Transition Group and React Motion are popular animation packages in React ecosystem.

Practical Code Example

jsx
// Modern React Animation Libraries: Framer Motion
import { motion } from 'framer-motion';

export function FadeInCard({ children }) {
  return (
    <motion.div
      initial={{ opacity: 0, y: 20 }}
      animate={{ opacity: 1, y: 0 }}
      transition={{ duration: 0.4 }}
    >
      {children}
    </motion.div>
  );
}