{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kbd",
  "title": "Kbd",
  "description": "Renders keyboard key appearance.",
  "files": [
    {
      "path": "registry/new-york/ui/kbd.tsx",
      "content": "import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nconst Kbd = React.forwardRef<HTMLElement, React.ComponentProps<\"kbd\">>(\n  function Kbd({ className, ...props }, ref) {\n    return (\n      <kbd\n        className={cn(\n          \"pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm bg-muted px-1 font-medium font-mono text-muted-foreground text-xs tabular-nums\",\n          \"[&_svg:not([class*='size-'])]:size-3\",\n          \"in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10\",\n          className\n        )}\n        data-slot=\"kbd\"\n        ref={ref}\n        {...props}\n      />\n    );\n  }\n);\n\nconst KbdGroup = React.forwardRef<HTMLDivElement, React.ComponentProps<\"div\">>(\n  function KbdGroup({ className, ...props }, ref) {\n    return (\n      <div\n        className={cn(\n          \"inline-flex touch-manipulation items-center gap-1\",\n          className\n        )}\n        data-slot=\"kbd-group\"\n        ref={ref}\n        {...props}\n      />\n    );\n  }\n);\n\nexport { Kbd, KbdGroup };\n",
      "type": "registry:ui"
    }
  ],
  "docs": "https://ui.shadcn.com/docs/components/kbd?utm_source=hextaui&utm_medium=referral&utm_campaign=component-docs&ref=hextaui.com",
  "categories": [
    "component"
  ],
  "type": "registry:ui"
}