gsap-plugins

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

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

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 current licensing rules, and outdated advice about paid Club GSAP plugins leads to broken setups. ## Core Features & Use Cases - Plugin Registration & Licensing: Register plugins with gsap.registerPlugin() and install everything from the public gsap npm package, since all plugins including SplitText and MorphSVG are now free. - Scroll, DOM & UI Plugins: Configure ScrollToPlugin, ScrollSmoother, Flip for layout transitions, Draggable with InertiaPlugin for momentum dragging, and Observer for gesture detection. - Text, SVG & Physics Plugins: Split text with SplitText, scramble text, draw and morph SVG paths, animate along motion paths, and apply 2D physics with configurable velocity and gravity. - Use Case: When a user asks to animate a heading character-by-character on page load, the skill guides creating a SplitText instance with type "chars", staggering the chars with gsap.from, and reverting on unmount. ## Quick Start Ask the AI to register the needed GSAP plugins and write an animation, for example a draggable card with inertia or a SplitText character 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, for example gsap.registerPlugin(ScrollToPlugin, Flip, Draggable). In React, register at the top level rather than inside a re-rendering component.

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

No. Since Webflow's acquisition of GSAP, every plugin is free for commercial use and 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?▼

Use SplitText.create(target, { type: "chars" }) to split the element, then animate split.chars with a stagger, such as gsap.from(split.chars, { opacity: 0, y: 20, stagger: 0.03 }). Call split.revert() 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 also does not affect fill, and contents of <use> elements cannot be visually changed.

How do I make a GSAP Draggable element glide after release?▼

Register both Draggable and InertiaPlugin, then set inertia: true in Draggable.create along with a type like "x,y" and optional bounds. The element will continue with momentum and glide to a stop after release.

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(state) to animate the transition.