React carousel animations

11 examples. Carousel animations built with React and Framer Motion. Carousels, sliders and galleries with 3D spirals, liquid edges and infinite loops.

React carousel animations: common questions

How do I build carousel animations in React?
Pick an example below, copy its prompt (or send it to Claude Code, Cursor or Codex) and your agent builds it in React. Each prompt lists the layout, timing and easing, and links a keyframe sheet of the motion. Framer Motion (now motion/react) covers most UI work: layout animations, AnimatePresence for enter and exit, gestures and springs. Use GSAP for long timelines and scroll choreography, and three.js or react-three-fiber for 3D.
How do I make an infinite carousel?
Duplicate the items and translate the track from 0 to −50% in a linear loop; mark the copies aria-hidden.
How do I add depth to a carousel?
Scale and rotate items by their distance from the centre, and add slight blur or shadow to the ones further away.

Carousel animations in other frameworks

More React animations