Locomotive Scroll
Smooth scrolling library with parallax, viewport detection, and GSAP ScrollTrigger integration for scroll-driven animation.
- CCM score
- 44 of 100
- skills.sh installs
- 3K
- GitHub stars
- 1.5K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers smooth scrolling setup, parallax speed control, viewport detection, scroll events, sticky elements, and horizontal scrolling
- Includes HTML data-attribute reference (
data-scroll,data-scroll-speed,data-scroll-sticky,data-scroll-call) and programmaticscrollTooptions - Covers mobile responsiveness with tablet and smartphone breakpoints that can disable smooth scrolling
- Designed for immersive landing pages and storytelling sites that need scroll-synced GSAP animation
Install
$ npx -y skills add freshtechbro/claudedesignskills --skill locomotive-scroll -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Locomotive Scroll
Comprehensive guide for implementing smooth scrolling, parallax effects, and scroll-driven animations using Locomotive Scroll.
Overview
Locomotive Scroll is a JavaScript library that provides:
- Smooth scrolling: Hardware-accelerated smooth scroll with customizable easing
- Parallax effects: Element-level speed control for depth
- Viewport detection: Track when elements enter/exit viewport
- Scroll events: Monitor scroll progress for animation synchronization
- Sticky elements: Pin elements within defined boundaries
- Horizontal scrolling: Support for horizontal scroll layouts
When to use Locomotive Scroll:
- Building immersive landing pages with parallax
- Creating smooth, Apple-style scroll experiences
- Implementing scroll-triggered animations
- Developing narrative/storytelling websites
- Adding depth and motion to long-form content
Trade-offs:
- Scroll-hijacking can impact accessibility (provide disable option)
- Performance overhead on low-end devices (detect and disable)
- Mobile touch scrolling feels different (test extensively)
- Fixed positioning requires workarounds
Installation
Details
- Repository
- github.com/freshtechbro/claudedesignskills
- Categories
- Animation & Motion, Frontend & UI Code
- First seen
- Jun 3, 2026
More from freshtechbro/claudedesignskills
All 22- Pixijs 2d3K
- React Spring Physics2.9K
- Scroll Reveal Libraries2.9K
- Substance 3d Texturing2.9K
- Barba Js2.8K
- Aframe Webxr2.7K
- Playcanvas Engine2.7K
- Motion Framer7.2K
- Threejs Webgl5.7K
- React Three Fiber4.6K
- Blender Web Pipeline4.5K
- Web3d Integration Patterns3.9K
- Lottie Animations3.4K
- Modern Web Design3.4K
- Animated Component Libraries3.4K
- Gsap Scrolltrigger3.4K
- Spline Interactive3.4K
- Animejs3.3K
- Lightweight 3d Effects3.2K
- Rive Interactive3.1K
- Babylonjs Engine3K
Similar to Locomotive Scroll
More Animation & Motiongsap-scrolltriggerfreshtechbro/claudedesignskills3.4K installsComprehensive GSAP and ScrollTrigger guide for tweens, timelines, scroll-linked animation, and pinning.
scroll-reveal-librariesfreshtechbro/claudedesignskills2.9K installsSimple scroll-triggered fade and slide reveals with AOS for marketing and content-heavy pages.
scroll-experiencedavila7/claude-code-templates705 installsImmersive scroll-driven web experiences that turn long pages into cinematic, narrative-led journeys.
gsap-framer-scroll-animationgithub/awesome-copilot4.3K installsScroll-driven motion toolkit covering GSAP ScrollTrigger and Framer Motion, with Copilot prompts and recipes.
scrollytellingdoodledood/claude-code-plugins418 installsNarrative scroll-driven layouts that pin visuals, reveal content progressively, and tie animation to scroll position.