Simple tabs
# install
npm install --save bluegg-tabs
// import - common.js
var Tabs = require ('bluegg-tabs');
// Get your Tab elements
var alltabs = document.querySelectorAll('.js-tabs');
// Init the tabs
[].forEach.call(alltabs, function(item, i) {
new Tabs(alltabs[i]);
});
Example of markup and styling required
Forked Stolen from Matt '@stowball' Stow's Pen Accessible Tabs.