A simple library to display tournament brackets (round-robin, single elimination, double elimination)
It contains all the logic needed to display tournaments.
- Supports translation (i18next)
- Full vanilla JS (no framework)
- A full working example of creating and displaying brackets (see
- Themes supported, with CSS variables (see
How to use?
Import the library from npm using jsDelivr (you can replace
@latest to lock a specific version):
Or from GitHub with (you can replace
@master by any branch name, tag name or commit id):
To quickly test, you can also try the demos by visiting
json-server, you can:
Run the npm script named
dbto serve the static database file
npm run db
Or use directly the
db.jsonfile generated by unit tests in the
npx json-server --watch path/to/brackets-manager/db.json
This library has been created to be used by the Nantarena.
It has been inspired by: