10 Best Smooth Scroll Libraries In Pure JavaScript (2026 Update)

Smooth Scroll is a modern web design pattern that enables the visitor to smoothly scroll the web page to a particular position.

In this post,  you will see the 10 best JavaScript libraries for smooth scroll functionality without any 3rd dependencies (e.g. jQuery).

I hope you like it and help me spread the world.

Originally Published Dec 05 2017, updated Jan 26 2026

10 Best Smooth Scroll JavaScript Plugins:

1. Create Smooth Momentum Scrolling Effects – Butter.js

Create Smooth Momentum Scrolling Effects - Butter.js

[Demo] [Download]

A plain JavaScript library that applies a smooth momentum scrolling (also called inertial rolling) to any scrollable elements on the web.


2. Smooth Scrolling For Mouse Wheel & Anchor Links – smooth-scroll.js

smooth-scroll-mouse-wheel-anchor-link

[Demo] [Download]

A small JavaScript library that enables configurable smooth-scrolling effects on the mouse wheel and anchor links within your document.


3. Silky Smooth & Momentum Scrolling With mrD-SmoothScroller

mrd-smooth-scroller

[Demo] [Download]

A tiny JavaScript library that replaces the native scroll events with a smooth scroll behavior. Supports mouse wheel, trackpad, and keyboard input.


4. Scrollspy & Smooth Scroll Library – scrollspy.js

scrollspy

[Demo] [Download]

A lightweight pure JavaScript scrollspy library that enables the navigation links to smoothly scroll between page sections with scrollspy support.


5. Super Smooth Scroll To JavaScript Library – Scroller.js

super-smooth-scroll-scroller

[Demo] [Download]

A lightweight and customizable smooth scrolling JavaScript library that works with any element (not only anchor links).


6. Smooth Scroll With Easing Functions – smooth-scroll

Smooth Scroll With Easing Functions – smooth-scroll

[Demo] [Download]

A lightweight, fast JavaScript library which applies a smooth scroll behavior (with or without easing functions) to anchor links within the document.


7. Tiny Momentum Scrolling Library With Vanilla JavaScript – SmoothScroll.js

smooth-momentum-scrolling

[Demo] [Download]

A tiny JavaScript library that adds a subtle momentum scrolling effect to a web page.


8. Basic Smooth Scroll In Vanilla JavaScript – SmoothScroll.js

smooth-scroll

[Demo] [Download]

Yet another smooth scroll library in pure JavaScript that enables the internal anchor link to smoothly scroll to a specific point at a given speed.


9. Configurable Smooth Scroll Animation In Vanilla JavaScript – moveTo.js

Configurable Smooth Scroll Animation In Vanilla JavaScript – moveTo.js

[Demo] [Download]

A lightweight JavaScript library that allows for scroll smoothly between content sections within the document. Powered by window.requestAnimationFrame() API and fully configurable via both JavaScript and Data attributes.


10. JavaScript Library For Smooth Scrolling With Easing – smooth-scroll.js

smooth-scrolling-easing

[Demo] [Download]

An advanced smooth scroll JavaScript library that makes it possible to smoothly scroll the page to a specified point within the document, with configurable duration and optional easing effects.


More Resources:

To download more smooth scroll libraries for your modern website & web app, here are a few more resources available online:

You Might Be Interested In: