{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kbd",
  "title": "Kbd",
  "author": "@fma-ui/ui",
  "description": "Displays a keyboard key or shortcut (e.g. ⌘K) inline, styled as a small pill. KbdGroup lays out several keys side by side for combos like ⌘+Shift+P.",
  "dependencies": [
    "cn@^0.4.0",
    "react-aria-components@^1.21.1"
  ],
  "files": [
    {
      "path": "src/core/kbd/kbd.tsx",
      "content": "import { cn } from \"cn\";\nimport { Keyboard as KbdPrimitive } from \"react-aria-components\";\n\nfunction Kbd({ className, ...props }: React.ComponentProps<\"kbd\">) {\n  return (\n    <KbdPrimitive\n      data-slot=\"kbd\"\n      className={cn(\n        \"pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3\",\n        className,\n      )}\n      {...props}\n    />\n  );\n}\n\nfunction KbdGroup({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <KbdPrimitive\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:component",
      "target": "components/fma-ui/kbd.tsx"
    }
  ],
  "meta": {
    "status": "stable",
    "source": "shadcn",
    "origin": "shadcn/ui, style: aria-nova (base: react-aria-components)",
    "tags": [
      "data-display",
      "keyboard",
      "react-aria"
    ]
  },
  "categories": [
    "data-display"
  ],
  "type": "registry:ui"
}