{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "issue-key",
  "type": "registry:ui",
  "title": "Issue key",
  "description": "A monospace ticket identifier such as MD-241 that renders as plain text or, given an href, as a link with an accent hover underline. For issue lists.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/issue-key.tsx",
      "type": "registry:ui",
      "target": "components/ui/issue-key.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction IssueKey({\n  value,\n  className,\n  href,\n}: {\n  value: string\n  className?: string\n  href?: string\n}) {\n  const Comp = href ? \"a\" : \"span\"\n  return (\n    <Comp\n      data-slot=\"issue-key\"\n      href={href}\n      className={cn(\n        \"font-mono text-xs font-medium tracking-[0.01em] text-fg-muted\",\n        href && \"hover:text-accent hover:underline underline-offset-4\",\n        className\n      )}\n    >\n      {value}\n    </Comp>\n  )\n}\nexport { IssueKey }\n"
    }
  ]
}
