HomeDocsComponentsBlocksChartsThemes
Introduction
  • Introduction
  • Installation
  • Themes
  • Artwork
  • llms.txt
Components
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Upload
  • Form Guide
  • Hover Card
  • Icon Tile
  • Image Export
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • League Table
  • Marquee
  • Match Score
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Phone Input
  • Popover
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sortable
  • Spinner
  • Stat
  • Stat Tabs
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
AI
  • Message Scroller
  • Message
  • Bubble
  • Marker
  • Attachment
  • Questionnaire
  • Composer
  • Reasoning
  • Tool Call
  • Approval Card
  • Citations
Blocks
  • Airtable
  • Airtable Kanban
  • ClickUp List
  • ClickUp Kanban
  • Repeatable Group
  • Command Palette
  • Sign In and Sign Up
  • Availability Scheduler
  • AI Chat
  • Action Bar
  • Notion
  • Banking
  • Lineup Builder
  • Sports Score
  • Standings
  • Strava
  • Sheets
  • Notices
  • Settings
  • Billing
Templates
  • Sign In Page
  • Upload Page
  • Agreement Sign
  • Email
  • Email Composer
  • Share Dialog
  • Integrations
  • Transactions
  • Analytics
Utilities
  • motion
  • sounds
  • scroll-fade
  • shimmer
Another UI. Built on shadcn/ui with Phosphor icons.

Match Score

PreviousNext

The pieces of a football scoreline. Team crests, match status, the live minute, red cards, the score and a one line match row.

Base UIReact AriaRadix UI
TottenhamWDWWW
2-167'
ArsenalWWWWW
45+2'HTFTPPCAN

Installation#

pnpm dlx shadcn@latest add https://anotherui.dev/r/match-score.json

Usage#

import { MatchRow, MatchScore, MatchStatus, TeamCrest } from "@/components/ui/match-score"
<div className="@container divide-y">
  <MatchRow asChild home={{ name: "Tottenham", crest: spurs }} away={{ name: "Arsenal", crest: arsenal }}
    homeScore={2} awayScore={1} state="live" minute={67} reds={[0, 1]}>
    <Link href="/matches/tot-ars" />
  </MatchRow>
</div>

Parts#

  • TeamCrest. An image URL or any element, at xs to xl. Logos keep their own shape and are never cropped into a circle. With no crest it shows the team's initials.
  • MatchStatus. FT, HT, PP, CAN, or the live minute in green. Nothing before kick-off.
  • LiveMinute. A pulsing dot and the minute, for a match header.
  • RedCards and CardIcon. Small cards for sendings off and bookings.
  • MatchScore. "2 - 1" with each number popping in when it changes and red cards above it. Before kick-off it shows kickoff.
  • MatchRow. A match on one line. In a narrow @container the teams stack with the goals on the right. Renders a button, or its child with asChild, such as a link.
MarqueeMenubar

On This Page

InstallationUsageParts