Navs
Use navigation tabs to break up pieces of content
Default nav
The following navigation bar is a basic example from what is used in Pixel:
<div class="nav-wrapper position-relative">
<ul class="nav nav-pills nav-fill flex-column flex-sm-row">
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0 active" data-bs-toggle="tab" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#">Settings</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#">Messages</a>
</li>
</ul>
</div>
Rounded navs
<div class="nav-wrapper position-relative">
<ul class="nav nav-pills rounded nav-fill flex-column flex-md-row">
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0 active" data-bs-toggle="tab" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#">Settings</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#">Messages</a>
</li>
</ul>
</div>
Colors
Use the icon-*
modified classes to choose a color for the nav item:
<div class="nav-wrapper position-relative">
<ul class="nav nav-pills nav-fill flex-column flex-md-row">
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0 active" href="#"><span class="icon-primary"><span class="fas fa-tachometer-alt me-2"></span>Dashboard</span></a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#"><span class="icon-secondary"><span class="far fa-user-circle me-2"></span>Profile</span></a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#"><span class="icon-tertiary"><span class="far fa-sun me-2"></span>Settings</span></a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#"><span class="icon-info"><span class="far fa-comments me-2"></span>Messages</span></a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#"><span class="icon-danger"><span class="fas fa-signature me-2"></span>Stats</span></a>
</li>
</ul>
</div>
Rounded navs with icons Pro
<div class="nav-wrapper position-relative">
<ul class="nav nav-pills nav-fill flex-column flex-md-row">
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0 active" data-bs-toggle="tab" href="#"><span class="fas fa-tachometer-alt me-2"></span>Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#"><span class="far fa-user-circle me-2"></span>Profile</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#"><span class="far fa-sun me-2"></span>Settings</a>
</li>
<li class="nav-item">
<a class="nav-link mb-sm-3 mb-md-0" data-bs-toggle="tab" href="#"><span class="far fa-comments me-2"></span>Messages</a>
</li>
</ul>
</div>
Circle navs Pro
<div class="nav-wrapper position-relative">
<ul class="nav nav-pills nav-pill-circle flex-column flex-md-row">
<li class="nav-item">
<a class="nav-link active" aria-label="first navigation tab" data-bs-toggle="tab" href="#">
<span class="nav-link-icon d-block"><span class="far fa-user"></span></span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-label="second navigation tab" data-bs-toggle="tab" href="#">
<span class="nav-link-icon d-block"><span class="far fa-lightbulb"></span></span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-label="third navigation tab" data-bs-toggle="tab" href="#">
<span class="nav-link-icon d-block"><span class="far fa-sun"></span></span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-label="fourth navigation tab" data-bs-toggle="tab" href="#">
<span class="nav-link-icon d-block"><span class="far fa-paper-plane"></span></span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-label="fifth navigation tab" data-bs-toggle="tab" href="#">
<span class="nav-link-icon d-block"><span class="far fa-comments"></span></span>
</a>
</li>
</ul>
</div>
Vertical navs Pro
Use the following vertical navs for sidebars:
<div class="nav-wrapper position-relative">
<ul class="nav nav-pills square nav-fill flex-column vertical-tab">
<li class="nav-item">
<a class="nav-link active" data-bs-toggle="tab" href="#"><span class="d-block"><span class="fas fa-dungeon me-2"></span>Home</span></a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#"><span class="d-block"><span class="far fa-user-circle me-2"></span>Profile</span></a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#"><span class="d-block"><span class="far fa-sun me-2"></span>Settings</span></a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#"><span class="d-block"><span class="far fa-comments me-2"></span>Messages</span></a>
</li>
</ul>
</div>