Lax.js

Create beautiful & smooth animations when you scroll

#1 Product of the DayMarch 17, 2019
Simple & light weight (2kb minified & zipped) vanilla javascript plugin to create smooth & beautiful animations when you scrolllll! Harness the power of the most intuitive interaction and make your websites come alive!
View the demo here: https://alexfox.dev/laxxx/
Reviews
Discussion
Hunter
Makers
You need to become a Contributor to join the discussion.
Moe Amaya
Moe Amaya@moeamaya · Designer—Developer
Hey Alex this is super nice work! I had a vision for Rellax 2.0 that looked something like this but I’m not sure I would ever have time to actually build it. Instead I can point to your lib now!
Alex Fox
Alex FoxMaker@alexxfoxxuk · Creative Technologist
@moeamaya oh nice, thanks! Like to hear your ideas if you wanna drop me an email 👍
Lee Qixian
Lee Qixian@swiftpolar · Full-stack Developer
Ooo it looks so smooth. And to top it off easy to use!
Alex Fox
Alex FoxMaker@alexxfoxxuk · Creative Technologist
The focus of this library was to create a simple API to animate elements based on the windows scroll position. If used subtly, I think it's a really nice way to make web pages feel tactile. Currently you are limited to CSS transforms which are buttery smooth, and CSS filters.. which are very snazzy.. but not always super buttery - looking at you *blur* ! Give it a whirl - any feedback is greatly appreciated! I'm interested in improving performance and adding some more presets but I'm open to ideas!
James Welch
James Welch@jwelch · CEO @ innovationcompany.co.uk
@alexxfoxxuk very nice library, Alexx!
Alex Fox
Alex FoxMaker@alexxfoxxuk · Creative Technologist
@jwelch thanks!
lukas jorissen
lukas jorissen@lukasjorissen · CEO COQTAIL
Nice! I do miss the timing for actions. The speed of fadeIns etc
Alex Fox
Alex FoxMaker@alexxfoxxuk · Creative Technologist
@lukasjorissen How do you mean? The animation values are directly tied to the scroll position so you could control the speed if you wished.
Joe Anderson
Joe Anderson@anderson760 · Founder @ MightyScout
love this, look forward to playing around with it