{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kbd",
  "title": "Kbd",
  "description": "Keyboard key hint styled with the ai2 mono font and surface tokens. Use for shortcuts and command hints.",
  "registryDependencies": [
    "@ai2/tokens"
  ],
  "files": [
    {
      "path": "registry/ai2/ui/kbd.tsx",
      "content": "import type * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n  return (\n    <kbd\n      data-slot=\"kbd\"\n      className={cn(\n        \"pointer-events-none inline-flex h-5 min-w-5 select-none items-center justify-center gap-1 rounded-[0.3rem] border border-border bg-surface-2 px-1.5 font-mono text-[0.7rem] font-medium text-muted-foreground shadow-[0_1px_0_1px_var(--border)] [&_svg]:size-3 [&_svg]:shrink-0 [&_i]:text-xs [&_i]:leading-none\",\n        className\n      )}\n      {...props}\n    />\n  )\n}\n\nexport { Kbd }\n",
      "type": "registry:ui"
    }
  ],
  "docs": "Combine multiple Kbd elements for chords, e.g. Ctrl + K.",
  "categories": [
    "display"
  ],
  "type": "registry:ui"
}