orchestrating-gsap-lenis

Community

Sync GSAP animations with Lenis smooth scroll.

Authoralexejluft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill resolves conflicts between GSAP's ScrollTrigger and Lenis smooth scrolling, preventing animation stuttering, incorrect trigger firing, and ensuring a seamless user experience.

Core Features & Use Cases

  • Synchronized Animation Loop: Ensures GSAP and Lenis share a single, conflict-free requestAnimationFrame loop.
  • Correct Initialization Order: Provides the non-negotiable sequence for setting up GSAP, Lenis, and ScrollTrigger.
  • Memory Leak Prevention: Offers critical cleanup strategies for dynamic environments like React and Astro.
  • Anchor Link Fix: Ensures native anchor links function correctly with Lenis scrolling.
  • Use Case: When your GSAP ScrollTrigger animations are jerky, not firing at the right times, or breaking after page navigation, this skill provides the exact setup and cleanup code needed.

Quick Start

Use the orchestrating-gsap-lenis skill to correctly initialize Lenis with GSAP ScrollTrigger, ensuring autoRaf is false and GSAP drives the ticker.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: orchestrating-gsap-lenis
Download link: https://github.com/alexejluft/brudi/archive/main.zip#orchestrating-gsap-lenis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.