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
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add jumbotronOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { Jumbotron } from "@/components/ui/jumbotron"; <Jumbotron title="BIGBULL CUP" home="BULLS" away="BEARS" score={[3, 2]} />Source code
jumbotron.tsx + 1 helperZero 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 ( <divProps
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { Jumbotron } from "@/components/ui/jumbotron"; <Jumbotron />| Prop | Type | Description |
|---|---|---|
| title | string | Primary heading or title text. |
| home | string | Configures home. |
| away | string | Configures away. |
| score | [number, number] | Configures score. |
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |