Tabs

Display multiple sections of content in the same area, and let users pick which ones they want to see. A set of tabs consists of two elements: the tab navigation (which is used to select which tab to view) and the tab panes (which contains the content for each tab).


This is tab 1.

Progressively productize one-to-one models whereas unique solutions. Globally negotiate backend e-business rather than reliable resources. Assertively foster multidisciplinary testing procedures vis-a-vis diverse architectures.

Appropriately optimize magnetic meta-services through distributed functionalities. Quickly empower turnkey metrics for compelling synergy. Uniquely syndicate web-enabled channels after functional functionalities.

Objectively scale best-of-breed portals and real-time convergence. Uniquely matrix one-to-one best practices with global communities. Monotonectally provide access to client-centered collaboration and idea-sharing with high-payoff products.

Assertively generate high standards in e-tailers rather than installed base convergence. Enthusiastically initiate low-risk high-yield bandwidth via one-to-one niche markets. Distinctively implement client-focused convergence after leveraged testing procedures.

Professionally unleash cutting-edge human capital and impactful benefits. Completely engage out-of-the-box materials after ethical strategic theme areas. Enthusiastically mesh enterprise infomediaries rather than magnetic communities.

<div class="tabs">

    <ul class="tabs__nav js-tabs__nav" role="tablist">
        <li class="tab-panel--current" role="tab" aria-selected="true" tabindex="0"><a href="#tab-panel--1">Tab 1</a></li>
        <li role="tab" aria-selected="false" tabindex="-1"><a href="#tab-panel--2">Tab 2 is really, really long</a></li>
        <li role="tab" aria-selected="false" tabindex="-1"><a href="#tab-panel--3">Tab 3</a></li>
        <li role="tab" aria-selected="false" tabindex="-1"><a href="#tab-panel--4">Tab 4</a></li>
        <li role="tab" aria-selected="false" tabindex="-1"><a href="#tab-panel--5">Tab 5</a></li>
    </ul>
    
    <div class="tabs__panels">
        <div class="tab-panel tab-panel--1 tab-panel--current" role="tabpanel" aria-hidden="false">
            [Tab content here...]
        </div>
        [...]
        <div class="tab-panel tab-panel--5" role="tabpanel" aria-hidden="true">
            [Tab content here...]
        </div>
    </div>
    
</div>

Thumbnail Tabs

This is tab 1.

Progressively productize one-to-one models whereas unique solutions. Globally negotiate backend e-business rather than reliable resources. Assertively foster multidisciplinary testing procedures vis-a-vis diverse architectures.

Appropriately optimize magnetic meta-services through distributed functionalities. Quickly empower turnkey metrics for compelling synergy. Uniquely syndicate web-enabled channels after functional functionalities.

Objectively scale best-of-breed portals and real-time convergence. Uniquely matrix one-to-one best practices with global communities. Monotonectally provide access to client-centered collaboration and idea-sharing with high-payoff products.

Assertively generate high standards in e-tailers rather than installed base convergence. Enthusiastically initiate low-risk high-yield bandwidth via one-to-one niche markets. Distinctively implement client-focused convergence after leveraged testing procedures.

Professionally unleash cutting-edge human capital and impactful benefits. Completely engage out-of-the-box materials after ethical strategic theme areas. Enthusiastically mesh enterprise infomediaries rather than magnetic communities.


<div class="tabs tabs--thumbnails">

    <ul class="tabs__nav js-tabs__nav" role="tablist">
        <li class="tab-panel--current" role="tab" aria-selected="true" tabindex="0"><a href="#tab-panel--1"><span style="background-image: url('path/to/1.jpg');"></span></a></li>
        <li role="tab" aria-selected="false" tabindex="-1"><a href="#tab-panel--2"><span style="background-image: url('path/to/2.jpg');"></span></a></li>
    </ul>
    
    <div class="tabs__panels">
        <div class="tab-panel tab-panel--1 tab-panel--current" role="tabpanel" aria-hidden="false">
            [Tab content here...]
        </div>
        <div class="tab-panel tab-panel--2" role="tabpanel" aria-hidden="true">
            [Tab content here...]
        </div>
    </div>
    
</div>

Class Reference

Class Info
tabs Primary container. Should be added to a div.
tabs--thumbnails Tabs are displayed with thumbnails.
tabs__nav Tab navigation. Should be added to a ul.
tabs__panels Container for all tab panels. Should be added to a div.
tab-panel Container for a single tab panel. Should be added to a div.
tab-panel--[number] Identifier for a specific tab panel. X should be replaced with the tab panel's ordinal value.
tab-panel--current Identifies the currently selected/visible tab panel.