{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "github-stars", "title": "GitHub Stars", "author": "ramanak ", "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\"\r\nimport {\r\n Tooltip,\r\n TooltipContent,\r\n TooltipTrigger,\r\n} from \"@/components/ui/tooltip\"\r\n\r\ntype GitHubStarsProps = {\r\n repo: string\r\n stargazersCount: number\r\n}\r\n\r\nexport function GitHubStars({ repo, stargazersCount }: GitHubStarsProps) {\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n \r\n {new Intl.NumberFormat(\"en-US\").format(stargazersCount)} stars\r\n \r\n \r\n )\r\n}\r\n", "type": "registry:component" } ], "type": "registry:component" }