{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "button-star-count",
  "title": "Star button with count",
  "description": "Star button with count, built from the button component.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/patterns/button-star-count/button-star-count.tsx",
      "content": "/**\n * Star button with count - adapted for tealmac UI from the ReUI example \"c-button-38\"\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\"\n\nexport function ButtonStarCount() {\n  return (\n    <Button className=\"pe-0\" variant=\"outline\">\n      <StarIcon aria-hidden=\"true\" />\n      Star\n      <span className=\"text-muted-foreground before:bg-border relative ms-1 px-2 text-xs font-medium before:absolute before:inset-0 before:start-0 before:w-px\">\n        589\n      </span>\n    </Button>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}