{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "kbd", "title": "Kbd", "description": "Inline keyboard shortcut display for showing key combinations and hotkeys.", "files": [ { "path": "packages/ui/src/kbd.tsx", "content": "\"use client\";\n\nimport type * as React from \"react\";\nimport { cn } from \"./utils\";\n\n// =============================================================================\n// Kbd\n// =============================================================================\nexport interface KbdProps extends React.ComponentProps<\"kbd\"> {\n /**\n * Optional additional className for the kbd\n */\n className?: string;\n}\n\nexport const Kbd = ({\n className,\n ref,\n ...props\n}: KbdProps & React.RefAttributes) => {\n return (\n \n );\n};\nKbd.displayName = \"Kbd\";\n\n// =============================================================================\n// KbdGroup\n// =============================================================================\nexport interface KbdGroupProps extends React.ComponentProps<\"div\"> {\n /**\n * Optional additional className for the kbd group\n */\n className?: string;\n}\n\nexport const KbdGroup = ({\n className,\n ref,\n ...props\n}: KbdGroupProps & React.RefAttributes) => (\n \n);\nKbdGroup.displayName = \"KbdGroup\";\n", "type": "registry:ui" } ], "type": "registry:ui" }