{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "status-badge",
  "type": "registry:ui",
  "title": "Status Badge",
  "description": "Square mono badges: engaged / priority / patrol / standby / critical (+ blinking dot).",
  "dependencies": [
    "class-variance-authority"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/hud/status-badge.tsx",
      "content": "import * as React from \"react\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { cn } from \"@/lib/utils\"\n\nconst statusBadgeVariants = cva(\n  \"inline-flex items-center gap-1.5 font-mono text-[10px] uppercase tracking-[0.14em] px-2.5 py-0.5\",\n  {\n    variants: {\n      variant: {\n        engaged: \"bg-primary text-primary-foreground\",\n        priority: \"border border-primary/60 text-primary\",\n        patrol: \"border border-[#2E3236] text-[#9AA0A4]\",\n        standby: \"border border-border text-[#5A6065]\",\n        critical: \"border border-destructive/60 text-destructive\",\n        live: \"border border-[#2E3236] text-[#C8CCCE]\",\n      },\n    },\n    defaultVariants: { variant: \"patrol\" },\n  }\n)\n\nfunction StatusBadge({ className, variant, dot = false, children, ...props }: React.ComponentProps<\"span\"> & VariantProps<typeof statusBadgeVariants> & { dot?: boolean }) {\n  return (\n    <span className={cn(statusBadgeVariants({ variant }), className)} {...props}>\n      {dot && (\n        <span\n          aria-hidden\n          className=\"size-1.5 shrink-0 rounded-full bg-current shadow-[0_0_6px_currentColor] motion-safe:animate-[hud-blink_1.6s_ease-in-out_infinite]\"\n        />\n      )}\n      {children}\n      <style>{\"@keyframes hud-blink{0%,100%{opacity:1}50%{opacity:.15}}\"}</style>\n    </span>\n  )\n}\n\nexport { StatusBadge, statusBadgeVariants }\n",
      "type": "registry:ui"
    }
  ]
}