What problem does it solve?
This Skill eliminates the frustration of building inconsistent, hard-to-control JavaScript animations that lack cross-framework compatibility and accessibility support, providing a robust, production-ready animation engine for web projects.
Core Features & Use Cases
- Core Tween Control: Create, pause, reverse, and sequence single or multiple element animations using gsap.to(), from(), and fromTo() methods for entrances, exits, and interactive state changes.
- Responsive & Accessible Animations: Use gsap.matchMedia() to adapt animations to different screen sizes and automatically respect user prefers-reduced-motion settings for better accessibility compliance.
- Use Case: For example, build a product card hover animation that scales and rotates the card on desktop, disables animation for users who prefer reduced motion, and reverts cleanly when the component unmounts.
Quick Start
Use the gsap-core skill to create a fade-in animation for the hero section that respects users' reduced motion preferences and works across desktop and mobile screen sizes.