gsap-core

Create GSAP tweens, staggers, and responsive animations in React, Vue, and vanilla JavaScript.

Updated May 25, 2026
One-click install
npx skills add https://github.com/SafiNguyen/Personal-Website --skill gsap-core-safinguyen
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-core
Source: https://github.com/SafiNguyen/Personal-Website/tree/main/.agents/skills/gsap-core
Command: npx skills add https://github.com/SafiNguyen/Personal-Website --skill gsap-core-safinguyen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of creating performant, synchronized, and responsive web animations, replacing brittle CSS transitions with a robust, framework-agnostic JavaScript engine.

Core Features & Use Cases

  • Tweening Engine: Precise control over DOM and SVG properties using methods like to, from, and fromTo.
  • Responsive Animation: Built-in matchMedia support for handling different screen sizes and accessibility preferences like reduced motion.
  • Use Case: Use this skill to create complex, staggered entrance animations for a landing page that automatically pause or disable when a user prefers reduced motion.

Quick Start

Use the gsap-core skill to animate the opacity and x-position of all elements with the class box over a duration of one second.

Frequently Asked Questions about gsap-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create performant web animations that work across React and Vue?▼

You can create performant web animations across React, Vue, and vanilla JavaScript using the GSAP core engine. It provides a framework-agnostic interface for precise tweening control and efficient DOM manipulation via transform aliases.

How do I handle prefers-reduced-motion preferences for staggered entrance animations?▼

You handle prefers-reduced-motion preferences using built-in matchMedia support for responsive animation logic. This ensures your staggered entrance animations automatically pause or disable based on user accessibility settings.

Can I use GSAP to animate DOM and SVG properties without relying on CSS transitions?▼

You can animate DOM and SVG properties using GSAP's tweening engine methods like to, from, and fromTo. This approach replaces brittle CSS transitions with a robust JavaScript engine for synchronized animations.

What is the best way to synchronize complex web animations in frontend development?▼

The best way to synchronize complex web animations is using a professional-grade JavaScript engine like GSAP. It replaces brittle CSS transitions with robust tweening controls, staggers, and responsive animation logic.

Why should I use a JavaScript animation engine instead of CSS transitions for frontend animations?▼

You should use a JavaScript animation engine to overcome the complexity and brittleness of CSS transitions. GSAP provides precise control over DOM properties, responsive matchMedia handling, and accessibility compliance for high-performance web animations.