src/sass/components/_variables.scss
and adds additonal options in src/sass/components/_nav.scss
.
.nav-line-tabs
class as shown below:
<ul class="nav nav-tabs nav-line-tabs mb-5 fs-6">
<li class="nav-item">
<a class="nav-link active" data-bs-toggle="tab" href="#kt_tab_pane_1">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_2">Link 2</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_3">Link 3</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="kt_tab_pane_1" role="tabpanel">
Et et consectetur ipsum labore excepteur est proident excepteur ad velit occaecat qui minim occaecat veniam.
</div>
<div class="tab-pane fade" id="kt_tab_pane_2" role="tabpanel">
Nulla est ullamco ut irure incididunt nulla Lorem Lorem minim irure officia enim reprehenderit.
</div>
<div class="tab-pane fade" id="kt_tab_pane_3" role="tabpanel">
Sint sit mollit irure quis est nostrud cillum consequat Lorem esse do quis dolor esse fugiat sunt do.
</div>
</div>
.nav-line-tabs-2x
class to us a line tab with 2px border width:
<ul class="nav nav-tabs nav-line-tabs nav-line-tabs-2x mb-5 fs-6">
<li class="nav-item">
<a class="nav-link active" data-bs-toggle="tab" href="#kt_tab_pane_4">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_5">Link 2</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_6">Link 3</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="kt_tab_pane_4" role="tabpanel">
Et et consectetur ipsum labore excepteur est proident excepteur ad velit occaecat qui minim occaecat veniam.
</div>
<div class="tab-pane fade" id="kt_tab_pane_5" role="tabpanel">
Nulla est ullamco ut irure incididunt nulla Lorem Lorem minim irure officia enim reprehenderit.
</div>
<div class="tab-pane fade" id="kt_tab_pane_6" role="tabpanel">
Sint sit mollit irure quis est nostrud cillum consequat Lorem esse do quis dolor esse fugiat sunt do.
</div>
</div>
.nav-line-tabs
class as shown below:
<ul class="nav nav-tabs nav-line-tabs mb-5 fs-6">
<li class="nav-item">
<a class="nav-link active" data-bs-toggle="tab" href="#kt_tab_pane_7">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_8">Link 2</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_9">Link 3</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-expanded="false">Dropdown</a>
<ul class="dropdown-menu">
<li><a class="nav-link dropdown-item" data-bs-toggle="tab" href="#kt_tab_pane_10">Action</a></li>
</ul>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="kt_tab_pane_7" role="tabpanel">
Et et consectetur ipsum labore excepteur est proident excepteur ad velit occaecat qui minim occaecat veniam.
</div>
<div class="tab-pane fade" id="kt_tab_pane_8" role="tabpanel">
Nulla est ullamco ut irure incididunt nulla Lorem Lorem minim irure officia enim reprehenderit.
</div>
<div class="tab-pane fade" id="kt_tab_pane_9" role="tabpanel">
Sint sit mollit irure quis est nostrud cillum consequat Lorem esse do quis dolor esse fugiat sunt do.
</div>
<div class="tab-pane fade show active" id="kt_tab_pane_10" role="tabpanel">
Et et consectetur ipsum labore excepteur est proident excepteur ad velit occaecat qui minim occaecat veniam.
</div>
<div class="tab-pane fade" id="kt_tab_pane_11" role="tabpanel">
Nulla est ullamco ut irure incididunt nulla Lorem Lorem minim irure officia enim reprehenderit.
</div>
<div class="tab-pane fade" id="kt_tab_pane_12" role="tabpanel">
Sint sit mollit irure quis est nostrud cillum consequat Lorem esse do quis dolor esse fugiat sunt do.
</div>
<div class="tab-pane fade" id="kt_tab_pane_13" role="tabpanel">
Et et consectetur ipsum labore excepteur est proident excepteur ad velit occaecat qui minim occaecat veniam.
</div>
</div>
.nav-stretch
class to use line tabs in card header:
<div class="card ">
<div class="card-header card-header-stretch">
<h3 class="card-title">Title</h3>
<div class="card-toolbar">
<ul class="nav nav-tabs nav-line-tabs nav-stretch fs-6 border-0">
<li class="nav-item">
<a class="nav-link active" data-bs-toggle="tab" href="#kt_tab_pane_7">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_8">Link 2</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" href="#kt_tab_pane_9">Link 3</a>
</li>
</ul>
</div>
</div>
<div class="card-body">
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="kt_tab_pane_7" role="tabpanel">
....
</div>
<div class="tab-pane fade" id="kt_tab_pane_8" role="tabpanel">
...
</div>
<div class="tab-pane fade" id="kt_tab_pane_9" role="tabpanel">
...
</div>
</div>
</div>
</div>
.flex-column
class as shown below:
<ul class="nav nav-tabs nav-pills border-0 flex-row flex-md-column me-5 mb-3 mb-md-0 fs-6">
<li class="nav-item w-md-150px me-0">
<a class="nav-link active" data-bs-toggle="tab" href="#kt_vtab_pane_1">Link 1</a>
</li>
<li class="nav-item w-md-150px me-0">
<a class="nav-link" data-bs-toggle="tab" href="#kt_vtab_pane_2">Link 2</a>
</li>
<li class="nav-item w-md-150px">
<a class="nav-link" data-bs-toggle="tab" href="#kt_vtab_pane_3">Link 3</a>
</li>
</ul>
btn
classes to .nav-link
.
<ul class="nav nav-tabs nav-pills flex-row border-0 flex-md-column me-5 mb-3 mb-md-0 fs-6">
<li class="nav-item me-0 mb-md-2">
<a class="nav-link active btn btn-flex btn-active-light-success" data-bs-toggle="tab" href="#kt_vtab_pane_4">
<span class="svg-icon svg-icon-2"><svg>...</svg></span>
<span class="d-flex flex-column align-items-start">
<span class="fs-4 fw-bolder">Link 1</span>
<span class="fs-7">Description</span>
</span>
</a>
</li>
<li class="nav-item me-0 mb-md-2">
<a class="nav-link btn btn-flex btn-active-light-info" data-bs-toggle="tab" href="#kt_vtab_pane_5">
<span class="svg-icon svg-icon-2"><svg>...</svg></span>
<span class="d-flex flex-column align-items-start">
<span class="fs-4 fw-bolder">Link 2</span>
<span class="fs-7">Description</span>
</span>
</a>
</li>
<li class="nav-item ">
<a class="nav-link btn btn-flex btn-active-light-danger" data-bs-toggle="tab" href="#kt_vtab_pane_6">
<span class="svg-icon svg-icon-2"><svg>...</svg></span>
<span class="d-flex flex-column align-items-start">
<span class="fs-4 fw-bolder">Link 3</span>
<span class="fs-7">Description</span>
</span>
</a>
</li>
</ul>
Pro Version Benefits | Free | Pro |
---|---|---|
UI Elements | 20 | 100 |
In-house Components | 20 | 40 |
Crafted Pages | 5 | 20 |
Complete Documentation | ||
Product Support | ||
Layout Builder | ||
Source Vectors | ||
Email Templates | ||
Calendar App | ||
User Management App | ||
Chat App | ||
Customers App |