Skip to the page

Components

Games card

Games and their results, under the teams they belong to.

Example

Who's in the World Series?

The Milwaukee Brewers (MIL) and the Tampa Bay Rays (TB) are in the World Series, and the Brewers lead it 2–0.

Dugout looked up the 2026 World Series.

Milwaukee Brewers (MIL)2 wins
Tampa Bay Rays (TB)0 wins

The first team to win four games wins the World Series.

GameDateResult
Game 1Oct 23Brewers 3, Rays 2
Game 2Oct 24Brewers 5, Rays 4
Game 3Oct 26In Tampa Bay

The results come from the MLB Stats API, as of October 24.

When it's used

Dugout uses it when the answer is a list of games: one postseason series, or one team's games by opponent or by month.

Rules

  • The number at the end of each banner is a series' wins, or a team's record.
  • A series lists every game with the winner first, then the next game. A team's games are grouped, and up to 20 games every group starts open.

Tokens

In code: GamesCard in src/ds/components/GamesCard

Tokens
TokenWhat it sets
--ds-row-min-heightEach row's least height.
--ds-touch-targetEach group's row, which opens it.