Animate UI

GitHub Stars Button

A clickable button that links to a GitHub repository and displays the number of stars.

Made by imskyleen
Edit on GitHub

Installation

Usage

<GitHubStarsButton username="imskyleen" repo="animate-ui" />

API Reference

GitHubStarsButton

Animate UI API Reference - Button Primitive
PropTypeDefault
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

Built by Skyleen. The source code is available on GitHub.