gsap-plugins

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

1|Updated Aug 17, 2026
One-click install
npx skills add https://github.com/NalinDalal/skillset --skill gsap-plugins-nalindalal
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gsap-plugins
Source: https://github.com/NalinDalal/skillset/tree/main/skills/ui/gsap-plugins
Command: npx skills add https://github.com/NalinDalal/skillset --skill gsap-plugins-nalindalal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? GSAP ships dozens of plugins with distinct APIs, and developers often misuse them by skipping registration, following outdated Club GSAP licensing instructions, or misconfiguring options like SplitText types and DrawSVG segments. This Skill provides correct, current guidance for every official GSAP plugin. ## Core Features & Use Cases - Plugin Registration & Licensing: Enforces gsap.registerPlugin() before use and clarifies that all plugins are free in the public npm package with no auth tokens or private registries. - Full Plugin Coverage: Documents ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, DrawSVG, MorphSVG, MotionPath, CustomEase, Physics2D, PhysicsProps, GSDevTools, and PixiPlugin with config tables and code examples. - Use Case: A developer wants to animate a heading character-by-character on page load. The Skill supplies SplitText.create with the right type, aria, and autoSplit options, plus a gsap.from stagger tween and revert guidance for cleanup. ## Quick Start Ask the agent to add a GSAP plugin animation, such as splitting a heading into characters with SplitText or making a card draggable with inertia.

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(ScrollToPlugin, Flip, Draggable) once before any tween uses it. In React, register at the top level rather than inside a re-rendering component.

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

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

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

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

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. It works on path, line, polyline, polygon, rect, and ellipse elements, not fills.

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

Register both Draggable and InertiaPlugin, then call Draggable.create with type "x,y" and inertia: true. Use bounds to constrain the drag area and edgeResistance to control behavior past the bounds.

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 the state with Flip.getState(), change the DOM, then call Flip.from() to animate the transition.