BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/mrdoge-ui/match-card-compact

Match Card Compact

mrdoge-ui/match-card-compact
FreeComponent

Minimal match row: overlapping crests plus a label, no score/status/odds.

Install it

npx shadcn@latest add https://mrdoge.co/r/match-card-compact.json

Source

registry/mrdoge-ui/match-card-compact/match-card-compact.tsxmrdoge.co/r/match-card-compact.json
1import { cn } from "@/lib/utils"
2import { EntityImage } from "@/registry/mrdoge-ui/entity-image/entity-image"
3
4export interface MatchCardCompactTeam {
5 name: string
6 logoUrl?: string
7}
8
9export interface MatchCardCompactProps {
10 home: MatchCardCompactTeam
11 away: MatchCardCompactTeam
12 /** Shown next to the crests. Defaults to "home vs away". */
13 label?: string
14 /**
15 * Shown right-aligned, e.g. a score. Takes priority over `kickoff` when
16 * both are set, so a live score can override the date once one exists.
17 */
18 info?: string
19 /** Formatted and shown right-aligned when `info` isn't set, e.g. "Aug 9". No time-of-day or "today" special-casing — this is a compact identifier row, not the primary place a match's kickoff lives (that's Match Card / Match Highlight's job). */
20 kickoff?: Date | string
21 className?: string
22}
23
24function formatKickoff(kickoff: Date | string) {
25 const date = typeof kickoff === "string" ? new Date(kickoff) : kickoff
26 return date.toLocaleDateString(undefined, { month: "short", day: "numeric" })
27}
28
29/**
30 * A minimal match row: overlapping crests plus a label, no
31 * score/status/odds. Deliberately lighter than Match Card, for contexts
32 * that just need to identify a match at a glance: a dropdown item, a
33 * group header. See Bet Slip's `BetSlipMatchGroup` and Match Highlight's
34 * competition dropdown.
35 */
36export function MatchCardCompact({ home, away, label, info, kickoff, className }: MatchCardCompactProps) {
37 const trailing = info ?? (kickoff ? formatKickoff(kickoff) : undefined)
38 return (
39 <div className={cn("flex items-center gap-2", className)}>
40 <div className="flex shrink-0 gap-2">
41 <EntityImage src={home.logoUrl} name={home.name} size="sm" />
42 <EntityImage src={away.logoUrl} name={away.name} size="sm" />
43 </div>
44 <span className="min-w-0 flex-1 truncate text-sm font-medium">{label ?? `${home.name} vs ${away.name}`}</span>
45 {trailing ? <span className="shrink-0 text-xs tabular-nums text-muted-foreground">{trailing}</span> : null}
46 </div>
47 )
48}

What it pulls in

Other registry items

  • entity-image

Files it writes

  • registry/mrdoge-ui/match-card-compact/match-card-compact.tsx

Facts

Registry
mrdoge-ui
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

mrdoge.co mrdogeco/docs on GitHub Raw registry item This item as JSON

More from mrdoge-ui

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Bet Slipbet-slipmrdoge-uiComponentsFreeno deps
Entity Imageentity-imagemrdoge-uiComponentsFreeno deps
Match Cardmatch-cardmrdoge-uiComponentsFreeno deps · 3 files
Match Highlightmatch-highlightmrdoge-uiComponentsFreeno deps · 2 files
Match Timelinematch-timelinemrdoge-uiComponentsFreeno deps
Odds Selectorodds-selectormrdoge-uiComponentsFreeno deps · 2 files
Stats Liststats-listmrdoge-uiComponentsFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex