
Locomotive Scroll
This is your go-to for building those smooth, Apple-style scrolling experiences with parallax effects and scroll-triggered animations. It covers Locomotive Scroll's full API including viewport detection, sticky elements, horizontal scrolling, and GSAP ScrollTrigger integration for advanced animations. The skill includes the complete data attribute system (speed, direction, sticky, call events) and shows you how to handle programmatic scrolling and mobile responsiveness. One honest take: scroll-hijacking libraries like this can hurt accessibility and feel weird on mobile, so the skill explicitly covers detection and disable patterns. Use this when you're building immersive landing pages or storytelling sites where the scroll experience is a key part of the design, not just a utilitarian page.
- skills.sh installs
- 2.7K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add freshtechbro/claudedesignskills --skill locomotive-scroll --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/freshtechbro/claudedesignskills
- First seen
- Jun 3, 2026
More from freshtechbro/claudedesignskills
All 23- Babylonjs Engine2.7K
- Pixijs 2d2.7K
- React Spring Physics2.6K
- Scroll Reveal Libraries2.6K
- Substance 3d Texturing2.6K
- Barba Js2.5K
- Aframe Webxr2.5K
- Playcanvas Engine2.5K
- Skill Creator2.3K
- Motion Framer6.5K
- Threejs Webgl5K
- React Three Fiber4.1K
- Blender Web Pipeline3.9K
- Web3d Integration Patterns3.4K
- Lottie Animations3.1K
- Modern Web Design3.1K
- Animated Component Libraries3.1K
- Gsap Scrolltrigger3.1K
- Spline Interactive3K
- Animejs3K
- Lightweight 3d Effects2.8K
- Rive Interactive2.8K