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.
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
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Tournament Bracket”, insert it. Category: Interactive.
- Configure inspector controls that exist on this block. Open Bracket Setup. Set “Bracket size”, “Team”, “Round”, “Winner label”.
- 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
| Control | What the code does |
|---|---|
| Bracket size | Select 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`. |
| Team | Text field in the inspector. |
| Round | Text field in the inspector. |
| Winner label | Text field in the inspector. block.json default: 🏆 Champion. Saved as `winnerLabel`. |
| Show bracket title | On/off toggle in the inspector. On by default. Saved as `showTitle`. |
| Show round labels | On/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 — Background | Color control in the inspector. block.json default: #f8fafc. Saved as `bgColor`. |
| Accent | Color control in the inspector. block.json default: #f59e0b. Saved as `accentColor`. |
| Colors — Title | Color control in the inspector. block.json default: #0f172a. Saved as `titleColor`. |
| Match border | Color control in the inspector. block.json default: #cbd5e1. Saved as `matchBorderColor`. |
| Match background | Color control in the inspector. block.json default: #ffffff. Saved as `matchBg`. |
| Team text | Color control in the inspector. block.json default: #334155. Saved as `teamColor`. |
| Winner background | Color control in the inspector. block.json default: #fef9c3. Saved as `winnerBg`. |
| Winner text | Color control in the inspector. block.json default: #713f12. Saved as `winnerColor`. |
| Winner border | Color control in the inspector. block.json default: #fbbf24. Saved as `winnerBorderColor`. |
| Loser text | Color control in the inspector. block.json default: #cbd5e1. Saved as `loserColor`. |
| Connector lines | Color control in the inspector. block.json default: #cbd5e1. Saved as `connectorColor`. |
| Champion bg | Color control in the inspector. block.json default: #fffbeb. Saved as `championBg`. |
| Champion border | Color control in the inspector. block.json default: #f59e0b. Saved as `championBorderColor`. |
| Champion text | Color control in the inspector. block.json default: #92400e. Saved as `championColor`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts, data-rendered.
When this is the right block
- Visual single-elimination tournament or playoff bracket with clickable winner selection — that is the job of Tournament Bracket, not a generic content block.
- Use it when you need the editor control labeled “Bracket size”, which exists on this block’s inspector.
- It matches pages about bracket, tournament, playoff.
- Inserter grouping: quizzes, games, and click-to-reveal experiences.
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
2048 Game
The classic sliding-tile 2048 puzzle. Swipe or use arrow keys to merge tiles and reach the 2048 tile.
Analog Clock
A beautiful live analog clock rendered with SVG. Fully customizable: clock style, timezone, colors, size, and optional date/time labels.
Bingo Card
Interactive 5×5 Bingo card with number calling, win detection, and celebration animations.
Content Score
Visual content or SEO scoring card with circular gauge, color-coded criteria rows, and overall grade.
Dice Roller
Interactive dice roller supporting d4, d6, d8, d10, d12, d20 and d100. Roll multiple dice, see individual results, totals, and past roll history.
Drawing Canvas
A fully interactive freehand drawing canvas with multiple tools, undo, and download — right in your page.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Tournament Bracket from the Gutenberg inserter.