GitHub Stars Button
A clickable button that links to a GitHub repository and displays the number of stars.
Made by imskyleenInstallation
Usage
API Reference
GitHubStarsButton
Animate UI API Reference - Button PrimitiveProp | Type | Default |
---|---|---|
content | string | - |
copied? | boolean | - |
onCopiedChange? | (copied: boolean, content?: string) => void | - |
delay? | number | 3000 |
variant? | "default" | "accent" | "outline" | "ghost" | default |
size? | "default" | "sm" | "lg" | default |
hoverScale? | number | 1.05 |
tapScale? | number | 0.95 |
...props? | HTMLMotionProps<"button"> | - |
Credits
- Credit to shadcn/ui for style inspiration.