Booking Links
Embed Booking Links to your website
You can now copy a piece of code, paste it into your website, and voila, your Booking Link is embedded into your website. Your visitors can now book you directly from your website.
How to embed a Booking Link to your website?
- Open the Booking Links page on the dashboard
- Click the three dots icon on the Booking Link you want to embed on your website.
- Click 'Embed'


Embed booking link option - Copy the provided code.


UI enabling a private link - Paste the code into your website's HTML.
How to embed your booking link with a specific theme?
- Open the 'Embed Booking Link' dialog as described above.
- Under 'UI Theme', choose 'Default', 'Light', or 'Dark'.


UI Theme selector in the Embed Booking Link dialog - Click 'Copy' to copy the Embed Code for the selected theme.
- Paste the code into your website's HTML.
The selected theme is added to the booking page URL as a ui_theme query parameter:
| UI Theme | ui_theme value | Booking page appearance |
|---|---|---|
| Default | None | Follows the visitor's own preference: their OneCal appearance setting if they have one, otherwise their device's light or dark setting. |
| Light | light | Always light, whatever the visitor's settings are. |
| Dark | dark | Always dark, whatever the visitor's settings are. |
For example, this Embed Code shows your booking page in dark mode:
<iframe width="100%" height="600" src="https://app.onecal.io/b/your-username/your-link?ui_theme=dark" frameborder="0" style="color-scheme: light"></iframe>
Choosing 'Light' or 'Dark' only changes how your booking page looks. It doesn't change the visitor's saved OneCal appearance preference.
Good To Know
You can add ui_theme by hand to an embed code that is already on your website. Add ?ui_theme=light or ?ui_theme=dark to the end of the booking link URL in the src attribute. If the URL already has query parameters, add &ui_theme=... instead of ?ui_theme=.... Only light and dark are recognized. Any other value is ignored, and the page uses 'Default'.
The parameter also works on a plain booking link. For example, https://app.onecal.io/b/your-username/your-link?ui_theme=dark opens your booking page in dark mode.
Booking links with a theme
A booking link with a theme from the appearance editor sets every color itself, so it looks the same in light and dark mode. For such a link the UI Theme setting does not apply, and ui_theme is ignored. See Custom Branding.
Transparent page backgrounds
If your theme has a transparent page background, the iframe in your embed code needs style="color-scheme: light". Without it, a dark theme shows a solid dark box instead of your website behind it. Older embed codes don't include it. Copy the embed code again, or add the attribute to the iframe by hand.