Skip to content
Skillpedia
Websites & UI (frontend)7.6k · #13198

embeds

What it does

This skill explains how to place a scheduling page on any website in three styles, with a code snippet and theme options. It is for developers adding booking to their own site.

When to use it

  • ✓When you want a booking page to appear inside another website.
  • ✓When you want a popup or floating button that opens a booking page.
  • ✓When you need to match the embedded booking page to your brand colors.

Skill link

https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/embeds/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/packages/scheduling/docs/skills/embeds/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Put a booking button on my website that opens my meeting page in a popup.”

5 new skills a week. 1 minute to read.

How it works

The skill gives a short script snippet and a container for the chosen style. Settings added to the embed link control the theme, color, language, and time zone for that session.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

<script src="https://<host>/embed.js" async></script>
<div id="cal-inline-embed"></div>
<script>
  Cal("init", { origin: "https://<host>" });
  Cal("inline", {
    elementOrSelector: "#cal-inline-embed",
    calLink: "my-user/intro",
    config: { theme: "light" }
  });
</script>

Theming

Query params on the embed URL:

  • theme=light|dark
  • primaryColor=<hex>
  • 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.

FAQ

Which embed styles are available?

Inline, popup, and floating button.

Can I change the colors of the embedded page?

Yes. A primary color and theme can be set using settings on the embed link.

How does the embed tell my page about bookings?

The embedded page sends messages to the parent page on events such as a successful booking.

Details

Original description by the author

Inline, popup, and floating-button embeds — snippet generation and theming.

repo: BuilderIO/agent-native

Popularity

GitHub stars
7.6k
Ranking position
#13198
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills