Separator() — ui Function Reference
Architecture documentation for the Separator() function in separator.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 3477aa1e_dfac_6a9b_24ab_b564716c1fb8["Separator()"] e8853e01_c96c_5760_16d4_49bc3112c2b3["separator.tsx"] 3477aa1e_dfac_6a9b_24ab_b564716c1fb8 -->|defined in| e8853e01_c96c_5760_16d4_49bc3112c2b3 style 3477aa1e_dfac_6a9b_24ab_b564716c1fb8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/separator.tsx lines 6–22
function Separator({
className,
orientation = "horizontal",
...props
}: SeparatorPrimitive.Props) {
return (
<SeparatorPrimitive
data-slot="separator"
orientation={orientation}
className={cn(
"bg-border shrink-0 data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Separator() do?
Separator() is a function in the ui codebase, defined in apps/v4/examples/base/ui-rtl/separator.tsx.
Where is Separator() defined?
Separator() is defined in apps/v4/examples/base/ui-rtl/separator.tsx at line 6.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free