{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "kbd-example", "title": "Kbd", "registryDependencies": [ "button", "input-group", "kbd", "tooltip", "example" ], "files": [ { "path": "registry/radix-vega/examples/kbd-example.tsx", "content": "import {\n Example,\n ExampleWrapper,\n} from \"@/registry/radix-vega/components/example\"\nimport { Button } from \"@/registry/radix-vega/ui/button\"\nimport {\n InputGroup,\n InputGroupAddon,\n InputGroupInput,\n} from \"@/registry/radix-vega/ui/input-group\"\nimport { Kbd, KbdGroup } from \"@/registry/radix-vega/ui/kbd\"\nimport {\n Tooltip,\n TooltipContent,\n TooltipTrigger,\n} from \"@/registry/radix-vega/ui/tooltip\"\nimport { IconPlaceholder } from \"@/app/(create)/components/icon-placeholder\"\n\nexport default function KbdExample() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nfunction KbdBasic() {\n return (\n \n
\n Ctrl\n ⌘K\n Ctrl + B\n
\n
\n )\n}\n\nfunction KbdModifierKeys() {\n return (\n \n
\n \n C\n
\n
\n )\n}\n\nfunction KbdGroupExample() {\n return (\n \n \n Ctrl\n Shift\n P\n \n \n )\n}\n\nfunction KbdArrowKeys() {\n return (\n \n
\n \n \n \n \n
\n
\n )\n}\n\nfunction KbdWithIcons() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nfunction KbdWithIconsAndText() {\n return (\n \n \n \n \n Left\n \n \n \n Voice Enabled\n \n \n \n )\n}\n\nfunction KbdInInputGroup() {\n return (\n \n \n \n \n Space\n \n \n \n )\n}\n\nfunction KbdInTooltip() {\n return (\n \n \n \n \n \n \n
\n Save Changes S\n
\n
\n
\n
\n )\n}\n\nfunction KbdWithSamp() {\n return (\n \n \n File\n \n \n )\n}\n", "type": "registry:example" } ], "type": "registry:example" }