odysseyui

GitHub Stars Button

Buttons

About

A button that links to a GitHub repository and animates in its live star count, filling a star icon and firing a small particle burst when the count finishes counting up.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds GitHub Stars Button to your project and fits it to your theme.

Code

How GitHub Stars Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  GitHubStarsButton,
  type GitHubStarsButtonProps,
} from "@/components/ui/components-buttons-github-stars";

interface GitHubStarsButtonDemoProps {
  variant?: GitHubStarsButtonProps["variant"];
  size?: GitHubStarsButtonProps["size"];
}

export default function GitHubStarsButtonDemo({
  variant = "default",
  size = "default",
}: GitHubStarsButtonDemoProps) {
  return (
    <GitHubStarsButton
      variant={variant}
      size={size}
      username="shr3kx"
      repo="odysseyui"
    />
  );
}

Dependencies

More by odysseyui

View all
  • AI Orb Avatar

    AI Orb Avatar

    317
  • Thought Chain

    Thought Chain

    170
  • Pricing 6

    Pricing 6

    96
  • Greeting Preloader

    Greeting Preloader

    53
  • Liquid Button

    Liquid Button

    29
  • Typewriter

    Typewriter

    8

More in Buttons

View all
  • Button

    Button

    172
  • Texture Button

    Texture Button

    122
  • Button

    Button

    22
  • Button

    Button

    89
  • Button Group

    Button Group

    1
  • Button Group

    Button Group

    6
  • Button

    Button

    54
  • Native Button

    Native Button

    17