What problem does it solve?
GSAP Core provides a framework-agnostic way to create robust, performant web animations using the core engine (gsap.to(), gsap.from(), gsap.fromTo(), gsap.set) and establishes best practices for consistent motion across frameworks.
Core Features & Use Cases
- Core tween methods: gsap.to(), gsap.from(), gsap.fromTo(), gsap.set for common animation patterns.
- Transform aliases: use x, y, rotation, scale, etc. for reliable DOM/CSS animations with consistent behavior across browsers.
- Timelines and sequencing: build complex, coordinated motion via timelines and panels, including ScrollTrigger-based scroll-driven animations.
- Responsive and accessible motion: leverage gsap.matchMedia() to adapt animations to breakpoints and prefers-reduced-motion settings.
Quick Start
Create a simple 2-second fade-in animation for a hero element using gsap.to.