{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "kbd",
  "title": "Kbd",
  "description": "Astro keyboard key labels for shortcuts and instructions.",
  "dependencies": [
    "cn"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "packages/ui/src/components/ui/kbd/index.ts",
      "content": "export { default as Kbd } from \"./kbd.astro\"\nexport { default as KbdGroup } from \"./kbd-group.astro\"\n",
      "type": "registry:file",
      "target": "~/src/components/ui/kbd/index.ts"
    },
    {
      "path": "packages/ui/src/components/ui/kbd/kbd-group.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"cn\"\n\ntype Props = HTMLAttributes<\"div\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<div data-slot=\"kbd-group\" class={cn(\"inline-flex items-center gap-1\", className)} {...props}>\n  <slot />\n</div>\n",
      "type": "registry:file",
      "target": "~/src/components/ui/kbd/kbd-group.astro"
    },
    {
      "path": "packages/ui/src/components/ui/kbd/kbd.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\n\nimport { cn } from \"cn\"\n\ntype Props = HTMLAttributes<\"kbd\">\n\nconst { class: className, ...props } = Astro.props\n---\n\n<kbd data-slot=\"kbd\" class={cn(\"pointer-events-none inline-flex h-5 min-w-5 select-none items-center justify-center gap-1 rounded-[.25rem] bg-muted px-1 font-medium font-sans text-muted-foreground text-xs [&_svg:not([class*='size-'])]:size-3\", className)} {...props}>\n  <slot />\n</kbd>\n",
      "type": "registry:file",
      "target": "~/src/components/ui/kbd/kbd.astro"
    }
  ],
  "meta": {
    "framework": "astro",
    "source": "@gnostic/ui",
    "testedDependencies": {
      "cn": "0.5.2"
    }
  },
  "docs": "https://ui.gnosticai.com/components/kbd",
  "categories": [
    "ui"
  ],
  "type": "registry:ui"
}
