What problem does it solve?
GSAP Core provides a framework-agnostic, high-performance API surface for creating, controlling, and sequencing animations with minimal boilerplate. It focuses on core methods like to(), from(), fromTo(), and set(), plus utilities like stagger, easing, and ScrollTrigger integration to enable robust, scalable web animations.
Core Features & Use Cases
- Core Tween Methods: gsap.to(), gsap.from(), gsap.fromTo(), gsap.set() for precise, repeatable animation control.
- Sequencing & Timing: stagger, timelines, and repeat/yoyo behavior to coordinate complex motion.
- Easing & Transforms: built-in eases and transform aliases for smooth, performant animations.
- Responsive & Accessibility: gsap.matchMedia() for responsive breakpoints and prefers-reduced-motion support.
- Use Case: Animate a modal entrance, animate a list of items with staggered delays, or build scroll-driven interactions with ScrollTrigger.
Quick Start
Create a simple tween using gsap.to on a DOM element to move it 100px over 1 second.