STYLE SWITCHER

Locomotive Scroll – Detection of Elements in Viewport & Smooth Scrolling with Parallax

Locomotive Scroll is a simple scroll library that provides smooth scrolling with support for parallax effects, toggling classes, and triggering event listeners when elements are in the viewport.

A simple scroll library used by developers at Locomotive. Built as a layer on top of ayamflow’s virtual-scroll, it provides smooth scrolling with support for parallax effects, toggling classes, and triggering event listeners when elements are in the viewport.

  • Speed Control
  • Scroll direction
  • Lerp effect
  • Fixed Elements
Website Github

Recent Article

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Keep your skills sharp, get informed.

    Subscribe to our mailing list and get interesting stuff and updates to your email inbox