{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "button-group-active-count",
  "title": "Active state button group with count",
  "description": "Active state button group with count, built from the button group component.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "button-group"
  ],
  "files": [
    {
      "path": "registry/patterns/button-group-active-count/button-group-active-count.tsx",
      "content": "/**\n * Active state button group with count - adapted for tealmac UI from the ReUI example \"c-button-group-30\"\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 { StarIcon } from \"lucide-react\"\n\nimport { Button } from \"@/components/ui/button\"\nimport { ButtonGroup, ButtonGroupText } from \"@/components/ui/button-group\"\n\nexport function ButtonGroupActiveCount() {\n  return (\n    <ButtonGroup>\n      <Button\n        size=\"sm\"\n        variant=\"default\"\n        aria-label=\"Following 2.4k\"\n        className=\"border-primary\"\n      >\n        <StarIcon />\n        Star\n      </Button>\n      <ButtonGroupText className=\"border-primary\">2.4k</ButtonGroupText>\n    </ButtonGroup>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}