Tabs
Inventory-style tabs over a dark panel.
Choose your language, time zone and the page you start on.
Install and use
The first command adds the component and the Mine theme, the second adds this example. Render <Mine> once near your root for the skin, sounds and narrator.
"use client"
import { Tabs, TabsList, TabsPanel, TabsTab } from "@/components/ui/tabs"
function Example() {
return (
<Tabs defaultValue="general" orientation="vertical">
<TabsList aria-label="Preferences">
<TabsTab value="general">General</TabsTab>
<TabsTab value="security">Security</TabsTab>
<TabsTab value="integrations">Integrations</TabsTab>
</TabsList>
<TabsPanel value="general">
Choose your language, time zone and the page you start on.
</TabsPanel>
<TabsPanel value="security">
Manage passkeys, signed-in sessions and recovery codes.
</TabsPanel>
<TabsPanel value="integrations">
Connect your calendar and chat apps to get reminders.
</TabsPanel>
</Tabs>
)
}
export { Example }