Interactive · Gutenberg

Tournament Bracket block for WordPress

Visual single-elimination tournament or playoff bracket with clickable winner selection.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Visual single-elimination tournament or playoff bracket with clickable winner selection.

Inspector panels on this block: Bracket Setup, Teams, Round Labels, Display. Those titles come from index.js, not from a shared template.

Behavior controls: “Bracket size” options: 4 Teams (2 rounds), 8 Teams (3 rounds), 16 Teams (4 rounds).

Where to find it

Gutenberg inserter → Interactive → search “Tournament Bracket” (block name `blockenberg/bracket` in block.json). Style it in the sidebar after insert.

How to use Tournament Bracket block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Tournament Bracket”, insert it. Category: Interactive.
  3. Configure inspector controls that exist on this block. Open Bracket Setup. Set “Bracket size”, “Team”, “Round”, “Winner label”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Bracket sizeSelect control; the chosen value is saved on the block. Options: 4 Teams (2 rounds); 8 Teams (3 rounds); 16 Teams (4 rounds). block.json default: 8. Saved as `bracketSize`.
TeamText field in the inspector.
RoundText field in the inspector.
Winner labelText field in the inspector. block.json default: 🏆 Champion. Saved as `winnerLabel`.
Show bracket titleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Show round labelsOn/off toggle in the inspector. On by default. Saved as `showRoundLabels`.
Border radius (px)Numeric range control in the inspector. Range 0–20. block.json default: 8. Saved as `borderRadius`.
Colors — BackgroundColor control in the inspector. block.json default: #f8fafc. Saved as `bgColor`.
AccentColor control in the inspector. block.json default: #f59e0b. Saved as `accentColor`.
Colors — TitleColor control in the inspector. block.json default: #0f172a. Saved as `titleColor`.
Match borderColor control in the inspector. block.json default: #cbd5e1. Saved as `matchBorderColor`.
Match backgroundColor control in the inspector. block.json default: #ffffff. Saved as `matchBg`.
Team textColor control in the inspector. block.json default: #334155. Saved as `teamColor`.
Winner backgroundColor control in the inspector. block.json default: #fef9c3. Saved as `winnerBg`.
Winner textColor control in the inspector. block.json default: #713f12. Saved as `winnerColor`.
Winner borderColor control in the inspector. block.json default: #fbbf24. Saved as `winnerBorderColor`.
Loser textColor control in the inspector. block.json default: #cbd5e1. Saved as `loserColor`.
Connector linesColor control in the inspector. block.json default: #cbd5e1. Saved as `connectorColor`.
Champion bgColor control in the inspector. block.json default: #fffbeb. Saved as `championBg`.
Champion borderColor control in the inspector. block.json default: #f59e0b. Saved as `championBorderColor`.
Champion textColor control in the inspector. block.json default: #92400e. Saved as `championColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Tournament Bracket block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Tournament Bracket”. It sits under Interactive. After insert, open Bracket Setup and set “Bracket size”, “Team”, “Round”, “Winner label”.

What makes Tournament Bracket different from other Blockenberg blocks?

Visual single-elimination tournament or playoff bracket with clickable winner selection. Inspector labels on this block include “Bracket size”, “Team”, “Round”, “Winner label”.

Is the Tournament Bracket Gutenberg block free?

Yes. Tournament Bracket ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Tournament Bracket to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Bracket Setup, Teams, Round Labels, Display).

Related interactive blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Tournament Bracket from the Gutenberg inserter.

Get Blockenberg