Separator() — ui Function Reference
Architecture documentation for the Separator() function in separator.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 62f52733_2a24_3b84_0489_88964a47ef1b["Separator()"] 8c3fd245_8c3e_a994_b073_cddb74e77661["separator.tsx"] 62f52733_2a24_3b84_0489_88964a47ef1b -->|defined in| 8c3fd245_8c3e_a994_b073_cddb74e77661 style 62f52733_2a24_3b84_0489_88964a47ef1b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/separator.tsx lines 7–23
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/registry/bases/base/ui/separator.tsx.
Where is Separator() defined?
Separator() is defined in apps/v4/registry/bases/base/ui/separator.tsx at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free