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/zamansepeti43/c-rak-agent --skill gsap-plugins-zamansepeti43
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-plugins
Source: https://github.com/zamansepeti43/c-rak-agent/tree/main/video-engine/.agents/skills/gsap-plugins
Command: npx skills add https://github.com/zamansepeti43/c-rak-agent --skill gsap-plugins-zamansepeti43

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gsap.

What problem does it solve? GSAP ships many plugins (ScrollToPlugin, Flip, Draggable, SplitText, MorphSVG, and more) that each require correct registration, configuration, and cleanup. This Skill provides the exact API patterns and config options so you avoid common mistakes like using a plugin before registering it or misconfiguring DrawSVG segments. ## Core Features & Use Cases - Plugin Registration & Setup: Correct gsap.registerPlugin() usage for every plugin, including React and useGSAP contexts. - Scroll, DOM & Text Plugins: ScrollToPlugin, ScrollSmoother, Flip layout transitions, Draggable with Inertia, Observer gestures, SplitText and ScrambleText text effects. - SVG, Easing & Physics: DrawSVG stroke drawing, MorphSVG shape morphing, MotionPath path animation, CustomEase, Physics2D, and GSDevTools debugging. - Use Case: You need to animate a heading character-by-character on page load. The Skill shows SplitText.create with type "words, chars", staggered tweens, and autoSplit with onSplit for font-loading-safe re-splits. ## Quick Start Ask the AI to register the GSAP Flip plugin and animate a grid layout change using Flip.getState and Flip.from.

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 JavaScript?

Call gsap.registerPlugin() once with every plugin you use, before any tween or API call that references them. In React, register at the top level of the app rather than inside a component that re-renders.

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 a stagger. For custom fonts, split after fonts load or use autoSplit: true with an onSplit callback that returns the animation.

What is the difference between ScrollToPlugin and ScrollTrigger?

ScrollToPlugin animates the scroll position of the window or an element to a target, such as scrolling to a section. ScrollTrigger ties animations to scroll position and is covered by the separate gsap-scrolltrigger skill.

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 an element draggable with momentum in GSAP?

Register both Draggable and InertiaPlugin, then call Draggable.create with inertia: true and optionally set bounds and type. The element will glide to a stop after release using tracked velocity.

Can I use GSDevTools in production builds?

No. GSDevTools is a development-only debugging UI for scrubbing timelines and toggling animations. Register and create it during development, but exclude it from production bundles.