gsap
Installation
SKILL.md
GSAP (GreenSock Animation Platform)
Overview
GSAP is a robust, blazingly fast JavaScript animation library that lets you animate anything (CSS properties, SVG, canvas, React components). It's built for modern web performance and handles cross-browser inconsistencies out of the box.
Core components:
- gsap.to(), gsap.from(), gsap.fromTo(): Basic tweens.
- Timeline:
gsap.timeline()to sequence multiple tweens. - Plugins: Add extra capabilities (e.g.,
ScrollTriggerfor scroll animations,Flipfor FLIP animations).
Installation
Reference: GSAP docs, React guide