--- name: embeds description: Inline, popup, and floating-button embeds — snippet generation and theming. --- # Embeds ## Modes - **inline** — iframe embedded in the page - **popup** — trigger opens modal overlay with iframe - **element-click / floating-button** — fixed-position trigger anywhere on the page ## URL Embed page: `/:user/:slug/embed` — same Booker, no chrome, theme honored via query params. ## Snippet ```html
``` ## Theming Query params on the embed URL: - `theme=light|dark` - `primaryColor=` - `locale=en|es|...` - `timeZone=America/Los_Angeles` These override the event type's defaults for the embedded session only. ## Message passing The iframe posts messages to the parent on lifecycle events: `__cal.init`, `__cal.booking-successful`, `__cal.booking-cancelled`, `__cal.booking-rescheduled`.