About
A two-team score counter with increment/decrement buttons and a pulse animation when a score changes, for games, matches or quick tally tracking.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Score Keeper to your project and fits it to your theme.
Code
How Score Keeper is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ScoreKeeper from "@/components/ui/score-keeper";
export default function ScoreKeeperDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-background p-8">
<ScoreKeeper
teams={[
{ id: "team-a", name: "Team A", score: 2 },
{ id: "team-b", name: "Team B", score: 1 },
]}
/>
</div>
);
}








