{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hud-sheet",
  "type": "registry:ui",
  "title": "HUD Sheet",
  "description": "Side drawer panel: 280px, hairline dividers, mono accent title.",
  "dependencies": [
    "@radix-ui/react-dialog",
    "class-variance-authority"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/hud/hud-sheet.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { cn } from \"@/lib/utils\"\n\nconst HudSheet = SheetPrimitive.Root\nconst HudSheetTrigger = SheetPrimitive.Trigger\nconst HudSheetClose = SheetPrimitive.Close\nconst HudSheetPortal = SheetPrimitive.Portal\n\nfunction HudSheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>) {\n  return (\n    <SheetPrimitive.Overlay\n      className={cn(\n        \"fixed inset-0 z-50 bg-[rgba(4,5,6,0.85)]\",\n        \"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nconst sheetVariants = cva(\n  \"fixed z-50 flex flex-col bg-popover data-[state=open]:animate-in data-[state=closed]:animate-out\",\n  {\n    variants: {\n      side: {\n        right:\n          \"inset-y-0 right-0 w-[280px] border-l border-[#3A3E42] shadow-[-16px_0_32px_rgba(0,0,0,0.5)] data-[state=open]:slide-in-from-right data-[state=closed]:slide-out-to-right\",\n        left: \"inset-y-0 left-0 w-[280px] border-r border-[#3A3E42] shadow-[16px_0_32px_rgba(0,0,0,0.5)] data-[state=open]:slide-in-from-left data-[state=closed]:slide-out-to-left\",\n        top: \"inset-x-0 top-0 border-b border-[#3A3E42] shadow-[0_16px_32px_rgba(0,0,0,0.5)] data-[state=open]:slide-in-from-top data-[state=closed]:slide-out-to-top\",\n        bottom:\n          \"inset-x-0 bottom-0 border-t border-[#3A3E42] shadow-[0_-16px_32px_rgba(0,0,0,0.5)] data-[state=open]:slide-in-from-bottom data-[state=closed]:slide-out-to-bottom\",\n      },\n    },\n    defaultVariants: { side: \"right\" },\n  }\n)\n\nfunction HudSheetContent({\n  className,\n  children,\n  side = \"right\",\n  ...props\n}: React.ComponentProps<typeof SheetPrimitive.Content> & VariantProps<typeof sheetVariants>) {\n  return (\n    <HudSheetPortal>\n      <HudSheetOverlay />\n      <SheetPrimitive.Content className={cn(sheetVariants({ side }), className)} {...props}>\n        {children}\n      </SheetPrimitive.Content>\n    </HudSheetPortal>\n  )\n}\n\nfunction HudSheetHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      className={cn(\n        \"flex items-center justify-between border-b border-[#1D2023] px-4 py-3\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction HudSheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>) {\n  return (\n    <SheetPrimitive.Title\n      className={cn(\n        \"font-mono text-[10px] uppercase tracking-[0.16em] text-primary\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nfunction HudSheetCloseButton({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Close>) {\n  return (\n    <SheetPrimitive.Close\n      className={cn(\n        \"cursor-pointer font-mono text-[11px] text-[#5A6065] transition-colors outline-none hover:text-foreground focus-visible:ring-1 focus-visible:ring-ring\",\n        className\n      )}\n      {...props}\n    >\n      ✕<span className=\"sr-only\">Close</span>\n    </SheetPrimitive.Close>\n  )\n}\n\nfunction HudSheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>) {\n  return (\n    <SheetPrimitive.Description\n      className={cn(\"font-mono text-[10px] tracking-[0.14em] text-[#5A6065]\", className)}\n      {...props}\n    />\n  )\n}\n\nfunction HudSheetBody({ className, ...props }: React.ComponentProps<\"div\">) {\n  return <div className={cn(\"flex flex-col gap-2.5 px-4 py-3.5\", className)} {...props} />\n}\n\nfunction HudSheetFooter({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div className={cn(\"mt-auto border-t border-[#1D2023] px-4 py-3\", className)} {...props} />\n  )\n}\n\nexport {\n  HudSheet,\n  HudSheetTrigger,\n  HudSheetClose,\n  HudSheetPortal,\n  HudSheetOverlay,\n  HudSheetContent,\n  HudSheetHeader,\n  HudSheetTitle,\n  HudSheetCloseButton,\n  HudSheetDescription,\n  HudSheetBody,\n  HudSheetFooter,\n}\n",
      "type": "registry:ui"
    }
  ]
}