{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "kbd", "title": "Kbd", "description": "Compact keycaps and shortcut groups for keyboard commands and interaction hints.", "registryDependencies": [ "https://zeron-ui.vercel.app/r/surfaces.json", "utils", "https://zeron-ui.vercel.app/r/shape-context.json" ], "files": [ { "path": "src/components/ui/kbd.tsx", "content": "\"use client\";\n\nimport {\n forwardRef,\n type ComponentPropsWithoutRef,\n type HTMLAttributes,\n} from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport { useShape } from \"@/lib/shape-context\";\n\ntype KbdProps = ComponentPropsWithoutRef<\"kbd\">;\n\nconst Kbd = forwardRef(\n ({ className, style, ...props }, ref) => {\n const shape = useShape();\n\n return (\n \n );\n }\n);\n\nKbd.displayName = \"Kbd\";\n\ntype KbdGroupProps = HTMLAttributes;\n\nconst KbdGroup = forwardRef(\n ({ className, ...props }, ref) => (\n \n )\n);\n\nKbdGroup.displayName = \"KbdGroup\";\n\nexport { Kbd, KbdGroup };\nexport type { KbdProps, KbdGroupProps };\n", "type": "registry:ui", "target": "components/ui/kbd.tsx" } ], "type": "registry:ui" }