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 classNamees, and triggering event listeners when elements are in the viewport.

Speed x2

4x

Speed x4

1x3x

Speed x6

2x6x9x
I'm moving in this direction
And in this direction
Sooo customizable. Right?
I can also go in this direction
Ok, enough!!!!
01I have a lerp
02Me too!
And even more
03By Letter
04Soooo smooooth

If youEnjoyedScrolling


Github

Check out Locomotive Scroll v3

This library has evolved considerably over the years. The architecture and conventions shift according to our projects.

Visit the GitHub repository page for a complete introduction and list of available options. Search the GitHub issue tracker carefully to check if your issue/feature has already been reported/requested before opening a new issue or submitting a pull request.

Check on Github

Neue Montreal
Pangram Pangram® Foundry

You like the font used on this page? Well this is your lucky day. You can get it for free on pangrampangram.com! Thanks to our good friend Mathieu Desjardins ❤️

🚂
🚂

DamnYou reallylike toscroll