Home / File/ separator.tsx — ui Source File

separator.tsx — ui Source File

Architecture documentation for separator.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  e8853e01_c96c_5760_16d4_49bc3112c2b3["separator.tsx"]
  3d9438e8_7604_787c_4898_907262aff28b["utils"]
  e8853e01_c96c_5760_16d4_49bc3112c2b3 --> 3d9438e8_7604_787c_4898_907262aff28b
  821de6fc_c7fb_c968_5d93_9db5606b758b["separator"]
  e8853e01_c96c_5760_16d4_49bc3112c2b3 --> 821de6fc_c7fb_c968_5d93_9db5606b758b
  style e8853e01_c96c_5760_16d4_49bc3112c2b3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { cn } from "@/examples/base/lib/utils"
import { Separator as SeparatorPrimitive } from "@base-ui/react/separator"

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}
    />
  )
}

export { Separator }

Subdomains

Functions

Dependencies

  • separator
  • utils

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 DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in separator.tsx?
separator.tsx defines 1 function(s): Separator.
What does separator.tsx depend on?
separator.tsx imports 2 module(s): separator, utils.
Where is separator.tsx in the architecture?
separator.tsx is located at apps/v4/examples/base/ui-rtl/separator.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base/ui-rtl).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free