Componentdata0.57 KB gzipZero dependencies

Match Ticker

Live match ticker with scrolling scores and LIVE badges.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add match-ticker

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { MatchTicker } from "@/components/ui/match-ticker"; <MatchTicker />

Source code

match-ticker.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxmatch-ticker.tsx44 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface MatchTickerEntry {  id: string;  home: string;  away: string;  homeScore: number;  awayScore: number;  live?: boolean;} export interface MatchTickerProps extends React.HTMLAttributes<HTMLDivElement> {  matches: MatchTickerEntry[];} 

Props

PropTypeDescription
matchesMatchTickerEntry[]Configures matches. (Default: [])