This gets you started with GSAP's core animation API without the noise. You'll learn the four tween methods (to, from, fromTo, set), how to animate transforms and CSS properties, and which easing functions to reach for when. The stagger examples are solid for animating lists and grids, and the callbacks section covers the lifecycle hooks you actually need. It's focused on fundamentals rather than advanced plugins, so you're looking at basic tweens, timing controls, and playback methods. If you're used to CSS transitions and want programmatic control with better performance, or you're building anything interactive that needs smooth motion, this is the foundation. The ease comparison table alone saves you from guessing which curve feels right.

skills.sh installs
285
GitHub stars
9
last updated
Aug 21, 2026

Install

$ npx -y skills add bbeierle12/skill-mcp-claude --skill gsap-fundamentals --agent claude-code

Installs into .claude/skills of the current project.

Files

GSAP Fundamentals

Core animation concepts with GreenSock Animation Platform.

Quick Start

npm install gsap
import gsap from 'gsap';

// Basic tween
gsap.to('.box', {
  x: 200,
  duration: 1,
  ease: 'power2.out'
});

Core Concepts

Tween Types

MethodDescriptionUse Case
gsap.to()Animate from current → targetMost common
gsap.from()Animate from target → currentEntrance animations
gsap.fromTo()Animate from defined start → endFull control
gsap.set()Instantly set propertiesInitial state

Basic Tweens

// To: current state → target
gsap.to('.element', {
  x: 100,
  y: 50,
  rotation: 360,
  duration: 1
});

// From: target → current state
gsap.from('.element', {
  opacity: 0,
  y: -50,
  duration: 0.5
});

// FromTo: explicit start and end
gsap.fromTo('.element',
  { opacity: 0, scale: 0.5 },  // from
  { opacity: 1, scale: 1, duration: 1 }  // to
);

// Set: instant property change
gsap.set('.element', { visibility: 'visible', opacity: 0 });

Animation Properties

Transform Properties

Sponsors

Details

Repository
github.com/bbeierle12/skill-mcp-claude
Categories
AI & Agent Building, Design & UI/UX
First seen
Jun 3, 2026

More from bbeierle12/skill-mcp-claude

All 8
1mitsuhiko avatarsummarizemitsuhiko/agent-stuffFetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize285skills.sh installs
2neondatabase avatarneon-serverlessneondatabase/ai-rulesneon serverless285skills.sh installs
3thedivergentai avatargodot-genre-roguelikethedivergentai/gd-agentic-skillsExpert blueprint for roguelikes including procedural generation (Walker method, BSP rooms), permadeath with meta-progression (unlock persistence), run state vs 285skills.sh installs
4jwynia avatarmedia-meta-analysisjwynia/agent-skillsSynthesize multiple media analyses into cross-source patterns and insights. Use when you need to cross-reference analyses, find patterns across sources, or perf284skills.sh installs
5tuist avatarcompare-cache-runstuist/agent-skillsCompares two `tuist cache` runs to identify cache hit rate changes and root-cause analysis of cache invalidation. Can be invoked with cache run IDs, dashboard U284skills.sh installs
6gohypergiant avataraccelint-react-testinggohypergiant/agent-skillsUse when writing, reviewing, or refactoring React component tests with Testing Library. Load when you see render(), screen, fireEvent, userEvent, waitFor, or *.282skills.sh installs