gsap-plugins

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

Updated May 23, 2026
One-click install
npx skills add https://github.com/Oatse/CWE-Automation --skill gsap-plugins-oatse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-plugins
Source: https://github.com/Oatse/CWE-Automation/tree/main/.agents/skills/gsap-plugins
Command: npx skills add https://github.com/Oatse/CWE-Automation --skill gsap-plugins-oatse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? Developers often misuse GSAP plugins by forgetting registration, following outdated Club GSAP licensing instructions, or misconfiguring plugin options like SplitText splitting or MorphSVG shape indexes. This Skill provides correct, current guidance for registering and using every GSAP plugin. ## Core Features & Use Cases - Plugin Registration & Licensing: Register plugins with gsap.registerPlugin() and install all plugins from the public gsap npm package without Club GSAP tokens or private registries. - Interaction & Layout Plugins: Configure ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, and Observer for scroll, drag, and layout-transition animations. - Text, SVG & Physics Plugins: Use SplitText, ScrambleText, DrawSVG, MorphSVG, MotionPath, CustomEase, Physics2D, and GSDevTools with correct configuration tables and caveats. - Use Case: When a user asks to animate a headline character-by-character, the Skill guides creating SplitText.create() with type "chars", staggering the chars, and reverting the instance on component unmount. ## Quick Start Ask the AI to register the needed GSAP plugins and write an animation using the specific plugin you need, such as a Draggable slider or a SplitText headline reveal.

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 using it in any tween. In React, register at the top level or once in the app, not inside components that re-render.

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; no auth token, license key, or private registry is needed.

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

Register SplitText, then call SplitText.create(target, { type: "chars" }) and animate the returned split.chars array with a stagger. Call split.revert() or use gsap.context() cleanup when the element unmounts.

Why is my DrawSVG animation not showing anything?

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

How do I fix a MorphSVG morph that twists or inverts mid-animation?

Set the shapeIndex option to control which start point maps to the first end point. Use shapeIndex: "log" once to log the auto-calculated value, then paste that number or array into the tween; findShapeIndex() offers an interactive UI.

When should I use Observer instead of ScrollTrigger?

Use Observer when you need normalized swipe, wheel, or scroll-direction input without tying animation to scroll position. ScrollTrigger is for scroll-linked animation and has its own dedicated skill.