separator.tsx — ui Source File
Architecture documentation for separator.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 8cc050a1_befc_5c60_248b_eb207274a1e2["separator.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 8cc050a1_befc_5c60_248b_eb207274a1e2 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 ca79256c_1e1d_a85f_9114_05fddcad0c59["react-separator"] 8cc050a1_befc_5c60_248b_eb207274a1e2 --> ca79256c_1e1d_a85f_9114_05fddcad0c59 79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"] 8cc050a1_befc_5c60_248b_eb207274a1e2 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81 style 8cc050a1_befc_5c60_248b_eb207274a1e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import * as SeparatorPrimitive from "@radix-ui/react-separator"
import { cn } from "@/lib/utils"
const Separator = React.forwardRef<
React.ElementRef<typeof SeparatorPrimitive.Root>,
React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>
>(
(
{ className, orientation = "horizontal", decorative = true, ...props },
ref
) => (
<SeparatorPrimitive.Root
ref={ref}
decorative={decorative}
orientation={orientation}
className={cn(
"shrink-0 bg-border",
orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
className
)}
{...props}
/>
)
)
Separator.displayName = SeparatorPrimitive.Root.displayName
export { Separator }
Domain
Subdomains
Functions
Dependencies
- react
- react-separator
- utils
Source
Frequently Asked Questions
What does separator.tsx do?
separator.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in separator.tsx?
separator.tsx defines 1 function(s): Separator.
What does separator.tsx depend on?
separator.tsx imports 3 module(s): react, react-separator, utils.
Where is separator.tsx in the architecture?
separator.tsx is located at deprecated/www/registry/new-york/ui/separator.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/ui).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free