Tabs() — ui Function Reference
Architecture documentation for the Tabs() function in tabs.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 21d7f0f3_e6ea_c3a8_b115_fc45b56c5a30["Tabs()"] ac2db766_d397_7a27_8b3f_32f4a6b27f32["tabs.tsx"] 21d7f0f3_e6ea_c3a8_b115_fc45b56c5a30 -->|defined in| ac2db766_d397_7a27_8b3f_32f4a6b27f32 style 21d7f0f3_e6ea_c3a8_b115_fc45b56c5a30 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/tabs.tsx lines 8–24
function Tabs({
className,
orientation = "horizontal",
...props
}: React.ComponentProps<typeof TabsPrimitive.Root>) {
return (
<TabsPrimitive.Root
data-slot="tabs"
data-orientation={orientation}
className={cn(
"group/tabs flex gap-2 data-horizontal:flex-col",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Tabs() do?
Tabs() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/tabs.tsx.
Where is Tabs() defined?
Tabs() is defined in apps/v4/examples/radix/ui-rtl/tabs.tsx at line 8.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free