gsap-plugins

Implements GSAP plugin registration and usage for scroll, drag, text, SVG, and physics animations.

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/aungpwint/presentation --skill gsap-plugins-aungpwint
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-plugins
Source: https://github.com/aungpwint/presentation/tree/main/.agents/skills/gsap-plugins
Command: npx skills add https://github.com/aungpwint/presentation --skill gsap-plugins-aungpwint

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? Developers using GSAP plugins often struggle with correct plugin registration, outdated Club GSAP licensing assumptions, and the wide variety of plugin APIs for scroll, drag, text splitting, SVG morphing, and physics effects. ## Core Features & Use Cases - Plugin Registration & Licensing Guidance: Register plugins correctly with gsap.registerPlugin() and install everything from the public gsap npm package without Club GSAP tokens. - Scroll, Drag & Observer Plugins: Implement ScrollToPlugin, ScrollSmoother, Draggable with InertiaPlugin, and Observer for scroll and gesture interactions. - Text, SVG & Physics Plugins: Use SplitText, ScrambleText, DrawSVG, MorphSVG, MotionPath, Physics2D, and easing plugins like CustomEase for advanced animation effects. - Use Case: When a user asks to animate a headline character-by-character on scroll, the skill guides SplitText creation with autoSplit and onSplit, plus proper registration and cleanup via revert(). ## Quick Start Ask the AI to register the GSAP SplitText plugin and animate a heading's characters with a staggered fade-in effect.

Frequently Asked Questions about gsap-plugins

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

FAQPage Schema
How do I register GSAP plugins in a project?▼

Import each plugin from the gsap package and call gsap.registerPlugin() once before first use, for example gsap.registerPlugin(ScrollToPlugin, Flip, Draggable). In React, register at the top level rather than inside a re-rendering component.

How do I animate text character by character with GSAP?▼

Use SplitText.create(target, { type: "words, chars" }) to split text into elements, then animate split.chars with a stagger tween. Call split.revert() or use gsap.context() for cleanup when the component unmounts.

Do GSAP plugins like SplitText and MorphSVG require a paid Club GSAP membership?▼

No. All GSAP plugins are free, including for commercial use, and are included in the public gsap npm package. Do not create an .npmrc with a GreenSock auth token or use the private npm.greensock.com registry.

Why is my DrawSVG animation not showing anything?▼

DrawSVG only animates strokes, so the target element must have a visible stroke and stroke-width set in CSS or as SVG attributes. It works on path, line, polyline, polygon, rect, and ellipse elements, but not on fill or contents of use elements.

How do I make a GSAP Draggable element glide with momentum?▼

Register both Draggable and InertiaPlugin, then set inertia: true in Draggable.create(). The element will continue moving with momentum after release, with callbacks like onThrowUpdate available during the glide.

When should I use Flip instead of a regular GSAP tween?▼

Use Flip when animating between two layout states such as reordered lists, grids, or expanded panels. Capture state with Flip.getState(), change the DOM, then call Flip.from() to animate the transition.