JavaScript Libraries for Cool Scrolling Effects
A website design comes to life with well-executed animation. If you’re looking for the proper libraries to add effects to your project, here I’ve made a list of some of the libraries that you can use to give effects based on the scroll event.
When a user scrolls down your webpage, the action can be designed to trigger a variety of animation options such as fade effects, blur, 3D, parallax, and more. There are 25 JS libraries here that can help you achieve that sort of response in your site design.
Read more: 15 examples of scrolling done right in website design
Scroll Reveal
A library that makes it easy to add scroll animation for both web and mobile. You can set custom easing, 3D rotations, duration and many mor parameters to the element you want to animate.
Dependencies: none | Size: 2.9kb | Licence: MIT
Aniview
A plugin that works together with Animate.CSS to enable the animations only when your element comes into viewport.
Dependencies: jQuery | Size: 1kb | Licence: N/A
Fade Into View
A plugin that adds the fade in/out effect to elements when they enter or exit predetermined viewports.
Dependencies: jQuery | Size: 3.81kb | Licence: N/A
WOW
WOW will reveal Animate.css animations upon scroll event. You can setup the animation duration, delays, offsets and iterations right from the HTML markup, then just call the element’s class from JS.
Dependencies: Animate.css | Size: 8.23kb | Licence: MIT
ScrollMagic
This plugin will show a ‘Magical’ effect when a user scrolls the page. It’s perfect for animating, pinning an element, or toggling CSS class, all based on scroll position. ScrollMagic can work together with GSAP and VelocityJS in creating an animation scene. See the complete demos here.
Dependencies: jQuery, GSAP, Velocity.js | Size: 16.9kb | Licence: MIT
jScrollability
jScrollability lets you create single web pages with complex scroll-based animations. Upon user sroll, the element will animate based on the scroll positions. Animations run based on the scroll depth, and of course you can set the start and end of the animation.
Dependencies: jQuery | Size: 1.86kb | Licence: MIT
pushIn.js
A simple library to add the dolly-in or push-in effect to any element that works when a user scrolls through the page. It’s easy to implement: just add the start, stop and speed parameters to data-params
to your HTML element.
Dependencies: none | Size: 4.94kb | Licence: N/A
Scrollissimo
This is a JS library to add smooth scroll-controlled animations. It utilizes the Greensock’s tweens and timelines to generate smoother animations.
Dependencies: GreenShock TweenLite/TweenMax | Size: 2.94kb | Licence: N/A
jQuery Animation Scroll Plugin
This is a jQuery plugin to add viewport-triggered animation using Greensock. It makes it easy to animate elements with easing, transform, scale, rotation and 3D animations.
Dependencies: jQuery, GreenShock | Size: 14kb | Licence: GNU GPL
Circlr
Circlr allows you to create the rotation animation to an element, triggered by scrolling, mouse events or touch events. It’s perfect to make a showcase of a product which can be viewed from all 360 degrees, activated by user scroll.
Dependencies: none | Size: 6.05kb | Licence: MIT
Scrollimator
Scrollimator will show you the position and scroll progress, and return values that you can use to change tween animations attached to user scrolling behavior. It supports vertical and horizontal scrolling.
Dependencies: none | Size: 37.7kb | Licence: N/A
Crossfade
Crossfade is a plugin to add the crossfade effect to an image. The blurry effect will continue as a user scrolls further down.
Dependencies: jQuery | Size: 3.19kb | Licence: MIT
Page Scroll Effect
This one is a library for experimental page scroll effects created by CodyHouse. It utilizes velocitey.js animations.
Dependencies: jQuery, Velocity.js | Size: 17.6kb | Licence: N/A
jquery.parallax-scroll
This library allows you to add smooth a parallax effect to vertical page scrolling. Just import jQuery and jquery.easing.1.3.js, then add the 'data-parallax'
attribute and optional patameters to your element to customize the effect.
Dependencies: jQuery, jQuery.easing | Size: 8.72kb | Licence: GNU GPL
parallax.js
Parallax.js is a simple plugin that adds the parallax scrolling effect, inspired by the Spotify website.
Dependencies: jQuery | Size: 6.63kb | Licence: MIT
Enllax
Enllax is a super lightweight library for use on applying the parallax effect to any scrolling element. You can set background or foreground elements to hav ethis effect. It works for both vertical and horizontal scrolling.
Dependencies: jQuery | Size: 1.53kb | Licence: MIT
Blur on scroll
This library helps you to add the blur effect to an image, which will be triggered by page scrolling. The deeper you scroll down the page, the more blurry the image gets.
Dependencies: none | Size: 1.1kb | Licence: N/A
boxLoader
boxLoader is a simple plugin to load elements upon page scrolling. The parameter you should set are the directions (x or y), position on percent, effect and also duration.
Dependencies: jQuery | Size: 3.42kb | Licence: N/A
Tilted Page Scroll
As a user scrolls through a page, this plugin will reveal an awesome 3D tilted effect to the element you set up.
Dependencies: jQuery | Size: 1.5kb | Licence: GNU GPL
AhRelax
AhRelax provides a way to make quick scroll-based animations. It’s lighweight and also has great performance. You can read more about it here.
Dependencies: jQuery | Size: 1.6kb | Licence: MIT
Fancy Scroll
If you ever see the overflow scroll effect on Android or iOS, with this plugin you can now apply this to your site. You can add an animation, either a bounce or glow, when a user reaches the top/bottom of page.
Dependencies: jQuery | Size: 2.64kb | Licence: GNU GPL
Parallax image scroll
This plugin will make elements float and move as a user scrolls down or up the page.
Dependencies: jQuery | Size: 8.69kb | Licence: MIT
Rlsmooth
This is a small plugin to create the flowing effect when a user scolls down or up the page. There are three effects available: slide, fade and show.
Dependencies: jQuery | Size: 1.95kb | Licence: MIT
Scrollme
Adds simple effects to page scrolling such as scale, rotate, translate and changing the opacity of elements. It’s easy to setup: just import the jQuery, this plugin, and set the animation parameters on the element’s markup.
Dependencies: jQuery | Size: 5.45kb | Licence: N/A
Parallax ImageScroll
This plugin allows you to give a parallax effect to any image on your page. It make use of CSS3 Transform to make the effect work. This plugin has support for jQuery and AMD.
Dependencies: jQuery | Size: 8.01kb | Licence: MIT