Home / File/ separator.json — ui Source File

separator.json — ui Source File

Architecture documentation for separator.json, a json file in the ui codebase.

Entity Profile

Source Code

{
  "name": "separator",
  "dependencies": [
    "@radix-ui/react-separator"
  ],
  "files": [
    {
      "name": "separator.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Separator = React.forwardRef<\n  React.ElementRef<typeof SeparatorPrimitive.Root>,\n  React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(\n  (\n    { className, orientation = \"horizontal\", decorative = true, ...props },\n    ref\n  ) => (\n    <SeparatorPrimitive.Root\n      ref={ref}\n      decorative={decorative}\n      orientation={orientation}\n      className={cn(\n        \"shrink-0 bg-border\",\n        orientation === \"horizontal\" ? \"h-[1px] w-full\" : \"h-full w-[1px]\",\n        className\n      )}\n      {...props}\n    />\n  )\n)\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\n"
    }
  ],
  "type": "components:ui"
}

Frequently Asked Questions

What does separator.json do?
separator.json is a source file in the ui codebase, written in json.
Where is separator.json in the architecture?
separator.json is located at deprecated/www/public/registry/styles/default/separator.json (directory: deprecated/www/public/registry/styles/default).

Analyze Your Own Codebase

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

Try Supermodel Free