scroll-animations
Installation
SKILL.md
Scroll Animations Skill — Agency / Product Quality
Scroll animations are how high-budget sites earn their budget. Done right they feel cinematic. Done wrong they cause motion sickness. This skill implements them correctly.
Two approaches
| Use case | Tool |
|---|---|
| React components, single elements | Framer Motion useScroll + useTransform |
| Complex timelines, pinned sequences, scrubbing | GSAP ScrollTrigger |
Framer Motion: Fade + Slide on scroll entry
import { motion, useInView } from 'framer-motion'
import { useRef } from 'react'