What problem does it solve?
This Skill helps you implement smooth scrolling experiences with parallax, viewport detection, and scroll-driven animations so your pages feel more immersive and responsive.
Core Features & Use Cases
- Smooth scrolling & easing: Creates a fluid, hardware-accelerated scroll experience for long-form layouts.
- Parallax & horizontal/vertical motion: Drives element-level depth and directional movement using
data-scroll-speed and data-scroll-direction.
- Viewport detection & callbacks: Tracks when elements enter/exit view using
data-scroll-id and triggers logic via data-scroll-call.
- Sticky elements during scroll: Uses
data-scroll-sticky and boundaries to pin content naturally within sections.
- GSAP ScrollTrigger integration: Enables advanced timelines, scrubbing, pinning, and synchronization with Locomotive’s scroller.
Use it when building landing pages, narrative/story websites, product showcases, or interactive sections that need synchronized animation, parallax depth, and scroll-triggered effects.
Quick Start
Configure Locomotive Scroll on your page by using the required markup with data-scroll-container and data-scroll-section, then initialize LocomotiveScroll targeting the container with smooth scrolling enabled.