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.
Each element can be animated at a different speed. You get to choo-choo-choose!
Speed x2
4xSpeed x4
1x 3xSpeed x6
2x 6x 9xAnd 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 on pangrampangram.com! Thanks to our good friend Mathieu Desjardins ❤️