About
A live game scoreboard with a ticking clock, period handling, two team panels, play-by-play logging for scoring, fouls, timeouts, substitutions and turnovers, possession tracking, animated stats and a final state.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Sports Scoreboard to your project and fits it to your theme.
Code
How Sports Scoreboard is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
/**
* PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
*/
import { SportsScoreboard } from "@/components/ui/sports-scoreboard";
export default function SportsScoreboardDemo() {
return (
<main className="flex min-h-screen w-full items-center justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
<SportsScoreboard
home={{ name: "Tide Rovers", short: "ROV", record: "18 wins · 7 losses" }}
away={{ name: "Ember Foxes", short: "FOX", record: "16 wins · 9 losses" }}
initialHomeScore={58}
initialAwayScore={54}
initialHomeFouls={4}
initialAwayFouls={6}
initialPeriod={3}
initialClock={272}
periodSeconds={180}
totalPeriods={4}
title="Rovers vs Foxes · Game 26"
description="A tight third quarter. Run the clock, log the plays, and watch possession and momentum trade hands."
/>
</main>
);
}








