{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "separator",
  "title": "Separator",
  "description": "Astro dividers for visual grouping or a semantic content boundary.",
  "dependencies": [
    "cn"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "packages/ui/src/components/ui/separator/index.ts",
      "content": "export { default as Separator } from \"./separator.astro\"\n",
      "type": "registry:file",
      "target": "~/src/components/ui/separator/index.ts"
    },
    {
      "path": "packages/ui/src/components/ui/separator/separator.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"cn\"\n\ntype Props = HTMLAttributes<\"div\"> & {\n  orientation?: \"horizontal\" | \"vertical\"\n  decorative?: boolean\n}\n\nconst {\n  class: className,\n  orientation = \"horizontal\",\n  decorative = true,\n  ...props\n} = Astro.props\n---\n\n<div\n  data-slot=\"separator\"\n  data-orientation={orientation}\n  data-horizontal={orientation === \"horizontal\" ? \"\" : undefined}\n  data-vertical={orientation === \"vertical\" ? \"\" : undefined}\n  role={decorative ? \"none\" : \"separator\"}\n  aria-orientation={decorative ? undefined : orientation}\n  class={cn(\"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:not-[[class^='h-']]:not-[[class*='_h-']]:self-stretch\", className)}\n  {...props}\n></div>\n",
      "type": "registry:file",
      "target": "~/src/components/ui/separator/separator.astro"
    }
  ],
  "meta": {
    "framework": "astro",
    "source": "@gnostic/ui",
    "testedDependencies": {
      "cn": "0.5.2"
    }
  },
  "docs": "https://ui.gnosticai.com/components/separator",
  "categories": [
    "ui"
  ],
  "type": "registry:ui"
}
