{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "button-group-file-attachment",
  "title": "Attachment button group with download action",
  "description": "Attachment button group with download action, built from the button group component.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "button-group"
  ],
  "files": [
    {
      "path": "registry/patterns/button-group-file-attachment/button-group-file-attachment.tsx",
      "content": "/**\n * Attachment button group with download action - adapted for tealmac UI from the ReUI example \"c-button-group-56\"\n * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025\n * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.\n * Changes: tealmac UI import paths and theme tokens, lucide icons, logical\n * (RTL-safe) spacing and alignment, reduced-motion support and sample\n * content.\n */\nimport { DownloadIcon, PaperclipIcon } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { ButtonGroup } from \"@/components/ui/button-group\"\n\nconst attachment = {\n  name: \"Q4-Product-Roadmap.pdf\",\n  size: \"2.4 MB\",\n}\n\nexport function ButtonGroupFileAttachment() {\n  return (\n    <ButtonGroup>\n      <Button variant=\"outline\" size=\"xs\">\n        <PaperclipIcon aria-hidden=\"true\" />\n        {attachment.name}\n        <span className=\"opacity-60\">({attachment.size})</span>\n      </Button>\n      <Button variant=\"outline\" size=\"icon-xs\" aria-label=\"Download attachment\">\n        <DownloadIcon aria-hidden=\"true\" />\n      </Button>\n    </ButtonGroup>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}