Componentnavigation0.41 KB gzipZero dependencies

Jumbotron

Oversized scoreboard with pixel-style mono type, scanline sweep and scoreboard slots for home and away.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

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

npx bigbullui add jumbotron

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { Jumbotron } from "@/components/ui/jumbotron"; <Jumbotron title="BIGBULL CUP" home="BULLS" away="BEARS" score={[3, 2]} />

Source code

jumbotron.tsx + 1 helper

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

tsxjumbotron.tsx40 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface JumbotronProps extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {  title?: string;  home?: string;  away?: string;  score?: [number, number];  className?: string;} export function Jumbotron({ title, home, away, score, className, ...props }: JumbotronProps) {  const [homeScore, awayScore] = score || [0, 0];   return (    <div

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { Jumbotron } from "@/components/ui/jumbotron"; <Jumbotron />
PropTypeDescription
titlestringPrimary heading or title text.
homestringConfigures home.
awaystringConfigures away.
score[number, number]Configures score.
classNamestringOptional Tailwind or custom CSS classes merged with component styles.