Theming
Restyle the booking widget from props — accents, radius, and custom backgrounds.
theme, accent and radius restyle the widget without forking it. Each becomes
a URL parameter the widget reads, so changes are instant — no rebuild, no CSS from
you.
Accent
accent takes a named accent (graphite, neptune, sage, sand) or a raw
hex. It drives buttons, the selected day, and highlights.
Radius
radius takes a named size (sharp, soft, round) or a pixel number — match
it to your product's corners.
Custom background
theme takes dark, light, or any hex background. Pass a hex and the kit
derives a full palette from it — surfaces, text and borders all tuned to that
color — so the widget blends into your brand instead of sitting on a flat card.
The palette is derived by luminance: a dark hex yields a dark theme, a light hex a light one. Keep the background on-brand and the rest follows.
Locale
lang forces the UI locale (BCP-47-ish); English is the fallback. The widget
translates its own copy, so you ship no strings.
<BookingCalendar id={id} lang="pt-BR" />