Tabs
Horizontally or vertically stacked list of items. When clicked each item switch content in the tab pane.
Basic example
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui. Excepteur sint occaecat cupidatat non proident.
Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente.
Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan.
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a href="#home1" class="nav-link active" data-toggle="tab" role="tab">
<i class="fe-home mr-2"></i>
Home
</a>
</li>
<li class="nav-item">
<a href="#profile1" class="nav-link" data-toggle="tab" role="tab">
<i class="fe-user mr-2"></i>
Profile
</a>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button">Dropdown</a>
<div class="dropdown-menu">
<a href="#messages1" class="dropdown-item" data-toggle="tab" role="tab">Messages</a>
<a href="#settings1" class="dropdown-item" data-toggle="tab" role="tab">Settings</a>
</div>
</li>
</ul>
<!-- Tabs content -->
<div class="tab-content">
<div class="tab-pane fade show active" id="home1" role="tabpanel">
<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui. Excepteur sint occaecat cupidatat non proident.</p>
</div>
<div class="tab-pane fade" id="profile1" role="tabpanel">
<p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente.</p>
</div>
<div class="tab-pane fade" id="messages1" role="tabpanel">
<p>Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.</p>
</div>
<div class="tab-pane fade" id="settings1" role="tabpanel">
<p>Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan.</p>
</div>
</div>
// Nav tabs
ul(class="nav nav-tabs", role="tablist")
li.nav-item
a(href="#home1", class="nav-link active", data-toggle="tab", role="tab")
i.fe-home.mr-2
| Home
li.nav-item
a(href="#profile1", class="nav-link", data-toggle="tab", role="tab")
i.fe-user.mr-2
| Profile
li.nav-item.dropdown
a(href="#", class="nav-link dropdown-toggle", data-toggle="dropdown", role="button")
| Dropdown
.dropdown-menu
a(href="#messages1", class="dropdown-item", data-toggle="tab", role="tab")
| Messages
a(href="#settings1", class="dropdown-item", data-toggle="tab", role="tab")
| Settings
// Tabs content
.tab-content
div(id="home1", class="tab-pane fade show active", role="tabpanel")
p
| Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui. Excepteur sint occaecat cupidatat non proident.
div(id="profile1", class="tab-pane fade", role="tabpanel")
p
| Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente.
div(id="messages1", class="tab-pane fade", role="tabpanel")
p
| Etsy mixtape wayfarers, ethical wes anderson tofu before they sold out mcsweeney's organic lomo retro fanny pack lo-fi farm-to-table readymade. Messenger bag gentrify pitchfork tattooed craft beer, iphone skateboard locavore carles etsy salvia banksy hoodie helvetica. DIY synth PBR banksy irony. Leggings gentrify squid 8-bit cred pitchfork. Williamsburg banh mi whatever gluten-free, carles pitchfork biodiesel fixie etsy retro mlkshk vice blog. Scenester cred you probably haven't heard of them, vinyl craft beer blog stumptown. Pitchfork sustainable tofu synth chambray yr.
div(id="settings1", class="tab-pane fade", role="tabpanel")
p
| Trust fund seitan letterpress, keytar raw denim keffiyeh etsy art party before they sold out master cleanse gluten-free squid scenester freegan cosby sweater. Fanny pack portland seitan DIY, art party locavore wolf cliche high life echo park Austin. Cred vinyl keffiyeh DIY salvia PBR, banh mi before they sold out farm-to-table VHS viral locavore cosby sweater. Lomo wolf viral, mustache readymade thundercats keffiyeh craft beer marfa ethical. Wolf salvia freegan.
Alignment and fill
<!-- Center aligned -->
<ul class="nav nav-tabs justify-content-center" role="tablist">
<li class="nav-item">
<a href="#" class="nav-link" data-toggle="tab" role="tab">Home</a>
</li>
...
</ul>
<!-- Right aligned -->
<ul class="nav nav-tabs justify-content-end" role="tablist">
<li class="nav-item">
<a href="#" class="nav-link" data-toggle="tab" role="tab">Home</a>
</li>
...
</ul>
<!-- Fill tabs -->
<ul class="nav nav-tabs nav-fill" role="tablist">
<li class="nav-item">
<a href="#" class="nav-link" data-toggle="tab" role="tab">Home</a>
</li>
...
</ul>
// Center aligned
ul(class="nav nav-tabs justify-content-center", role="tablist")
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab") Home
...
// Right aligned
ul(class="nav nav-tabs justify-content-end", role="tablist")
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab") Home
...
// Fill tabs
ul(class="nav nav-tabs nav-fill", role="tablist")
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab") Home
...
Vertical tabs
<!-- Vertical tabs -->
<ul class="nav nav-tabs flex-column" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#" data-toggle="tab" role="tab">
<i class="fe-home mr-2"></i>
Home
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-toggle="tab" role="tab">
<i class="fe-user mr-2"></i>
Profile
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-toggle="tab" role="tab">
<i class="fe-message-square mr-2"></i>
Messages
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-toggle="tab" role="tab">
<i class="fe-settings mr-2"></i>
Settings
</a>
</li>
</ul>
// Vertical tabs
ul(class="nav nav-tabs flex-column", role="tablist")
li.nav-item
a(href="#", class="nav-link active", data-toggle="tab", role="tab")
i.fe-home.mr-2
| Home
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab")
i.fe-user.mr-2
| Profile
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab")
i.fe-message-square.mr-2
| Messages
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab")
i.fe-settings.mr-2
| Settings
Light tabs
<!-- Light tabs -->
<ul class="nav nav-tabs nav-tabs-light" role="tablist">
<li class="nav-item">
<a class="nav-link active" href="#" data-toggle="tab" role="tab">
<i class="fe-home mr-2"></i>
Home
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-toggle="tab" role="tab">
<i class="fe-user mr-2"></i>
Profile
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" role="button">Dropdown</a>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="#" data-toggle="tab" role="tab">Messages</a>
<a class="dropdown-item" href="#" data-toggle="tab" role="tab">Settings</a>
</div>
</li>
</ul>
// Light tabs
ul(class="nav nav-tabs nav-tabs-light", role="tablist")
li.nav-item
a(href="#", class="nav-link active", data-toggle="tab", role="tab")
i.fe-home.mr-2
| Home
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab")
i.fe-user.mr-2
| Profile
li.nav-item.dropdown
a(href="#", class="nav-link dropdown-toggle", data-toggle="dropdown", role="button") Dropdown
.dropdown-menu.dropdown-menu-right
a(href="#", class="dropdown-item", data-toggle="tab", role="tab") Messages
a(href="#", class="dropdown-item", data-toggle="tab", role="tab") Settings
Media tabs
<!-- Media tabs: Horizontal -->
<ul class="nav nav-tabs cs-media-tabs" role="tablist">
<li class="nav-item mr-3 mb-3" style="max-width: 16.25rem;">
<a class="nav-link active" href="#" data-toggle="tab" role="tab">
<div class="media align-items-center">
<img class="rounded" width="60" src="path-to-image" alt="Product"/>
<div class="media-body pl-2 ml-1">
<div class="d-flex justify-content-between align-items-center">
<div class="font-size-sm pr-1">Outdoor HD Cloud Security Camera</div>
<i class="fe-chevron-right lead ml-2 mr-1"></i>
</div>
</div>
</div>
</a>
</li>
<li class="nav-item mr-3 mb-3" style="max-width: 16.25rem;">
<a class="nav-link" href="#" data-toggle="tab" role="tab">
<div class="media align-items-center">
<img class="rounded" width="60" src="path-to-image" alt="Product"/>
<div class="media-body pl-2 ml-1">
<div class="d-flex justify-content-between align-items-center">
<div class="font-size-sm pr-1">Running Sneakers Sports Collection</div>
<i class="fe-chevron-right lead ml-2 mr-1"></i>
</div>
</div>
</div>
</a>
</li>
<li class="nav-item mr-3 mb-3" style="max-width: 16.25rem;">
<a class="nav-link" href="#" data-toggle="tab" role="tab">
<div class="media align-items-center">
<img class="rounded" width="60" src="path-to-image" alt="Product"/>
<div class="media-body pl-2 ml-1">
<div class="d-flex justify-content-between align-items-center">
<div class="font-size-sm pr-1">Wireless Virtual Reality Headset</div>
<i class="fe-chevron-right lead ml-2 mr-1"></i>
</div>
</div>
</div>
</a>
</li>
</ul>
<!-- Media tabs: Light skin -->
<ul class="nav nav-tabs cs-media-tabs cs-media-tabs-light" role="tablist">
...
</ul>
<!-- Media tabs: Vertical -->
<ul class="nav nav-tabs cs-media-tabs flex-column" role="tablist">
...
</ul>
// Media tabs: Horizontal
ul(class="nav nav-tabs cs-media-tabs", role="tablist")
li.nav-item.mr-3.mb-3(style="max-width: 16.25rem;")
a(href="#", class="nav-link active", data-toggle="tab", role="tab")
.media.align-items-center
+image("path-to-image", "Product")(width="60").rounded
.media-body.pl-2.ml-1
.d-flex.justify-content-between.align-items-center
.font-size-sm.pr-1 Outdoor HD Cloud Security Camera
i.fe-chevron-right.lead.ml-2.mr-1
li.nav-item.mr-3.mb-3(style="max-width: 16.25rem;")
a(href="#", class="nav-link", data-toggle="tab", role="tab")
.media.align-items-center
+image("path-to-image", "Product")(width="60").rounded
.media-body.pl-2.ml-1
.d-flex.justify-content-between.align-items-center
.font-size-sm.pr-1 Running Sneakers Sports Collection
i.fe-chevron-right.lead.ml-2.mr-1
li.nav-item.mr-3.mb-3(style="max-width: 16.25rem;")
a(href="#", class="nav-link", data-toggle="tab", role="tab")
.media.align-items-center
+image("path-to-image", "Product")(width="60").rounded
.media-body.pl-2.ml-1
.d-flex.justify-content-between.align-items-center
.font-size-sm.pr-1 Wireless Virtual Reality Headset
i.fe-chevron-right.lead.ml-2.mr-1
// Media tabs: Light skin
ul(class="nav nav-tabs cs-media-tabs cs-media-tabs-light", role="tablist")
| ...
// Media tabs: Vertical
ul(class="nav nav-tabs cs-media-tabs flex-column", role="tablist")
| ...
Fancy tabs
<!-- Fancy tabs -->
<ul class="nav nav-tabs cs-fancy-tabs" role="tablist">
<!-- Tab with long text -->
<li class="nav-item">
<a href="#" class="nav-link active" data-toggle="tab" role="tab">
<span class="cs-fancy-tab-text">
This is a long text example
</span>
<span class="cs-fancy-tab-shape"></span>
</a>
</li>
<!-- Tab with large text -->
<li class="nav-item">
<a href="#" class="nav-link" data-toggle="tab" role="tab">
<span class="cs-fancy-tab-text h1 font-weight-normal">
11/26
</span>
<span class="cs-fancy-tab-shape"></span>
</a>
</li>
<!-- Tab with icon -->
<li class="nav-item">
<a href="#" class="nav-link" data-toggle="tab" role="tab">
<span class="cs-fancy-tab-text h3">
<i class="fe-gift"></i>
</span>
<span class="cs-fancy-tab-shape"></span>
</a>
</li>
</ul>
// Fancy tabs
ul(class="nav nav-tabs cs-fancy-tabs", role="tablist")
// Tab with long text
li.nav-item
a(href="#", class="nav-link active", data-toggle="tab", role="tab")
span.cs-fancy-tab-text This is a long text example
span.cs-fancy-tab-shape
// Tab with large text
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab")
span.cs-fancy-tab-text.h1.font-weight-normal 11/26
span.cs-fancy-tab-shape
// Tab with icon
li.nav-item
a(href="#", class="nav-link", data-toggle="tab", role="tab")
span.cs-fancy-tab-text.h3
i.fe-gift
span.cs-fancy-tab-shape