<div x-data="{activeTab:'tabHome'}" class="tabs flex flex-col">
<div class="is-scrollbar-hidden overflow-x-auto">
<div class="tabs-list flex">
<button
@click="activeTab = 'tabHome'"
:class="activeTab === 'tabHome' ? 'border-primary dark:border-accent text-primary dark:text-accent-light' : 'border-transparent hover:text-slate-800 focus:text-slate-800 dark:hover:text-navy-100 dark:focus:text-navy-100'"
class="btn shrink-0 rounded-none border-b-2 px-3 py-2 font-medium"
>
Home
</button>
<button
@click="activeTab = 'tabProfile'"
:class="activeTab === 'tabProfile' ? 'border-primary dark:border-accent text-primary dark:text-accent-light' : 'border-transparent hover:text-slate-800 focus:text-slate-800 dark:hover:text-navy-100 dark:focus:text-navy-100'"
class="btn shrink-0 rounded-none border-b-2 px-3 py-2 font-medium"
>
Profile
</button>
<button
@click="activeTab = 'tabMessages'"
:class="activeTab === 'tabMessages' ? 'border-primary dark:border-accent text-primary dark:text-accent-light' : 'border-transparent hover:text-slate-800 focus:text-slate-800 dark:hover:text-navy-100 dark:focus:text-navy-100'"
class="btn shrink-0 rounded-none border-b-2 px-3 py-2 font-medium"
>
Messages
</button>
<button
@click="activeTab = 'tabSettings'"
:class="activeTab === 'tabSettings' ? 'border-primary dark:border-accent text-primary dark:text-accent-light' : 'border-transparent hover:text-slate-800 focus:text-slate-800 dark:hover:text-navy-100 dark:focus:text-navy-100'"
class="btn shrink-0 rounded-none border-b-2 px-3 py-2 font-medium"
>
Settings
</button>
</div>
</div>
<div class="tab-content pt-4">
<div
x-show="activeTab === 'tabHome'"
x-transition:enter="transition-all duration-500 easy-in-out"
x-transition:enter-start="opacity-0 [transform:translate3d(1rem,0,0)]"
x-transition:enter-end="opacity-100 [transform:translate3d(0,0,0)]"
>
<div>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent
elementum finibus arcu vitae scelerisque. Etiam rutrum blandit
condimentum. Maecenas condimentum massa vitae quam interdum, et
lacinia urna tempor
</p>
<div class="flex space-x-2 space-x-reverse pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
<p class="pt-3 text-xs text-slate-400 dark:text-navy-300">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore
dolore non atque?
</p>
</div>
</div>
<div
x-show="activeTab === 'tabProfile'"
x-transition:enter="transition-all duration-500 easy-in-out"
x-transition:enter-start="opacity-0 [transform:translate3d(1rem,0,0)]"
x-transition:enter-end="opacity-100 [transform:translate3d(0,0,0)]"
>
<div>
<p>
Pellentesque pulvinar, sapien eget fermentum sodales, felis lacus
viverra magna, id pulvinar odio metus non enim. Ut id augue
interdum, ultrices felis eu, tincidunt libero.
</p>
<div class="flex space-x-2 space-x-reverse pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
<p class="pt-3 text-xs text-slate-400 dark:text-navy-300">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore
dolore non atque?
</p>
</div>
</div>
<div
x-show="activeTab === 'tabMessages'"
x-transition:enter="transition-all duration-500 easy-in-out"
x-transition:enter-start="opacity-0 [transform:translate3d(1rem,0,0)]"
x-transition:enter-end="opacity-100 [transform:translate3d(0,0,0)]"
>
<div>
<p>
Cras iaculis ipsum quis lectus faucibus, in mattis nulla molestie.
Vestibulum vel tristique libero. Morbi vulputate odio at viverra
sodales. Curabitur accumsan justo eu libero porta ultrices vitae eu
leo.
</p>
<div class="flex space-x-2 space-x-reverse pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
<p class="pt-3 text-xs text-slate-400 dark:text-navy-300">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore
dolore non atque?
</p>
</div>
</div>
<div
x-show="activeTab === 'tabSettings'"
x-transition:enter="transition-all duration-500 easy-in-out"
x-transition:enter-start="opacity-0 [transform:translate3d(1rem,0,0)]"
x-transition:enter-end="opacity-100 [transform:translate3d(0,0,0)]"
>
<div>
<p>
Etiam nec ante eget lacus vulputate egestas non iaculis tellus.
Suspendisse tempus ex in tortor venenatis malesuada. Aenean
consequat dui vitae nibh lobortis condimentum. Duis vel risus est.
</p>
<div class="flex space-x-2 space-x-reverse pt-3">
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 1
</a>
<a
href="#"
class="tag rounded-full border border-primary text-primary dark:border-accent-light dark:text-accent-light"
>
Tag 2
</a>
</div>
<p class="pt-3 text-xs text-slate-400 dark:text-navy-300">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempore
dolore non atque?
</p>
</div>
</div>
</div>
</div>