{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "github-stars", "type": "registry:component", "title": "GitHub Stars", "author": "ncdai ", "description": "Display GitHub repository star count with formatted numbers and a tooltip showing the full count.", "registryDependencies": [ "button", "tooltip" ], "files": [ { "path": "src/registry/github-stars/github-stars.tsx", "content": "import { Button } from \"@/components/ui/button\";\nimport {\n Tooltip,\n TooltipContent,\n TooltipTrigger,\n} from \"@/components/ui/tooltip\";\n\ntype GitHubStarsProps = {\n repo: string;\n stargazersCount: number;\n};\n\nexport function GitHubStars({ repo, stargazersCount }: GitHubStarsProps) {\n return (\n \n \n \n \n\n \n {new Intl.NumberFormat(\"en-US\").format(stargazersCount)} stars\n \n \n );\n}\n", "type": "registry:component" } ] }