Nav Tabs

Tabs Simple

Copy
<section class="py-7">
  <div class="container">
    <div class="row">
       <div class="col-lg-4 mx-auto">
          <div class="nav-wrapper position-relative end-0">
             <ul class="nav nav-pills rounded-pill nav-fill p-1" role="tablist">
                <li class="nav-item">
                   <a class="nav-link mb-0 px-0 py-1 rounded-pill active" data-bs-toggle="tab" href="#profile-tabs-simple" role="tab" aria-controls="profile" aria-selected="true">
                   My Profile
                   </a>
                </li>
                <li class="nav-item">
                   <a class="nav-link mb-0 px-0 py-1 rounded-pill" data-bs-toggle="tab" href="#dashboard-tabs-simple" role="tab" aria-controls="dashboard" aria-selected="false">
                   Dashboard
                   </a>
                </li>
             </ul>
          </div>
       </div>
    </div>
 </div>
</section>

Tabs with icons

Copy
<section class="py-7">
  <div class="container">
    <div class="row justify-space-between py-2">
      <div class="col-lg-6 mx-auto">
        <div class="nav-wrapper position-relative end-0">
          <ul class="nav nav-pills rounded-pill nav-fill p-1" role="tablist">
            <li class="nav-item">
              <a class="nav-link mb-0 px-0 py-1 rounded-pill active" data-bs-toggle="tab" href="#profile-tabs-icons" role="tab" aria-controls="preview" aria-selected="true">
              <i class="ni ni-badge text-sm me-2"></i> My Profile
              </a>
            </li>
            <li class="nav-item">
              <a class="nav-link mb-0 px-0 py-1 rounded-pill" data-bs-toggle="tab" href="#dashboard-tabs-icons" role="tab" aria-controls="code" aria-selected="false">
                <i class="ni ni-laptop text-sm me-2"></i> Dashboard
              </a>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</section>

Tabs vertical

Copy
<section class="py-6">
  <div class="container">
    <div class="row justify-space-between py-2">
      <div class="col-lg-4 mx-auto">
        <div class="nav-wrapper position-relative end-0">
          <ul class="nav nav-pills nav-fill flex-column p-1 rounded-4" role="tablist">
            <li class="nav-item">
              <a class="nav-link mb-0 px-0 py-1 rounded-pill active" data-bs-toggle="tab" href="#profile-tabs-vertical" role="tab" aria-controls="preview" aria-selected="true">
                My Profile
              </a>
            </li>
            <li class="nav-item">
              <a class="nav-link mb-0 px-0 py-1 rounded-pill" data-bs-toggle="tab" href="#dashboard-tabs-vertical" role="tab" aria-controls="code" aria-selected="false">
                Dashboard
              </a>
            </li>
            <li class="nav-item">
              <a class="nav-link mb-0 px-0 py-1 rounded-pill" data-bs-toggle="tab" href="#payments-tabs-vertical" role="tab" aria-controls="code" aria-selected="false">
                Payments
              </a>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</section>

Tabs with content

Copy
<section class="py-6">
  <div class="container">
    <div class="row justify-space-between py-2">
      <div class="col-lg-4 ms-auto">
        <div class="nav-wrapper position-relative">
          <ul class="nav nav-pills nav-fill flex-column p-1 me-3 rounded-4" id="v-pills-tab" role="tablist" aria-orientation="vertical">
            <li class="nav-item">
              <a class="nav-link rounded-pill active" id="v-pills-home-tab" data-bs-toggle="pill" href="#v-pills-home" role="tab" aria-controls="v-pills-home" aria-selected="true">Home</a>
            </li>
            <li class="nav-item">
              <a class="nav-link rounded-pill" id="v-pills-profile-tab" data-bs-toggle="pill" href="#v-pills-profile" role="tab" aria-controls="v-pills-profile" aria-selected="false">Profile</a>
            </li>

            <li class="nav-item">
              <a class="nav-link rounded-pill" id="v-pills-messages-tab" data-bs-toggle="pill" href="#v-pills-messages" role="tab" aria-controls="v-pills-messages" aria-selected="false">Messages</a>
            </li>

            <li class="nav-item">
              <a class="nav-link rounded-pill" id="v-pills-settings-tab" data-bs-toggle="pill" href="#v-pills-settings" role="tab" aria-controls="v-pills-settings" aria-selected="false">Settings</a>
            </li>
          </ul>
        </div>
      </div>
      <div class="col-lg-4 me-auto my-auto text-start">
        <div class="tab-content" id="v-pills-tabContent">
          <div class="tab-pane fade show active" id="v-pills-home" role="tabpanel" aria-labelledby="v-pills-home-tab">
            The reading of all good books is like a conversation with the finest minds of past centuries.
          </div>
          <div class="tab-pane fade" id="v-pills-profile" role="tabpanel" aria-labelledby="v-pills-profile-tab">
            Comparing yourself to others is the thief of joy.
          </div>
          <div class="tab-pane fade" id="v-pills-messages" role="tabpanel" aria-labelledby="v-pills-messages-tab">
            It’s better to choose, commit, and get started instead of waiting for the best possible option.
          </div>
          <div class="tab-pane fade" id="v-pills-settings" role="tabpanel" aria-labelledby="v-pills-settings-tab">
            If you think you can learn a lot from reading books, try writing one.
          </div>
        </div>
      </div>
    </div>
  </div>
</section>