TBX Docs
Customisation

Overview

Customise your textbook

Configure your textbook's appearance and behaviour:

  • Book configsrc/book/bookConfig.json: title, type, language, page ratio, and custom book-wide values
  • BookProvider — Runtime props: language, sidebar width, page ratio; theme colors via CSS
  • Styling — CSS, Tailwind, and exercise styling
  • Hotspot icons — Override overlay icons for static, multimedia, and interactive hotspots
  • Language — Localisation and language options for exercises
  • Exercise feedback — Sounds, notifications, and other actions on check success or failure
  • Password protection — Optional HTTP Basic Auth on Vercel deployments
  • Visual feedback — Optional third-party feedback widget on Vercel deployments