{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kbd",
  "title": "KBD",
  "description": "Styles keyboard key hints and key groups.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/kbd.tsx",
      "content": "import { cn } from \"@/registry/lib/utils\";\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n  return (\n    <kbd\n      className={cn(\n        \"bg-muted text-muted-foreground pointer-events-none inline-flex h-4 w-fit min-w-4 items-center justify-center gap-1 rounded-md px-1 font-sans text-xs font-medium select-none\",\n        \"[&_svg:not([class*='size-'])]:size-3\",\n        \"in-data-[slot=tooltip-content]:bg-primary/50 in-data-[slot=tooltip-content]:text-primary-foreground dark:in-data-[slot=tooltip-content]:text-foreground\",\n        className,\n      )}\n      data-slot=\"kbd\"\n      {...props}\n    />\n  );\n}\n\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <kbd\n      className={cn(\"inline-flex items-center gap-1\", className)}\n      data-slot=\"kbd-group\"\n      {...props}\n    />\n  );\n}\n\nexport { Kbd, KbdGroup };\n",
      "type": "registry:ui"
    }
  ],
  "type": "registry:ui"
}