f0rextasy

Score Keeper

Component

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>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    5
  • Board Checklist

    Board Checklist

    3
  • Time Input

    Time Input

    3
  • Running Order Timeline

    Running Order Timeline

    2
  • Network Graph

    Network Graph

    2
  • Empty State Card

    Empty State Card

    1
  • Invite Modal

    Invite Modal

    1
  • Striped Progress Bar

    Striped Progress Bar

    1