{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "button-group-12",
  "type": "registry:component",
  "title": "ButtonGroup 12",
  "description": "ButtonGroup 12. A group of buttons that are displayed together.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "components/watermelon/button-group-12.tsx",
      "type": "registry:component",
      "content": "import type { LucideIcon } from 'lucide-react';\nimport {\n  FolderKanbanIcon,\n  SlidersHorizontalIcon,\n  SparklesIcon,\n} from 'lucide-react';\n\nimport { Button } from '@/components/base-ui/button';\n\ntype ActionButton = {\n  icon: LucideIcon;\n  label: string;\n};\n\nconst actions: readonly ActionButton[] = [\n  { icon: SlidersHorizontalIcon, label: 'Controls' },\n  { icon: FolderKanbanIcon, label: 'Projects' },\n  { icon: SparklesIcon, label: 'Insights' },\n] as const;\n\nconst ButtonGroup12 = () => {\n  return (\n    <div className=\"bg-muted/20 inline-flex w-fit rounded-md p-1 ring-1 ring-border/70 dark:bg-muted/40 dark:ring-border/60 rtl:space-x-reverse\">\n      {actions.map((action, index) => {\n        const Icon = action.icon;\n        const isFirst = index === 0;\n        const isLast = index === actions.length - 1;\n\n        return (\n          <Button\n            key={action.label}\n            variant=\"ghost\"\n            className={[\n              'h-7 gap-1.5 rounded-none px-2.5 text-[0.8rem] text-muted-foreground hover:bg-transparent! hover:text-foreground focus-visible:z-10 dark:text-muted-foreground dark:hover:bg-transparent! dark:hover:text-foreground sm:h-8 sm:gap-2 sm:px-3 sm:text-sm',\n              isFirst ? 'rounded-l-md' : '',\n              isLast ? 'rounded-r-md' : '',\n            ].join(' ')}\n          >\n            <Icon className=\"size-3.5 sm:size-4\" />\n            {action.label}\n          </Button>\n        );\n      })}\n    </div>\n  );\n};\n\nexport default ButtonGroup12;\n"
    }
  ]
}
