A set of layered sections of content that display one panel at a time. Built on Base UI Tabs primitives.
Make changes to your account settings here.
import {
TabsRoot,
TabsList,
TabsTab,
TabsPanel,
} from "@/components/ui/static/tabs"<TabsRoot defaultValue="tab1">
<TabsList>
<TabsTab value="tab1">Tab 1</TabsTab>
<TabsTab value="tab2">Tab 2</TabsTab>
</TabsList>
<TabsPanel value="tab1">Content 1</TabsPanel>
<TabsPanel value="tab2">Content 2</TabsPanel>
</TabsRoot>View your project overview and recent activity.
valuestringControlled value of the active tab.
onValueChange(value: string) => voidCallback when active tab changes.
defaultValuestringDefault active tab for uncontrolled usage.
orientation'horizontal' | 'vertical''horizontal'Orientation of the tabs.