| What it is | Performant confetti animations in the browser on a canvas | A fast, modular JavaScript animation engine for CSS, SVG, DOM and JavaScript objects | A wildly robust JavaScript animation library built for professionals | Airbnb's JavaScript player that renders After Effects animations exported as Lottie JSON in the browser |
| Features | - confetti bursts with options for count, spread, angle, colours and gravity
- square, circle and star shapes, plus custom SVG-path and emoji shapes
- draws on your own canvas with confetti.create
- a reduced-motion option
| - animate CSS properties, individual transforms, SVG and JavaScript objects with one API
- keyframes, built-in easings and springs
- timelines to sequence animations and keep callbacks in sync
- stagger utility for time, value and timeline-position staggering
- scroll observer to trigger and sync animations on scroll
- draggable API with snap, flick and throw
- SVG shape morphing, line drawing and motion paths
- modular imports to keep bundles small
| - Tweens and timelines to sequence, pause, reverse and scrub animations
- Large set of easing curves plus custom eases (CustomEase, CustomBounce, CustomWiggle)
- ScrollTrigger and ScrollSmoother for scroll-driven animation
- SVG plugins: DrawSVG, MorphSVG and MotionPath
- Flip for animating layout changes, Draggable and Inertia for drag interactions
- SplitText and ScrambleText for text effects
- React integration with the useGSAP hook
- Installs from npm or a CDN, as ES modules or UMD
| - Play After Effects animations exported as Lottie JSON in a web page
- SVG, canvas and HTML renderers
- Bodymovin After Effects extension for exporting animations
- Playback control: play, pause, stop, speed, direction and segments
- Install from npm or a CDN
|