Tabs() — ui Function Reference
Architecture documentation for the Tabs() function in tabs.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 5d37618f_568f_9a13_8ae1_2f39c8c86a0b["Tabs()"] e5cb27b1_66e1_0848_f7d2_8caea10ea071["tabs.tsx"] 5d37618f_568f_9a13_8ae1_2f39c8c86a0b -->|defined in| e5cb27b1_66e1_0848_f7d2_8caea10ea071 style 5d37618f_568f_9a13_8ae1_2f39c8c86a0b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/tabs.tsx lines 7–23
function Tabs({
className,
orientation = "horizontal",
...props
}: TabsPrimitive.Root.Props) {
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/base/ui-rtl/tabs.tsx.
Where is Tabs() defined?
Tabs() is defined in apps/v4/examples/base/ui-rtl/tabs.tsx at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free