How to Embed a Booking Calendar on Your Website
Add an Onbookr booking calendar to any website with one script tag, or use the React component. Setup steps, theme options, and the checks to run first.

A booking link sends visitors away from your site. An embedded calendar keeps them on the page, looking at your work while they pick a time. For most service businesses, that difference shows up directly in completed bookings. Here is how to embed an Onbookr booking calendar, and what to check before you tell clients it is there.
One script tag, any website
Onbookr's embed works with a single script tag and one element placed where you want the calendar to appear. There is no API key to configure and no domain whitelist to maintain, so the same embed code works on your live site, a staging copy, and a local test page. Paste the snippet into an HTML block in WordPress, a custom code section in Squarespace or Wix, an embed element in Webflow, or any page where you can add raw HTML.
If your site is built with React or Next.js, the @onbookr/react package gives you a typed component instead, with props for your username, theme, and accent color. Either route loads the same live availability, so a slot a client books on your site disappears everywhere else at once.
Match the calendar to your page
The widget supports light, dark, and automatic themes, plus a custom accent color. Automatic follows the visitor's own device setting, which is usually the right choice for a site that already supports dark mode. Set the accent color to your brand color so the available slots and confirmation button feel like part of your page rather than a bolted-on frame.
Give the embed room to breathe. A calendar squeezed into a narrow sidebar forces scrolling and hides the time slots. A full-width section on a dedicated booking page, or directly under your services list, converts better because the visitor sees the times without hunting.
Decide where the embed goes and where the link stays
The embed belongs on pages where someone has already decided they want you: your homepage's booking section, your services page, your contact page. The plain booking link still earns its place in your Instagram bio, WhatsApp messages, email signature, and Google Business Profile, where there is no page to embed into. Think of the link as the invitation and the embed as the front door.
Test it like a client, on a phone
Before you announce the page, book a real appointment through the embedded calendar on your phone. Check that the service names, durations, and prices read clearly at mobile width, that the confirmation email arrives, and that the slot you booked is gone from the calendar when you reload. Then cancel or reschedule the test booking from the manage link so your availability is clean.
Also test the edges: a day with no availability, a fully booked week, and the moment your Google Calendar sync blocks a slot because you added a personal appointment. Those are the states clients will actually hit, and each one should look intentional.
An embedded calendar is not a redesign project. It is an afternoon: paste the snippet, match the colors, test one booking, and your website finally takes appointments while you work.