migrate-scroll-to-gsap

Convert scroll-driven animations from Framer Motion to GSAP ScrollTrigger in React/Next.js components.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/VXerys/marketiv-web --skill migrate-scroll-to-gsap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-scroll-to-gsap
Source: https://github.com/VXerys/marketiv-web/tree/main/.github/skills/migrate-scroll-to-gsap
Command: npx skills add https://github.com/VXerys/marketiv-web --skill migrate-scroll-to-gsap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers migrate scroll-driven animations from Framer Motion to GSAP in React/Next.js applications, ensuring smoother animations and better performance.

Core Features & Use Cases

  • Migrate Animations: Converts scroll animations from Framer Motion to GSAP ScrollTrigger.
  • Preserve Micro-Interactions: Retains hover, tap, and click transitions using Framer Motion.
  • Use Case: Ideal for improving the performance of web applications with complex scroll animations, especially in components that experience jank during smooth scrolling.

Quick Start

Migrate the scroll animation in 'MyComponent.tsx' to use GSAP ScrollTrigger.

Frequently Asked Questions about migrate-scroll-to-gsap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate scroll animations from Framer Motion to GSAP in React?

To migrate scroll animations from Framer Motion to GSAP in React, you can convert your scroll-driven animations to use GSAP ScrollTrigger. This ensures smoother scrolling and better performance in complex components.

Why does my Framer Motion scroll animation jank during smooth scrolling in Next.js?

Framer Motion scroll animations can jank during smooth scrolling in Next.js due to performance bottlenecks. Migrating these specific scroll-driven animations to GSAP ScrollTrigger resolves the performance issues and eliminates jank.

Can I keep Framer Motion micro-interactions while using GSAP for scroll animations?

Yes, you can preserve Framer Motion micro-interactions while using GSAP for scroll animations. The migration specifically targets scroll-driven animations, allowing hover, tap, and click transitions to remain intact using Framer Motion.

Do I need GSAP ScrollTrigger to fix React scroll animation performance?

You need GSAP ScrollTrigger to fix React scroll animation performance if you are experiencing jank during smooth scrolling. Converting scroll-driven animations from Framer Motion to GSAP ScrollTrigger ensures smooth scrolling without performance issues.

What is the best way to convert complex scroll animations to GSAP ScrollTrigger?

The best way to convert complex scroll animations to GSAP ScrollTrigger is to use an automated migration process that handles both simple and complex animation scenarios. This ensures smooth scrolling performance in React and Next.js applications.