Components/Components
GitHub Stars
Displays a GitHub repo star count with server-side fetching and tooltips.
githubstarsstats
Preview
Installation
npx shadcn@latest add @grootstudio/github-starsUsage
1
Import the component
2
Use like this
Props
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| repo | string | - | Repository path (owner/repo) | |
| label | string | - | Label to display | |
| className | string | - | Optional Class name to style the component |
Dependencies
lucide-react