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-stars

Usage

1

Import the component

2

Use like this

Props

PropTypeDefaultRequiredDescription
repo
string
-Repository path (owner/repo)
label
string
-Label to display
className
string
-Optional Class name to style the component

Dependencies

lucide-react