Tabs & Pills

Use the Bootstrap tab javascript plugin to extend navigational tabs and pills to create tab panes of local content.
Read the official Bootstrap Documentation for a full list of instructions and other options.


Change the style of .navs component with modifiers and utilities. Mix and match as needed, or build your own.

Tabs

Use class .nav-tabs to create basic nave tabs.


Pills

Use class .nav-pills to create nave pills.


Tabs Line

Use class .tabs-line class along with .nav-tabs to create tabs line.


Alignments

Change the alignment of your nav with the following classes.


Top

Use class .nav-align-top to align navs top.


Bottom

Use class .nav-align-bottom to align navs bottom.


Left

Use class .nav-align-left to align navs left.


Right

Use class .nav-align-right to align navs right.


Within Cards

Use tabs, pills & line tabs navs within card.

Tabs within Card

 <div class="card text-center">
<div class="card-header border-bottom">
  <ul class="nav nav-tabs card-header-tabs" role="tablist">
    <li class="nav-item">
      <button type="button" class="nav-link active" data-bs-toggle="tab" data-bs-target="#navs-within-card-active" role="tab">Active</button>
    </li>
    <li class="nav-item">
      <button type="button" class="nav-link" data-bs-toggle="tab" data-bs-target="#navs-within-card-link" role="tab">Link</button>
    </li>
    <li class="nav-item">
      <button type="button" class="nav-link disabled" data-bs-toggle="tab" data-bs-target="javascript:void(0)" role="tab">Disabled</button>
    </li>
  </ul>
</div>
<div class="tab-content">
  <div class="tab-pane fade show active" id="navs-within-card-active" role="tabpanel">
    <h4 class="card-title">Special active title</h4>
    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    <a href="javascript:void(0)" class="btn btn-primary">Go somewhere</a>
  </div>
  <div class="tab-pane fade" id="navs-within-card-link" role="tabpanel">
    <h4 class="card-title">Special link title</h4>
    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    <a href="javascript:void(0)" class="btn btn-secondary">Go somewhere</a>
  </div>
</div>
</div>

Pills within Card

<div class="card text-center">
<div class="card-header border-bottom">
  <ul class="nav nav-pills" role="tablist">
    <li class="nav-item">
      <button type="button" class="nav-link active" data-bs-toggle="tab" data-bs-target="#navs-pills-within-card-active" role="tab">Active</button>
    </li>
    <li class="nav-item">
      <button type="button" class="nav-link" data-bs-toggle="tab" data-bs-target="#navs-pills-within-card-link" role="tab">Link</button>
    </li>
    <li class="nav-item">
      <button type="button" class="nav-link disabled" data-bs-toggle="tab" data-bs-target="javascript:void(0)" role="tab">Disabled</button>
    </li>
  </ul>
</div>
<div class="tab-content">
  <div class="tab-pane fade show active" id="navs-pills-within-card-active" role="tabpanel">
    <h4 class="card-title">Special active title</h4>
    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    <a href="javascript:void(0)" class="btn btn-primary">Go somewhere</a>
  </div>
  <div class="tab-pane fade" id="navs-pills-within-card-link" role="tabpanel">
    <h4 class="card-title">Special link title</h4>
    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    <a href="javascript:void(0)" class="btn btn-secondary">Go somewhere</a>
  </div>
</div>
</div>

Tabs line within Card

<div class="card text-center">
<ul class="nav nav-tabs tabs-line" role="tablist">
  <li class="nav-item">
    <button type="button" class="nav-link active" data-bs-toggle="tab" data-bs-target="#navs-tabs-line-within-card-active" role="tab">Active</button>
  </li>
  <li class="nav-item">
    <button type="button" class="nav-link" data-bs-toggle="tab" data-bs-target="#navs-tabs-line-within-card-link" role="tab">Link</button>
  </li>
  <li class="nav-item">
    <button type="button" class="nav-link disabled" data-bs-toggle="tab" data-bs-target="javascript:void(0)" role="tab">Disabled</button>
  </li>
</ul>
<div class="tab-content">
  <div class="tab-pane fade show active" id="navs-tabs-line-within-card-active" role="tabpanel">
    <h4 class="card-title">Special active title</h4>
    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    <a href="javascript:void(0)" class="btn btn-primary">Go somewhere</a>
  </div>
  <div class="tab-pane fade" id="navs-tabs-line-within-card-link" role="tabpanel">
    <h4 class="card-title">Special link title</h4>
    <p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
    <a href="javascript:void(0)" class="btn btn-secondary">Go somewhere</a>
  </div>
</div>
</div>
© 2017- Pixinvent, Hand-crafted & Made with ❀