{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "status-pill",
  "title": "Status pill",
  "description": "Pill chip with a round icon well; status color only on the icon.",
  "dependencies": [
    "lucide-react"
  ],
  "files": [
    {
      "path": "registry/dgit/ui/status-pill.tsx",
      "content": "import { AlertCircle, XCircle, CheckCircle2, ChevronRight, Plus, Search, type LucideIcon } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\n\n/** Pill chip: a round icon well on the left, then the label. Status color lives only on the icon; the body stays white with the kit's card shadow. */\nexport type PillTone = \"bad\" | \"warn\" | \"ok\" | \"neutral\";\nconst tone: Record<PillTone, string> = { bad: \"text-destructive\", warn: \"text-warn\", ok: \"text-ok\", neutral: \"text-foreground\" };\nexport function StatusPill({ icon: Icon, label, tone: t = \"neutral\", pressed, onClick }: { icon: LucideIcon; label: string; tone?: PillTone; pressed?: boolean; onClick?: () => void }) {\n  return (\n    <button type=\"button\" onClick={onClick} aria-pressed={pressed}\n      className={cn(\"active:scale-[0.97] shadow-card inline-flex h-12 whitespace-nowrap shrink-0 items-center gap-3 rounded-full bg-background-100 py-1.5 pl-1.5 pr-6 text-heading-16 transition-shadow hover:shadow-card\", pressed && \"ring-2 ring-foreground\")}>\n      <span className=\"flex size-9 items-center justify-center rounded-full bg-gray-100\"><Icon className={cn(\"size-4.5\", tone[t])} strokeWidth={2} /></span>\n      {label}\n    </button>\n  );\n}\n/** Icons for the usual statuses and actions. */\nexport const statusIcons = { bad: XCircle, warn: AlertCircle, ok: CheckCircle2, next: ChevronRight, add: Plus, search: Search };\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}