GitHub Stars
Display GitHub repo star count with formatted numbers and full-count tooltip.
Loading...
Installation
pnpm dlx shadcn@latest add https://jb.desishub.com/r/github-stars.json
Usage
import { GitHubStars } from "@/components/github-stars";<GitHubStars repo="MUKE-coder/jb" stargazersCount={1560} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
repo | string | - | GitHub repository in owner/repo format. |
stargazersCount | number | - | Number of stars to display. |
locales | Intl.LocalesArgument | "en-US" | Locales for number formatting. |

