Third-party service embed component. Translates a service slug + URL into the right embed code (iframe, script, or HTML). Falls back to raw HTML/iframe via service: "custom".
Third-party service embed component. Translates a service slug + URL into the right embed code (iframe, script, or HTML). Falls back to raw HTML/iframe via service: "custom".
Booking — calendly, cal. Payments — stripe, gumroad, kofi. Forms — typeform, tally, jotform. Newsletters — mailchimp, convertkit, beehiiv. Audio — spotify, soundcloud, podcast (Apple Podcasts). Social — instagram, twitter (X), tiktok. Chat — crisp, intercom, tidio. Calendar — googleCalendar. Other — custom.
| Prop | Notes |
|---|---|
service | Slug (see above). Drives transformation of url → embed markup. |
url | The user-facing URL (Calendly link, Spotify track URL, …). The component parses what it needs from this. |
code | Used when service: "custom" — raw HTML/iframe/script. |
className, root | Standard. |
ROOT.props.inject.head/footer — site-wide third-party scripts (analytics, chat widgets that need global mounting).spotify/soundcloud/podcast is preferred over Audio.top access may need inject rather than Embed.