{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "icon-key",
  "title": "Icon key",
  "description": "A square keycap for a single icon: copy, close, toolbar actions. It must be given an aria-label, and is secondary by default so a row of them stays quiet.",
  "dependencies": [],
  "registryDependencies": [
    "https://bevel-ui.vercel.app/r/bevel.json",
    "https://bevel-ui.vercel.app/r/key.json"
  ],
  "files": [
    {
      "path": "registry/bevel/ui/icon-key.tsx",
      "content": "\"use client\"\n\nimport { Key, type KeyProps } from \"@/components/ui/key\"\n\ntype IconKeyProps = Omit<KeyProps, \"square\"> & {\n  /** An icon-only key has no visible text, so it must be named. */\n  \"aria-label\": string\n}\n\n/**\n * A square keycap for one icon: toolbars, copy and close buttons. Secondary\n * by default, so a row of them stays quiet beside a primary key.\n */\nfunction IconKey({ variant = \"secondary\", ...props }: IconKeyProps) {\n  return <Key variant={variant} square {...props} />\n}\n\nexport { IconKey }\nexport type { IconKeyProps }\n",
      "type": "registry:ui"
    }
  ],
  "categories": [
    "essentials"
  ],
  "type": "registry:ui"
}