Tabs

Horizontally or vertically stacked list of items. When clicked each item switch content in the tab pane.

Bootstrap docs

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="cxi-home mr-2"></i>
      Home
    </a>
  </li>
  <li class="nav-item">
    <a href="#profile1" class="nav-link" data-toggle="tab" role="tab">
      <i class="cxi-profile 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>

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>

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="cxi-home mr-2"></i>
      Home
    </a>
  </li>
  <li class="nav-item">
    <a class="nav-link" href="#" data-toggle="tab" role="tab">
      <i class="cxi-profile mr-2"></i>
      Profile
    </a>
  </li>
  <li class="nav-item">
    <a class="nav-link" href="#" data-toggle="tab" role="tab">
      <i class="cxi-comment mr-2"></i>
      Messages
    </a>
  </li>
  <li class="nav-item">
    <a class="nav-link" href="#" data-toggle="tab" role="tab">
      <i class="cxi-arrow-vertical mr-2"></i>
      Settings
    </a>
  </li>
</ul>

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="cxi-home mr-2"></i>
      Home
    </a>
  </li>
  <li class="nav-item">
    <a class="nav-link" href="#" data-toggle="tab" role="tab">
      <i class="cxi-profile 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>

Media tabs: Image

<!-- Media tabs image -->
<div data-simplebar data-simplebar-horizontal-top class="pt-3">
  <ul class="nav cs-media-tabs flex-nowrap mb-5 pb-5" role="tablist">
    <li class="nav-item">
      <a class="nav-link active" href="#media-image1" data-toggle="tab" role="tab">
        <img class="cs-media-tabs-icon mb-3" src="path-to-image" style="max-width: 48px;" alt="Media tab image">
        All Projects
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-image2" data-toggle="tab" role="tab">
        <img class="cs-media-tabs-icon mb-3" src="path-to-image" style="max-width: 48px;" alt="Media tab image">
        Construction
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-image3" data-toggle="tab" role="tab">
        <img class="cs-media-tabs-icon mb-3" src="path-to-image" style="max-width: 48px;" alt="Media tab image">
        Project Development
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-image4" data-toggle="tab" role="tab">
        <img class="cs-media-tabs-icon mb-3" src="path-to-image" style="max-width: 48px;" alt="Media tab image">
        Interior Design
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-image5" data-toggle="tab" role="tab">
        <img class="cs-media-tabs-icon mb-3" src="path-to-image" style="max-width: 48px;" alt="Media tab image">
        Repairs
      </a>
    </li>
  </ul>
</div>

Media tabs: Font icon

<!-- Media tabs icon -->
<div data-simplebar data-simplebar-horizontal-top class="pt-3">
  <ul class="nav cs-media-tabs flex-nowrap mb-5 pb-5" role="tablist">
    <li class="nav-item">
      <a class="nav-link active" href="#media-icon1" data-toggle="tab" role="tab">
        <i class="cxi-home cs-media-tabs-icon mb-3"></i>
        Home
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-icon2" data-toggle="tab" role="tab">
        <i class="cxi-profile cs-media-tabs-icon mb-3"></i>
        Account
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-icon3" data-toggle="tab" role="tab">
        <i class="cxi-history cs-media-tabs-icon mb-3 cs-media-tabs-icon mb-3"></i>
        Orders
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-icon4" data-toggle="tab" role="tab">
        <i class="cxi-heart cs-media-tabs-icon mb-3"></i>
        Wish list
      </a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#media-icon5" data-toggle="tab" role="tab">
        <i class="cxi-cart cs-media-tabs-icon mb-3"></i>
        Cart
      </a>
    </li>
  </ul>
</div>
Top