gsap-core

Animate web UI elements with GSAP core tween methods.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/eryckassis/Dior-Luxury-Boutique-Saas --skill gsap-core-eryckassis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-core
Source: https://github.com/eryckassis/Dior-Luxury-Boutique-Saas/tree/main/.agents/skills/gsap-core
Command: npx skills add https://github.com/eryckassis/Dior-Luxury-Boutique-Saas --skill gsap-core-eryckassis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GSAP core enables precise, high-performance web animations by giving a compact API for tweens, timelines, and CSS transforms, avoiding layout thrashing and ensuring smooth transitions.

Core Features & Use Cases

  • Core Tween Methods: gsap.to(), gsap.from(), gsap.fromTo(), gsap.set() and camelCase property usage for predictable styling.
  • Transforms & CSS Properties: use transform aliases for performant, consistent animations on DOM/SVG elements, including autoAlpha for accessible fades.
  • Responsive & Sequencing: utilize gsap.matchMedia() for responsive and prefers-reduced-motion scenarios; coordinate multiple animations with timelines.
  • Practical Use Case: create a simple intro animation for a card, then sequence a follow-up parallax effect on scroll with ScrollTrigger (related concept).
  • Performance Best Practices: prefer transforms over layout properties.

Quick Start

Create a basic GSAP tween on a DOM element to move it 100px to the right over 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 high-performance web animations without causing layout thrashing?

GSAP core enables high-performance web animations by using transform aliases and a compact tween API, preventing layout thrashing and ensuring smooth CSS transitions on DOM elements.

Can I use GSAP animations in React, Vue, and Svelte projects?

Yes, GSAP core is applicable to React, Vue, Svelte, or vanilla JavaScript projects. It efficiently animates web UI elements using core tween methods across these frameworks.

How do I handle prefers-reduced-motion scenarios when building JavaScript animations?

You handle prefers-reduced-motion scenarios by utilizing gsap.matchMedia() for responsive animations, ensuring your web UI elements adapt appropriately to user accessibility preferences.

What is the best way to sequence multiple tweens into a coordinated timeline?

The best way to sequence multiple animations is using GSAP timelines, which coordinate multiple tweens to create complex, predictable UI transitions without layout thrashing.

Why should I use transform aliases like autoAlpha instead of layout properties in GSAP?

You should use transform aliases like autoAlpha because GSAP core enforces performance best practices by preferring transforms over layout properties, enabling accessible fades and consistent DOM animations.

Do I need ScrollTrigger to build scroll-based parallax effects with GSAP core?

GSAP core handles the foundational tweening for scroll-based parallax effects, but a related concept like ScrollTrigger is needed to tie those animations directly to scroll positions.