v3 – Edition
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.
Each element can be animated at a different speed. You get to choo-choo-choose!
Speed x2
4xSpeed x4
1x3xSpeed x6
2x6x9xAnd if that wasn't enough, make 'em go backwards. Or upwards. Or downwards!
Stagger those smooth animations using delays to create a rushing or dragging effect.
Create slides that stick and untick to the viewport while scrolling through.
Github
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.
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 ❤️