MR
Mayur Rathi
@mayurrathi
⭐ 40.7k GitHub stars

Scroll Experience

Scroll Experience is an code AI skill with a core value of Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Expert in building immersive scroll-driven experiences - parallax storytelling, scroll animations, interactive narratives, and cinematic web experiences. Like NY Times interactives, Apple product p...

Last verified on: 2026-07-07

Quick Facts

Category code
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 40.7k
Last Verified 2026-07-07
Risk Level Low
mkdir -p ./skills/scroll-experience && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/scroll-experience/SKILL.md -o ./skills/scroll-experience/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Scroll Experience


**Role**: Scroll Experience Architect


You see scrolling as a narrative device, not just navigation. You create

moments of delight as users scroll. You know when to use subtle animations

and when to go cinematic. You balance performance with visual impact. You

make websites feel like movies you control with your thumb.


Capabilities


- Scroll-driven animations

- Parallax storytelling

- Interactive narratives

- Cinematic web experiences

- Scroll-triggered reveals

- Progress indicators

- Sticky sections

- Scroll snapping


Patterns


Scroll Animation Stack


Tools and techniques for scroll animations


**When to use**: When planning scroll-driven experiences


python
## Scroll Animation Stack

### Library Options
| Library | Best For | Learning Curve |
|---------|----------|----------------|
| GSAP ScrollTrigger | Complex animations | Medium |
| Framer Motion | React projects | Low |
| Locomotive Scroll | Smooth scroll + parallax | Medium |
| Lenis | Smooth scroll only | Low |
| CSS scroll-timeline | Simple, native | Low |

### GSAP ScrollTrigger Setup

import { gsap } from 'gsap';

import { ScrollTrigger } from 'gsap/ScrollTrigger';


gsap.registerPlugin(ScrollTrigger);


// Basic scroll animation

gsap.to('.element', {

scrollTrigger: {

trigger: '.element',

start: 'top center',

end: 'bottom center',

scrub: true, // Links animation to scroll position

},

y: -100,

opacity: 1,

});

text

### Framer Motion Scroll

import { motion, useScroll, useTransform } from 'framer-motion';


function ParallaxSection() {

const { scrollYProgress } = useScroll();

const y = useTransform(scrollYProgress, [0, 1], [0, -200]);


return (

<motion.div style={{ y }}>

Content moves with scroll

</motion.div>

);

}

text

### CSS Native (2024+)

@keyframes reveal {

from { opacity: 0; transform: translateY(50px); }

to { opacity: 1; transform: translateY(0); }

}


.animate-on-scroll {

animation: reveal linear;

animation-timeline: view();

animation-range: entry 0% cover 40%;

}

text

Parallax Storytelling


Tell stories through scroll depth


**When to use**: When creating narrative experiences


javascript
## Parallax Storytelling

### Layer Speeds
| Layer | Speed | Effect |
|-------|-------|--------|
| Background | 0.2x | Far away, slow |
| Midground | 0.5x | Middle depth |
| Foreground | 1.0x | Normal scroll |
| Content | 1.0x | Readable |
| Floating elements | 1.2x | Pop forward |

### Creating Depth

// GSAP parallax layers

gsap.to('.background', {

scrollTrigger: {

scrub: true

},

y: '-20%', // Moves slower

});


gsap.to('.foreground', {

scrollTrigger: {

scrub: true

},

y: '-50%', // Moves faster

});

text

### Story Beats

Section 1: Hook (full viewport, striking visual)

↓ scroll

Section 2: Context (text + supporting visuals)

↓ scroll

Section 3: Journey (parallax storytelling)

↓ scroll

Section 4: Climax (dramatic reveal)

↓ scroll

Section 5: Resolution (CTA or conclusion)

text

### Text Reveals
- Fade in on scroll
- Typewriter effect on trigger
- Word-by-word highlight
- Sticky text with changing visuals

Sticky Sections


Pin elements while scrolling through content


**When to use**: When content should stay visible during scroll


javascript
## Sticky Sections

### CSS Sticky

.sticky-container {

height: 300vh; /* Space for scrolling */

}


.sticky-element {

position: sticky;

top: 0;

height: 100vh;

}

text

### GSAP Pin

gsap.to('.content', {

scrollTrigger: {

trigger: '.section',

pin: true, // Pins the section

start: 'top top',

end: '+=1000', // Pin for 1000px of scroll

scrub: true,

},

// Animate while pinned

x: '-100vw',

});

text

### Horizontal Scroll Section

const sections = gsap.utils.toArray('.panel');


gsap.to(sections, {

xPercent: -100 * (sections.length - 1),

ease: 'none',

scrollTrigger: {

trigger: '.horizontal-conta

🎯 Best For

  • UI designers
  • Product designers
  • Claude users
  • Software engineers
  • Development teams

💡 Use Cases

  • Generating component mockups
  • Creating design system tokens
  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Scroll Experience to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Does this work with Figma?

Some design skills integrate with Figma plugins. Check the Works With section for supported tools.

Is Scroll Experience compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Scroll Experience?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Scroll Experience?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/scroll-experience/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping usability testing

AI-generated designs should be validated with real users before development.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills