gsap-plugins

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

52|3|Updated Aug 20, 2026
One-click install
npx skills add https://github.com/Wayn-Git/Amethyst --skill gsap-plugins-wayn-git
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-plugins
Source: https://github.com/Wayn-Git/Amethyst/tree/main/agents/skills/gsap-plugins
Command: npx skills add https://github.com/Wayn-Git/Amethyst --skill gsap-plugins-wayn-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? GSAP ships with dozens of plugins, and using them correctly requires knowing registration order, configuration options, and current licensing rules. This Skill provides accurate, up-to-date guidance for every GSAP plugin so generated animation code works on the first try without outdated Club GSAP instructions. ## Core Features & Use Cases - Plugin Registration & Licensing: Correct gsap.registerPlugin() usage and current install guidance, since all plugins are now free in the public gsap npm package. - Scroll, DOM & Text Plugins: ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, and ScrambleText with full config tables and code examples. - SVG, Easing & Physics Plugins: DrawSVG, MorphSVG, MotionPath, CustomEase, Physics2D, PhysicsProps, and GSDevTools for debugging timelines. - Use Case: A user asks to animate a heading character-by-character on page load. The Skill produces SplitText.create() with the right type, aria, and onSplit options, plus a revert pattern for component cleanup. ## Quick Start Ask the AI to write a GSAP animation using a specific plugin, such as making an element draggable with inertia or morphing one SVG shape into another.

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 the element, then tween split.chars with stagger. Call split.revert() on cleanup, or use autoSplit with onSplit() to handle font loading and re-splits.

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

No. Since Webflow's acquisition of GSAP, every plugin is free including for commercial use. Install everything from the public gsap npm package and import plugins directly; no license key, auth token, or private registry is needed.

How do I make an element draggable with momentum in GSAP?▼

Register Draggable and InertiaPlugin, then call Draggable.create(".box", { type: "x,y", bounds: "#container", inertia: true }). The inertia option enables throw and momentum after release, with callbacks like onDrag and onThrowUpdate available.

Why is my DrawSVG animation not showing anything?▼

DrawSVG only animates strokes, so the element must have a visible stroke and stroke-width set in CSS or as SVG attributes. Also confirm DrawSVGPlugin is registered and the target is a path, line, polyline, polygon, rect, or ellipse.

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

Use Flip when animating between two layout states such as reordered lists, grid changes, or expanded and collapsed views. Capture state with Flip.getState(), apply the DOM change, then animate with Flip.from().