This post was last updated over a year ago, therefore the contents of this post may be out of date.

With all of the changes and rapid advancements in JavaScript have gone through over the years, we should not be surprised at the vast volume of libraries ad plugins that have continually been released.

These libraries and plugins can add powerful functionality to your site or help you create current web design trends, resulting in exceptional experiences for your users.

As you would expect, you can find that there are libraries and plugins for creating sliders, image galleries, responsive menus, modal windows, and many other common components, so you know that there’s almost a never-ending supply of new resources to try, so for this post, I’ve rounded up this list of 20 of the best Javascript libraries and plugins that you can try on your website.

1. Vue Interactive Paycard

vue interactive paycard

A fantastic credit card form with smooth and sweet micro-interactions. Includes number formatting, validation and automatic card type detection. Built with vuejs and also fully responsive.

2. Sal.js


Sal (Scroll Animation Library) was created to provide a performant and lightweight solution for animating elements on scroll. It’s based on the Intersection Observer, which gives amazing performance in terms of checking the element’s presence in the viewport.

3. Sortable


Sortable is a JavaScript library for re-orderable drag-and-drop lists on modern browsers and touch devices. No jQuery required.

4. Headroom.js


Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user’s scroll. The header on this site is a living example, it slides out of view when scrolling down and slides back in when scrolling up.

5. Barba.js


Barba is a small (7kb minified and compressed) and easy-to-use library that helps you creating fluid and smooth transitions between your website’s pages .It helps reducing the delay between your pages, minimising browser HTTP requests and enhancing your user’s web experience.

6. Flexsearch


Next-Generation full text search library for Browser and Node.js

7. Split.js


Split.js is a 2kb un-opinionated utility for re-sizeable split views (also called panes or frames). It handles weird edge cases so you don’t have to. Split.js is CSS-driven, only using JS to recalculate CSS styles on drag. Split.js does not attach any window event listeners, instead relying on CSS for the layout when the window size changes. This keeps the JS overhead extremely low.

8. Instastory.js


instastory.js is a jQuery plugin to make it easy for you to make an instagram feed from a hashtag or a user (that is not private). It uses a standard Ajax call to a standard instagram url witch provide the data in JSON format. That means no need for app token client ids.

9. Microphone

Microphone Js

A tiny library for converting browser’s audio to WAV/PCM

10. Freezeframe.js


Freezeframe.js is a library that pauses animated .gifs and enables them to animate on mouse hover / mouse click / touch event, or triggered manually.

11. Notiflix


Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more to that makes your web projects much better.

12. JS Noisy Gradient

Js Noisy Gradient

Small and fast lib for smoothing visible banding in linear-gradient backgrounds.

13. BmapQuery.js


BmapQuery is a Microsoft BingMaps V8 functions. to be used inside web pages. component to be used as part of web applications and websites.

14. Intercooler.js


Intercooler is a small jQuery or zepto.js based library that allows you to add AJAX to your application using HTML attributes.

15. Darkmode.js

This library uses the css mix-blend-mode in order to bring Dark-mode to any of your websites. Just copy paste the snippet and you will get a widget to turn on and off the dark-mode. You can also use it without the widget programmatically.

The plugin is lightweight, built in VanillaJS. It also uses localstorage by default so your last setting will be remembered !

16. Shepherd

Shepherd is a JavaScript library for building users through your app, it uses Tippy.js which is another open source library, to render dialogs for each tour “step”.

17. Tone.js

Tone.js is a framework for creating interactive music in the browser. It provides advanced scheduling capabilities, synths and effects, and intuitive musical abstractions built on top of the Web Audio API.

18. TypeIt

Type It

TypeIt is the most versatile JavaScript typewriter effect utility on the planet. With its simple yet flexible configuration, you’re empowerd to type single or multiple strings that break lines, delete & replace each other, easily handle string containing HTML, loop, and a whole lot more.

19. Cleave.js


Cleave.js has a simple purpose: to help you format input text content automatically.

20. Simple Parallax

Simple Parallax

simpleParallax is a simple and tiny JavaScript library which adds parallax animations on any images.Where it may be laborious to get results through other plugins, simpleParallax stands out for its ease and its visual rendering. The parallax effect is directly applied on image tags, there is no need to use background images.


20 Amazing JavaScript Libraries and Plugins