gsap-plugins

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

Updated Aug 9, 2026
One-click install
npx skills add https://github.com/HoussamMrabet/ultimate-TicTacToe --skill gsap-plugins-houssammrabet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-plugins
Source: https://github.com/HoussamMrabet/ultimate-TicTacToe/tree/main/skills/gsap/gsap-plugins
Command: npx skills add https://github.com/HoussamMrabet/ultimate-TicTacToe --skill gsap-plugins-houssammrabet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? Working with GSAP's many plugins requires knowing correct registration order, import paths, configuration options, and licensing rules, and mistakes like unregistered plugins or outdated Club GSAP install steps cause broken animations. ## Core Features & Use Cases - Plugin Registration & Licensing: Register plugins with gsap.registerPlugin() and install everything from the public gsap npm package, with no Club GSAP membership or auth token required. - Scroll, Drag & Layout: Use ScrollToPlugin, ScrollSmoother, Flip for FLIP layout transitions, Draggable with InertiaPlugin for momentum, and Observer for gesture input. - Text, SVG & Physics: Animate text with SplitText and ScrambleText, draw and morph SVG with DrawSVG and MorphSVG, move elements along paths with MotionPath, and apply Physics2D or PhysicsProps. - Use Case: When a user asks to animate a headline character-by-character on scroll, the skill guides SplitText.create with autoSplit and onSplit, plus proper registration and revert cleanup. ## Quick Start Ask the AI to register the needed GSAP plugins and write an animation, for example splitting a heading into characters with SplitText and staggering them in.

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 a component that re-renders.

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.

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

Register SplitText, then call SplitText.create(target, { type: 'words, chars' }) and animate the returned chars array with stagger. Use autoSplit with onSplit so animations re-run correctly when fonts load or the element resizes.

Why is my GSAP 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. 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 after release?

Register both Draggable and InertiaPlugin, then set inertia: true in Draggable.create. You can also track velocity with InertiaPlugin.track and use inertia: { x: 'auto' } in a tween to glide to a stop.

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 from the old state to the new one.