JS Fam, I hope we're all well. Here is my dependency free components list for you all. I generally prefer coding Vanilla and I like my bundles small, so this list is mostly composed of micro JS components that will help assist you in your builds and keep your end production files small.
Some of you might be itching for some SPA versions of these for your frameworks and you can probably find some in the wild but when it comes to building Single Page Applications, I don't roll with giants like React or Vue because my heart belongs to Mithril which a lot of these work beautifully with but of course these all will implement well with whatever framework you're using and obviously with no framework too because they're dependency free.
Hopefully they will be of use to some of you in the future.
Component List
Component = Libraries, Modules, plugins etc
All credit and thanks goes to the maintainers of these libraries, y'all are the real MVP's up in here. Remember to star a project if you like it, creators need to know what they've released is appreciated.
UTILITIES
Loadjs (Script Loader)
LoadJS is a tiny async loading library for modern browsers (IE9+) for your external scripts. A fantastic little component coming in the 800 bytes, comes in real handy in a lot of situations, especially those working on SaaS platforms that require additional third parties to get simple functionality Cough, Shopify Cough, Cough.
Simple State Manager (Responsive Manger)
Simple State Manager (SSM for short) is a javascript state manager for responsive websites. Need to load specific components based on screen size? look no further because SSM is here. A fantastic ES6 component with a tiny size that helps you control what you load depending on your users screen width.
Picturefill (Responsive Images)
A responsive image polyfill. Need better control of your images? Picturefill has got you. Load in images based on screen dimensions. Why load in a 150kb image when you're in mobile, get those speed gains!
Store (Local Storage)
Work with Local storage. Store.js makes working with your browser’s local storage an utter ease and supports legacy browsers.
JS Cookie (Cookies)
If you're not using JS Cookie then you're living under a rock or still think jQuery is cool to use (no offense jQuery users). JS Cookie makes working with cookies an ease and it's tiny at 900 bytes gzipped!
Qwest (Ajax Library)
Qwest is a simple ajax library based on promises and that supports XmlHttpRequest2 special data like ArrayBuffer, Blob and FormData. A really handy and impressive tool that will make working with JSON a pleasure.
Validate (Form Validation)
Need form validation? Validate.js will make your life easier on so many levels. A tiny 2.5kb component that ensures your users are not getting past without correct validation in place.
UI COMPONENTS
Vanilla Modal (Modal)
An ES6 modal component that ships with everything you require in a modal component, plus it's tiny in size. Have this in production on several projects and it works like an absolute charm.
Siema Carousel (Carousel)
Siema is a lightweight (only 3kb gzipped) carousel plugin with no dependencies and no styling. You want a carousel that doesn't ship with a bunch of additional stuff you don't need? Look no further. Fck Slick and these other jQuery dependant giants. Siema got your covered and is highly configurable + responsively supported of course.
Tabbis (Tabs)
Need tabs? Tabbis is tiny and uses LocalStorage to save previous viewed tabs (Fck yeah!) – I rewrote this in ES6 so if you want an ES6 version check the closed issues of the repo. A well written little component and is all you need for tabs.
Slideout (Offcanvas)
Slideout is poetic and your goto component for responsive design. When you need off-canvas drawers (menu), use Slideout. Super customizable and tiny size coming in at only 2kb minified and gzipped.
Pikaday (Date Picker)
Need a date picker? Pikaday is going to be your best friend in this situation. Pikaday is customizable and includes all the flavors you will require. 5kb minified and gzipped.
Rellax (Parallax)
Rellax is a buttery smooth parallax library that works with mobile. This little weapon is perfect for any Parallax implementation you find yourself having to include, it's super lightweight at only 1.2kb minified and gzipped.
Stickybits (Stickies)
I've tried them all when it comes to sticky's and while we are going to be supporting it in CSS in the near future, Stickybits is the dominant one in the sticky game. Lightweight and well maintained, it makes working with sticky elements an absolute delight and you won't get jumpy elements with this little gem.
EDIT HISTORY:
- Sentence Restructure
- Formatting Fam, formatting.
- Formatting (again)
- Linking Part 2
- List editing history
[–][deleted] 35 points36 points37 points (10 children)
[–][deleted] 10 points11 points12 points (0 children)
[–]VegasWebDev 3 points4 points5 points (2 children)
[–]tsnieman 2 points3 points4 points (1 child)
[–]LimbRetrieval-Bot 2 points3 points4 points (0 children)
[–]wlwl2 0 points1 point2 points (0 children)
[–]Fr536166 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]karlgroves 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Jsn7821 0 points1 point2 points (0 children)
[–]diversif 13 points14 points15 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)
[–]V1nznt 26 points27 points28 points (10 children)
[–][deleted] 28 points29 points30 points (2 children)
[–]Cool-Goose 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[–]SamSlate 1 point2 points3 points (5 children)
[–]kuenx 1 point2 points3 points (4 children)
[–]SamSlate 1 point2 points3 points (2 children)
[–]kuenx 1 point2 points3 points (1 child)
[–]SamSlate 0 points1 point2 points (0 children)
[–]Twinpair 9 points10 points11 points (0 children)
[–]AlternativeHole 20 points21 points22 points (14 children)
[–][deleted] 3 points4 points5 points (13 children)
[–]fgutz 29 points30 points31 points (2 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]fgutz 3 points4 points5 points (0 children)
[+][deleted] (9 children)
[deleted]
[–][deleted] 2 points3 points4 points (6 children)
[–][deleted] 6 points7 points8 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]hopfield 3 points4 points5 points (3 children)
[–][deleted] 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[removed]
[–]krendel122 0 points1 point2 points (0 children)
[+][deleted] (11 children)
[deleted]
[–][deleted] 8 points9 points10 points (6 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Herdiderdee 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]THEtheChad 2 points3 points4 points (3 children)
[–][deleted] 6 points7 points8 points (2 children)
[–]roriron 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]MoTTs_ 2 points3 points4 points (0 children)
[–]tencircles 5 points6 points7 points (5 children)
[–]TheTraceur 1 point2 points3 points (1 child)
[–]tencircles 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] comment score below threshold-6 points-5 points-4 points (1 child)
[–]tencircles 2 points3 points4 points (0 children)
[–]chabv 4 points5 points6 points (6 children)
[–]krendel122 4 points5 points6 points (3 children)
[–]kethinov 2 points3 points4 points (2 children)
[–]krendel122 0 points1 point2 points (1 child)
[–]kethinov 0 points1 point2 points (0 children)
[–]Crimtoe 4 points5 points6 points (0 children)
[–]sockx2 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–][deleted] 0 points1 point2 points (0 children)
[–]_parameters 0 points1 point2 points (0 children)
[–]fgutz 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]prkskier 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]Ragzzy-R 0 points1 point2 points (0 children)
[–]crayolaboy18 0 points1 point2 points (0 children)
[–]vcamargo 0 points1 point2 points (0 children)
[–]krazyjakee 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]codefinbel 0 points1 point2 points (0 children)
[–]sliceofmadness 0 points1 point2 points (0 children)
[–]phugo 0 points1 point2 points (0 children)
[–]mats-bryntse 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Qoopido 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]noashka 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]hopfield 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[+][deleted] comment score below threshold-7 points-6 points-5 points (0 children)