{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "separator",
  "title": "Separator",
  "dependencies": [
    "@base-ui/react"
  ],
  "registryDependencies": [
    "https://ui.hotfix.jobs/r/tokens.json",
    "https://ui.hotfix.jobs/r/utils.json"
  ],
  "files": [
    {
      "path": "registry/components/ui/separator.tsx",
      "content": "\"use client\";\n\nimport { Separator as SeparatorPrimitive } from \"@base-ui/react/separator\";\nimport type * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nexport interface SeparatorProps\n  extends React.ComponentProps<typeof SeparatorPrimitive> {\n  /** Optional inline label (horizontal only) for \"OR\"/\"AND\" split patterns. */\n  label?: React.ReactNode;\n  /** Decorative separators are hidden from screen readers. */\n  decorative?: boolean;\n}\n\nexport function Separator({\n  orientation = \"horizontal\",\n  label,\n  decorative = false,\n  className,\n  ...props\n}: SeparatorProps): React.ReactElement {\n  if (label && orientation === \"horizontal\") {\n    return (\n      <div\n        role={decorative ? \"none\" : \"separator\"}\n        aria-orientation=\"horizontal\"\n        data-slot=\"separator\"\n        data-orientation=\"horizontal\"\n        className={cn(\n          \"flex w-full items-center gap-3 text-mini text-ink-muted\",\n          className,\n        )}\n      >\n        <span className=\"h-px flex-1 bg-hairline\" aria-hidden />\n        <span>{label}</span>\n        <span className=\"h-px flex-1 bg-hairline\" aria-hidden />\n      </div>\n    );\n  }\n\n  return (\n    <SeparatorPrimitive\n      orientation={orientation}\n      role={decorative ? \"none\" : undefined}\n      data-slot=\"separator\"\n      className={cn(\n        \"shrink-0 bg-hairline\",\n        orientation === \"horizontal\" ? \"h-px w-full\" : \"h-full w-px\",\n        className,\n      )}\n      {...props}\n    />\n  );\n}\n\nexport { SeparatorPrimitive };\n",
      "type": "registry:ui",
      "target": "components/ui/separator.tsx"
    }
  ],
  "type": "registry:ui"
}