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-bs-toggle="tab" role="tab">
<i class="fi-home me-2"></i>
Home
</a>
</li>
<li class="nav-item">
<a href="#profile1" class="nav-link" data-bs-toggle="tab" role="tab">
<i class="fi-user me-2"></i>
Profile
</a>
</li>
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button">Dropdown</a>
<div class="dropdown-menu my-1">
<a href="#messages1" class="dropdown-item" data-bs-toggle="tab" role="tab">Messages</a>
<a href="#settings1" class="dropdown-item" data-bs-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-bs-toggle="tab", role="tab")
i.fi-home.me-2
| Home
li.nav-item
a(href="#profile1", class="nav-link", data-bs-toggle="tab", role="tab")
i.fi-user.me-2
| Profile
li.nav-item.dropdown
a(href="#", class="nav-link dropdown-toggle", data-bs-toggle="dropdown", role="button")
| Dropdown
.dropdown-menu.my-1
a(href="#messages1", class="dropdown-item", data-bs-toggle="tab", role="tab")
| Messages
a(href="#settings1", class="dropdown-item", data-bs-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-bs-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-bs-toggle="tab" role="tab">Home</a>
</li>
...
</ul>
<!-- Fill tabs -->
<ul class="nav nav-tabs nav-fill" role="tablist">
<li class="nav-item me-2">
<a href="#" class="nav-link" data-bs-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-bs-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-bs-toggle="tab", role="tab") Home
...
// Fill tabs
ul(class="nav nav-tabs nav-fill", role="tablist")
li.nav-item.me-2
a(href="#", class="nav-link", data-bs-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-bs-toggle="tab" role="tab">
<i class="fi-home me-2"></i>
Home
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-bs-toggle="tab" role="tab">
<i class="fi-user me-2"></i>
Profile
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-bs-toggle="tab" role="tab">
<i class="fi-chat-left me-2"></i>
Messages
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-bs-toggle="tab" role="tab">
<i class="fi-settings me-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-bs-toggle="tab", role="tab")
i.fi-home.me-2
| Home
li.nav-item
a(href="#", class="nav-link", data-bs-toggle="tab", role="tab")
i.fi-user.me-2
| Profile
li.nav-item
a(href="#", class="nav-link", data-bs-toggle="tab", role="tab")
i.fi-chat-left.me-2
| Messages
li.nav-item
a(href="#", class="nav-link", data-bs-toggle="tab", role="tab")
i.fi-settings.me-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-bs-toggle="tab" role="tab">
<i class="fi-home me-2"></i>
Home
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#" data-bs-toggle="tab" role="tab">
<i class="fi-user me-2"></i>
Profile
</a>
</li>
</ul>
// Light tabs
ul(class="nav nav-tabs nav-tabs-light", role="tablist")
li.nav-item
a(href="#", class="nav-link active", data-bs-toggle="tab", role="tab")
i.fi-home.me-2
| Home
li.nav-item
a(href="#", class="nav-link", data-bs-toggle="tab", role="tab")
i.fi-user.me-2
| Profile