{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kbd",
  "title": "Kbd",
  "description": "Key caps for keyboard shortcuts, alone or grouped, that never break between their characters.",
  "registryDependencies": [
    "https://www.gliakit.com/r/tokens.json"
  ],
  "files": [
    {
      "path": "src/components/ui/kbd.tsx",
      "content": "import * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\n/** A key cap for shortcuts: ⌘, K, esc. */\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n  return (\n    <kbd\n      data-slot=\"kbd\"\n      className={cn(\n        \"inline-flex min-w-5 shrink-0 items-center justify-center gap-1 rounded border border-border px-1.5 py-0.5 font-mono text-[10px] whitespace-nowrap text-muted-foreground select-none [&_svg:not([class*='size-'])]:size-3\",\n        className,\n      )}\n      {...props}\n    />\n  );\n}\n\n/** Keys pressed together, e.g. ⌘ + K. */\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"span\">) {\n  return (\n    <span\n      data-slot=\"kbd-group\"\n      className={cn(\"inline-flex items-center gap-1\", className)}\n      {...props}\n    />\n  );\n}\n\nexport { Kbd, KbdGroup };\n",
      "type": "registry:ui"
    }
  ],
  "categories": [
    "data-display"
  ],
  "type": "registry:ui"
}
