Separator() — ui Function Reference
Architecture documentation for the Separator() function in separator.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c8110588_c3b4_3fdc_ba09_678f3327c4eb["Separator()"] 841e8672_23f8_2f37_0cb3_b5790270c9c2["separator.tsx"] c8110588_c3b4_3fdc_ba09_678f3327c4eb -->|defined in| 841e8672_23f8_2f37_0cb3_b5790270c9c2 style c8110588_c3b4_3fdc_ba09_678f3327c4eb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/separator.tsx lines 7–25
function Separator({
className,
orientation = "horizontal",
decorative = true,
...props
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
return (
<SeparatorPrimitive.Root
data-slot="separator"
decorative={decorative}
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/radix/ui/separator.tsx.
Where is Separator() defined?
Separator() is defined in apps/v4/examples/radix/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