Code
<twig:Tabs defaultValue="profile" orientation="vertical" class="max-w-xl w-full">
<twig:Tabs:List variant="pill">
<twig:Tabs:Trigger value="profile">Profile</twig:Tabs:Trigger>
<twig:Tabs:Trigger value="dashboard">Dashboard</twig:Tabs:Trigger>
<twig:Tabs:Trigger value="settings">Settings</twig:Tabs:Trigger>
<twig:Tabs:Trigger value="contact">Contact</twig:Tabs:Trigger>
<twig:Tabs:Trigger value="disabled" disabled>Disabled</twig:Tabs:Trigger>
</twig:Tabs:List>
<twig:Tabs:Content value="profile">
<div class="p-6 bg-neutral-secondary text-medium text-body rounded-base w-full h-full">
<h3 class="text-lg font-semibold text-heading mb-4">Profile Tab</h3>
<p class="mb-2">This is some placeholder content the Profile tab's associated content, clicking another tab will toggle the visibility of this one for the next.</p>
<p>The tab JavaScript swaps classes to control the content visibility and styling.</p>
</div>
</twig:Tabs:Content>
<twig:Tabs:Content value="dashboard">
<div class="p-6 bg-neutral-secondary text-medium text-body rounded-base w-full h-full">
<h3 class="text-lg font-semibold text-heading mb-4">Dashboard Tab</h3>
</div>
</twig:Tabs:Content>
<twig:Tabs:Content value="settings">
<div class="p-6 bg-neutral-secondary text-medium text-body rounded-base w-full h-full">
<h3 class="text-lg font-semibold text-heading mb-4">Settings Tab</h3>
</div>
</twig:Tabs:Content>
<twig:Tabs:Content value="contact">
<div class="p-6 bg-neutral-secondary text-medium text-body rounded-base w-full h-full">
<h3 class="text-lg font-semibold text-heading mb-4">Contact Tab</h3>
</div>
</twig:Tabs:Content>
</twig:Tabs>