gsap-plugins

Register and configure GSAP plugins across JavaScript projects.

1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/0monish/portfolio-vivek-kamani --skill gsap-plugins-0monish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsap-plugins
Source: https://github.com/0monish/portfolio-vivek-kamani/tree/main/.agents/skills/gsap-plugins
Command: npx skills add https://github.com/0monish/portfolio-vivek-kamani --skill gsap-plugins-0monish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GSAP users often need consistent guidance for discovering, registering, and leveraging a wide range of GSAP plugins across projects. This skill consolidates plugin usage patterns, best practices, and integration steps into a single reference.

Core Features & Use Cases

  • Unified plugin registration: registering ScrollToPlugin, ScrollSmoother, Flip, Draggable, DrawSVG, MorphSVG, MotionPath, SplitText, ScrambleText, GSDevTools, and other GSAP plugins.
  • Guidance on when and how to use each plugin, including SVG drawing, path morphing, and physics-like animations.
  • Development patterns: how to organize plugin loading, avoid re-registration, and share utilities across React or vanilla JS projects.

Quick Start

Install GSAP and register the plugins you plan to use, then start creating animations with the registered plugins.

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

GSAP plugins like ScrollToPlugin and Flip must be imported and passed to gsap.registerPlugin() before use. This one-time registration enables animation features, prevents console warnings, and allows you to organize plugin loading efficiently across React or vanilla JS projects.

Can I use Draggable and DrawSVG plugins together for SVG animations?

Yes, Draggable and DrawSVG can be used together in GSAP. You register both plugins once via gsap.registerPlugin(), enabling you to combine interactive dragging physics-like effects with SVG drawing animations simultaneously without re-registration conflicts.

What is the best way to avoid re-registering GSAP plugins in React?

The best way to avoid re-registering GSAP plugins in React is to call gsap.registerPlugin() once at a top-level module scope rather than inside individual components. This prevents duplicate registrations and shares utilities efficiently across your project.

Does GSAP require a specific plugin for morphing SVG paths?

Yes, GSAP requires the MorphSVG plugin to animate SVG path morphing. You must register MorphSVG via gsap.registerPlugin() to transform path shapes smoothly and leverage its advanced SVG drawing and morphing capabilities.

When do I need ScrollSmoother or ScrollToPlugin for scroll animations?

You need ScrollSmoother for physics-like smooth scrolling effects and ScrollToPlugin for basic programmatic scroll animations. Both require registration via gsap.registerPlugin() to integrate their respective easing and scrolling features into your project.