IBracketCompetitorProps

interface
Component Props

Props for <OrigamBracketCompetitor> — a single competitor row. Carries the full cross-cutting surface (color, bgColor, rounded, elevation, border, density, dimension, padding, margin) so a standalone row behaves like any other origam component.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

competitor
required
IBracketCompetitor | null
The competitor payload. null renders a "TBD" placeholder for undetermined participants.
score
number | string
Optional score — accepts string for non-numeric markers.
isWinner
boolean
false
Applies the --winner modifier class (bolder text, intent-tinted background).
isLoser
boolean
false
Marks the losing side — used to lighten the row when the match is completed.
showScore
boolean
true
Toggle the score column.
showSeed
boolean
false
Toggle the seed prefix.
interactive
boolean
true
Whether the row advertises interactivity (hover state, cursor).
advantageRounds
number
Head-start in rounds/sets — renders a +N badge next to the name (Grand Final advantage).
forfeit
boolean
Marks this competitor as having forfeited — name is struck through and a "forfeit" tag is shown.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Standalone competitor row

html