{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "kbd", "title": "Kbd", "description": "A keyboard-shortcut hint chip for surfacing shortcuts next to actions", "dependencies": ["clsx", "tailwind-merge"], "files": [ { "path": "src/registry/thornberry/components/kbd.tsx", "content": "import { cn } from \"@/lib/utils\";\n\nimport type { ComponentProps } from \"react\";\n\n/**\n * Keyboard-shortcut hint. Renders a `` chip used to surface a shortcut next\n * to an action (e.g. a \"C\" badge on a Create button, or in a tooltip/menu).\n */\nconst Kbd = ({ className, ...rest }: ComponentProps<\"kbd\">) => (\n \n);\n\nexport { Kbd };\n", "type": "registry:ui" }, { "path": "src/lib/utils.ts", "content": "import { clsx } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nimport type { ClassValue } from \"clsx\";\n\nexport const cn = (...inputs: ClassValue[]) => {\n return twMerge(clsx(inputs));\n};\n", "type": "registry:lib", "target": "" } ], "type": "registry:ui" }