{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hud-sonner",
  "type": "registry:ui",
  "title": "HUD Toaster",
  "description": "Sonner toast stack in HUD style: accent left rail, glyph icons.",
  "dependencies": [
    "sonner"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/hud/hud-sonner.tsx",
      "content": "\"use client\"\n\nimport * as React from \"react\"\nimport { Toaster as Sonner, type ToasterProps } from \"sonner\"\n\n// HUD toast stack. Mount once (e.g. in the root layout), then call\n// `toast(...)` / `toast.error(...)` from \"sonner\" as usual.\nfunction HudToaster(props: ToasterProps) {\n  return (\n    <Sonner\n      position=\"bottom-right\"\n      icons={{\n        success: <span className=\"font-mono text-[11px] text-[#8A9094]\">●</span>,\n        info: <span className=\"font-mono text-[11px] text-primary\">◆</span>,\n        warning: <span className=\"font-mono text-[11px] text-primary\">◆</span>,\n        error: <span className=\"font-mono text-[11px] text-destructive\">▲</span>,\n      }}\n      toastOptions={{\n        unstyled: true,\n        classNames: {\n          toast:\n            \"group flex w-[340px] items-start gap-2.5 border border-[#3A3E42] border-l-2 border-l-primary bg-popover px-3 py-2.5 shadow-[0_8px_20px_rgba(0,0,0,0.5)] data-[type=success]:border-[#26292C] data-[type=success]:border-l-[#8A9094] data-[type=error]:border-destructive/50 data-[type=error]:border-l-destructive\",\n          content: \"flex-1\",\n          title:\n            \"font-sans text-sm font-semibold uppercase tracking-[0.08em] text-foreground group-data-[type=success]:font-medium group-data-[type=success]:text-[#C8CCCE]\",\n          description: \"mt-0.5 font-mono text-[10px] uppercase tracking-[0.1em] text-[#6E7478]\",\n          actionButton:\n            \"ml-2 cursor-pointer font-sans text-xs font-medium uppercase tracking-[0.1em] text-primary\",\n          cancelButton:\n            \"ml-2 cursor-pointer font-mono text-[10px] text-[#4A5054] hover:text-foreground\",\n          closeButton: \"text-[#4A5054] hover:text-foreground\",\n        },\n      }}\n      {...props}\n    />\n  )\n}\n\nexport { HudToaster }\n",
      "type": "registry:ui"
    }
  ]
}