Separator() — ui Function Reference
Architecture documentation for the Separator() function in separator.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 54947143_50bf_aba6_da3c_5efb9a637ff4["Separator()"] 6053e0c7_9e7d_9d15_5eb8_8c48eea46be3["separator.tsx"] 54947143_50bf_aba6_da3c_5efb9a637ff4 -->|defined in| 6053e0c7_9e7d_9d15_5eb8_8c48eea46be3 style 54947143_50bf_aba6_da3c_5efb9a637ff4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/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/separator.tsx.
Where is Separator() defined?
Separator() is defined in apps/v4/examples/base/ui/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