Tab
Tab.
Make use of Tailwind's unique Tab styles to enhance actions in forms, dialogs, and various other elements, featuring comprehensive support for multiple sizes, states, and additional functionalities.
TabTab
Default Tab
This is home title
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
This is profile title
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
This is contact title
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
This is message title
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
<div class="default-tab " x-data="{ tab: 'tab-home' }">
<ul class="nav nav-tabs flex flex-wrap border-b border-border boder-tabs" role="tablist">
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 block -mb-0.5 font-medium border border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-home'"
:class="{ ' border-t-border border-x-border bg-card': tab == 'tab-home'}">
<i class="la la-home mr-2 scale-150 inline-block"></i> Home</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 block -mb-0.5 font-medium border border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-profile'"
:class="{ ' border-t-border border-x-border bg-card': tab == 'tab-profile'}">
<i class="la la-user mr-2 scale-150 inline-block"></i> Profile</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 block -mb-0.5 font-medium border border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-contact'"
:class="{ ' border-t-border border-x-border bg-card': tab == 'tab-contact'}">
<i class="la la-phone mr-2 scale-150 inline-block"></i> Contact</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 block -mb-0.5 font-medium border border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-message'"
:class="{ ' border-t-border border-x-border bg-card': tab == 'tab-message'}">
<i class="la la-envelope mr-2 scale-150 inline-block"></i> Message</a>
</li>
</ul>
<div class="tab-content-area">
<div x-show="tab == 'tab-home'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is home title</h4>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
</div>
</div>
<div x-show="tab == 'tab-profile'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is profile title</h4>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
</div>
</div>
<div x-show="tab == 'tab-contact'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is contact title</h4>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
</div>
</div>
<div x-show="tab == 'tab-message'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is message title</h4>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
</div>
</div>
</div>
</div>
Custom Tab 1
This is home title
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
This is profile title
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
This is contact title
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
This is message title
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
<div x-data="{ tab: 'tab-home1' }">
<ul class="nav nav-tabs flex flex-wrap border-b border-border">
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 font-medium block border-b-[3px] border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-home1'"
:class="{ 'border-b-primary': tab == 'tab-home1'}">
<i class="la la-home mr-2 scale-150 inline-block"></i> Home</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 font-medium block border-b-[3px] border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-profile1'"
:class="{ 'border-b-primary': tab == 'tab-profile1'}">
<i class="la la-user mr-2 scale-150 inline-block"></i> Profile</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 font-medium block border-b-[3px] border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-contact1'"
:class="{ 'border-b-primary': tab == 'tab-contact1'}">
<i class="la la-phone mr-2 scale-150 inline-block"></i> Contact</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 font-medium block border-b-[3px] border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-message1'"
:class="{ 'border-b-primary': tab == 'tab-message1'}">
<i class="la la-envelope mr-2 scale-150 inline-block"></i> Message</a>
</li>
</ul>
<div class="tab-content-area">
<div x-show="tab == 'tab-home1'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is home title</h4>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
</div>
</div>
<div x-show="tab == 'tab-profile1'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is profile title</h4>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
</div>
</div>
<div x-show="tab == 'tab-contact1'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is contact title</h4>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
<p class="mb-4 sm:text-sm">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove.
</p>
</div>
</div>
<div x-show="tab == 'tab-message1'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is message title</h4>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
</div>
</div>
</div>
</div>
Tab with icon
This is icon title 1
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
This is icon title 2
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
This is icon title 3
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
<div class="sm:p-7.5 p-4" x-data="{ tab: 'tab-home8' }">
<!-- Nav tabs -->
<ul class="nav nav-tabs flex flex-wrap border-b border-border boder-tabs" role="tablist">
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 font-medium block -mb-0.5 border border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-home8'"
:class="{ ' border-t-border border-x-border bg-bodybg text-secondary': tab == 'tab-home8'}">
<span>
<i class="ti-home"></i>
</span>
</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 font-medium block -mb-0.5 border border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-profile8'"
:class="{ ' border-t-border border-x-border bg-bodybg text-secondary': tab == 'tab-profile8'}">
<span>
<i class="ti-user"></i>
</span>
</a>
</li>
<li class="nav-item">
<a href="javascript:void(0);" class="py-2 px-4 font-medium block -mb-0.5 border border-transparent rounded-t-lg text-primary duration-500"
@click.prevent="tab = 'tab-messages8'"
:class="{ ' border-t-border border-x-border bg-bodybg text-secondary': tab == 'tab-messages8'}">
<span>
<i class="ti-email"></i>
</span>
</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content-area">
<div x-show="tab == 'tab-home8'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is icon title 1</h4>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
</div>
</div>
<div x-show="tab == 'tab-profile8'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is icon title 2</h4>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
</div>
</div>
<div x-show="tab == 'tab-messages8'"
x-transition:enter="transition-all duration-700 easy-in-out"
x-transition:enter-start="opacity-0"
x-transition:enter-end="opacity-100">
<div class="pt-6">
<h4 class="mb-2 ">This is icon title 3</h4>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
<p class="mb-4 sm:text-sm">Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor.
</p>
</div>
</div>
</div>
</div>