Small screens
A swipeable bracket on phones, or the whole tree with scroll, fit, or pan and zoom.
Below compactBelow (640px by default) the bracket pages through one round at a time. The width that counts is the container's, not the window's, so a bracket in a sidebar or a modal adapts too.
The paged bracket
Quarterfinals
- Falcons2Cobras3
- Lynx4Orcas3
- Wolves1Bison0
- HeronsRavens
Semifinals
- CobrasLynx
- WolvesTBD
Final
- TBDTBD
Quarterfinals
- Falcons2Cobras3
- Lynx4Orcas3
- Wolves1Bison0
- HeronsRavens
Semifinals
- CobrasLynx
- WolvesTBD
Final
- TBDTBD
With compact="bracket" (the default), the round in focus stacks tightly and the next round peeks in with its connector lines. Swipe or tap a round and every match glides into place. Swiping past the first or last round meets a soft rubber-band resistance.
compact="list" shows each round as a plain list of matches instead.
<Bracket stage={stage} /> // swipeable bracket
<Bracket stage={stage} compact="list" /> // swipeable lists
<Bracket stage={stage} compactBelow={480} /> // switch at a different widthThe whole tree, on any screen
Set compactBelow={0} to always show the full tree, then choose how it fits with mode:
Round 1
- Falcons2Vipers3
- Cobras4Hawks3
- Lynx1Sharks0
- Orcas1Pumas0
- Wolves2Moose0
- BisonOtters
- HeronsOwls
- RavensCranes
Quarterfinals
- VipersCobras
- LynxOrcas
- WolvesTBD
- TBDTBD
Semifinals
- TBDTBD
- TBDTBD
Final
- TBDTBD
mode | Behaviour |
|---|---|
'scroll' (default) | Native horizontal scrolling. |
'fit' | Scaled down to fit the width available. Best for previews and dashboards. |
'pan-zoom' | Drag, pinch, or Ctrl/⌘ + scroll to zoom, with zoom buttons. Panning stops at the edges. |
<Bracket stage={stage} compactBelow={0} mode="pan-zoom" />In pan-zoom mode, minScale, maxScale and controls are available on <Bracket.Viewport>.