ValyroUI Русская версия

Tournament Bracket

Tournament bracket: single and double elimination, series scores, winner, team path, monograms. Pro · Games › Tournaments and patches

A playoff bracket, single or double elimination: rounds side by side with connectors from each match to the one it feeds, the upper and lower brackets and the grand final, series scores and winners, live and upcoming matches with their start time, and a team's whole path lit up on hover. Teams without a logo get a monogram. The layout is computed, not measured, so it renders on the server; narrow screens scroll it sideways inside the panel.

Installation

npx valyro-cli@latest login
npx valyro-cli@latest add tournament-bracket
npm install valyro-ui-pro

import 'valyro-ui-pro/styles.css';
import { TournamentBracket } from 'valyro-ui-pro';

Props

PropTypeDefault
teams *EsportsTeam[]Teams or players.
matches *EsportsMatch[]Matches with their round (0 = first) and index inside it. Lower-bracket and grand-final matches (bracket: 'lower' | 'grand') make it a double-elimination bracket; a thirdPlace match goes under the final.
roundNamesstring[]Round names of the upper (or only) bracket instead of Final, Semifinals, Round N (index 0 = first round).
lowerRoundNamesstring[]Round names of the lower bracket.
onMatchClick(match: EsportsMatch) => voidMakes matches buttons, e.g. to open the match page.
highlightTeamstringTeam whose path is highlighted (the pointer highlights the team under it).
titleReactNodeHeading. Default: labels.title.
subtitleReactNodeLine under the heading: dates, format, prize pool.
headingLevel2 | 3 | 4 | 53Level of the heading; rounds go one level below (default 3).
timeZonestringIANA time zone of match times (default: the ThemeProvider's, then the reader's).
localestringBCP 47 locale for numbers and dates; defaults to the ThemeProvider's.
labelsPartial<TournamentBracketLabels>Overrides for the built-in English text; keys left out keep their defaults.

Related components

  • Patch Notes — Patch notes: champions and items with ability icons, before → after, buffs, nerfs and changes, filters
  • Tier List — S+…D tier list: portraits with role badges, role filter, drag with mouse, touch or keyboard, export
  • Meta Table — Meta table: tier, win, pick and ban rates with patch-over-patch change, role and rank filters, virtualized
  • Matchup Matrix — Counterpicks: champion-vs-champion heat matrix with tooltips, pick your champion, a list on phones

Previous: Matchup Matrix · Next: Patch Notes · All Games