• Stars
    star
    179
  • Rank 214,039 (Top 5 %)
  • Language
  • License
    Creative Commons ...
  • Created over 9 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Listing (awesome) plain—Vanilla—Javascript resources

Awesome ‘Vanilla’ Javascript Awesome

A simple listing of plain‘Vanilla’ — Javascript resources. Because sometimes you don't need a big library such as jQuery (which remains awesome IMO).

P.S. ‘Vanilla’ JS is not ‘better’ than jQuery et. al! jQuery is a very good library. It can be argued that many plugins and functions in the resources below are ‘worse’: less well documented, tested, less cross-browser compatibility, etc. However: sometimes a swiss-army knife monolith such as jQuery is too much. Tiny, reusable & modular modules FTW!

Contents

Components

Accordion

aka Collapsible

Carousel

  • SwiperJS - "The most modern mobile touch slider"
  • Flickity - "Touch, responsive, flickable carousels"
  • Vanilla JS Carousel - "Tiny JavaScript carousel with all the features most of us will ever need."

Drag and drop

  • SortableJS - JavaScript library for reorderable drag-and-drop lists

Dropdowns

  • Slim Select - Slim advanced select dropdown.
  • tail.select - A multiselect component with a lot of options.
  • Choices - A lightweight, configurable select box/text input plugin.
  • Vanilla JS Dropdown - Tiny JavaScript replacement for <select> that makes styling easy and consistent.

File Uploaders

  • Filepond - "A JavaScript library that can upload anything you throw at it, optimizes images for faster uploads, and offers a great, accessible, silky smooth user experience."

Modals

  • Micro Modal - A lightweight, configurable and a11y-enabled modal.

ScrollSpy

  • Gumshoe - Update a nav list based on scroll position.

Switches

  • Simple Switch - Simple, accessible, performant implementation of the Switch UI element.

Table of Contents

  • Tocbot - Generate a table of contents based on the heading structure of an html document

Tabs

  • Tabby - Lightweight, accessible vanilla JS toggle tabs.
  • Vanilla JS Tabs - Vanilla JavaScript Tabs - simple and awesome.

Tooltips

aka Popovers

  • TippyJS - "The complete tooltip, popover, dropdown, and menu solution for the web"
  • Vanilla JS Tooltip - Vanilla Javascript tooltip. Accepts plain text and fancy HTML.

Lists

Listing native methods, functions and plugins

Articles

Articles on moving away from jQuery towards native Javascript

Code

Little Vanilla snippets—or microlibraries—of goodness

  • Buoy - A lightweight collection of helper methods for getting stuff done in native JavaScript.
  • Min.js - A super tiny JavaScript library to execute simple DOM querying and hooking event listeners by Remy Sharp
  • Bind.js - Two way data binding for HTML and JavaScript (with node.js compatibility) with additional support for transforming data before it arrives in the DOM. By Remy Sharp
  • Bling.js - Paul Irish adds $ (qSA) and .on in a few lines of goodness. Check comments for more (Promise, etc.)

Your turn!

Again, do you know of other awesome resources? Discuss, PR or Tweet @valuedstandards

Thanks, David Hund

More Repositories

1

styleguide-generators

An overview of automatic living styleguide generators
1,907
star
2

shouldiprefix

A quick overview of what CSS features to prefix
85
star
3

jekyll-styleguide

Use Jekyll to easily generate a (OO)CSS Styleguide/Pattern Library
CSS
51
star
4

retext-assuming

Check for unhelpful ‘assuming’ phrases such as ‘just’, ‘simply’ or ‘obviously’ with retext
JavaScript
15
star
5

dh-kickstart-style

Opinionated, design-free, modular, OOCSS Sass architecture boilerplate
CSS
8
star
6

browserslist-config

My Browserslist Shared Config
JavaScript
6
star
7

dh-html5-kitchensink

A list of all HTML5 elements, grouped.
4
star
8

vs-css

Various reusable CSS snippets and components
3
star
9

objecss.com

Collection of tiny, reusable OOCSS (Sass) objects and Sublime Text snippets
2
star
10

vs-html

Some HTML snippets, boilerplate etc. used by me / Valued Standards
2
star
11

cuts-mustard.js

`cuts-mustard.js` is a very simple feature-detection script
JavaScript
2
star
12

custom-list-bullet-css

Various ways to style custom list bullets with css, without using extra elements
HTML
2
star
13

svg-carbonbadge-ci

GitLab/GitHub CI actions to generate a SVG Website Carbon badge
2
star
14

jekyll-boilerplate

Start a new Jekyll site with stuff instead of blank :)
JavaScript
2
star
15

vs-js

Simple JS snippets
JavaScript
2
star
16

vs-less

Some LESS CSS snippets, mixin's etc. used by me / Valued Standards
1
star
17

davidhund.github.com

Personal Static Website
HTML
1
star
18

stylelint-config-dh

Shareable config for stylelint. David Hund's (Valued Standards) preference, for now :)
JavaScript
1
star
19

example-module

Boilerplate (tmp) for starter module
1
star
20

davidhund.com

Weblog: Thoughts on front-end development
HTML
1
star