Embed guide

Embed a YeetForm in Framer

Framer's Embed component runs raw HTML and JavaScript inside a page, which is all the YeetForm SDK needs to render a live form. Paste the auto-resizing snippet, resize the component to fill its container, and publish — the form loads with its own layout and grows or shrinks to fit its content automatically, no fixed height guesswork required.

Steps

1

Insert an Embed component

In the Framer canvas, open Insert (the + icon), go to Code, and choose Embed. Drop it onto the page where the form should sit.

2

Paste the HTML

Open the Embed component's settings and paste the snippet below into the HTML field. It loads the SDK and renders the form with auto-resizing.

<script src="https://yeetform.io/sdk.js"></script>
<div id="my-form"></div>
<script>
  YeetForm.embed("your-form-slug", "#my-form");
</script>
3

Set sizing and publish

Set the component's width to Fill or a fixed value and its height to Auto or Fit content, then publish the site — embeds render live only after publishing, not always in canvas preview.

Tips

  • Auto-resize comes from YeetForm.embed(), which listens for a height message from the form iframe — set the component height to Auto so it doesn't clip.
  • The embedded form drops YeetForm's own header and background, so it reads as part of your Framer page rather than a separate widget.
  • Add a hidden field to the form and prefill it from the URL (?utm_source=... or ?field_id=value) to track which Framer page or campaign a response came from.

Build your form with AI in seconds

Free plan includes AI generation, logic and embedding.

Build your form with AI in seconds

FAQ

Does the Framer Embed component require a paid plan?+
No. The Embed component is part of Framer's core toolkit and is available on the free plan as well as paid site plans.
Why doesn't the form show up in Framer's canvas preview?+
Framer's editor canvas doesn't always execute embedded scripts the way a published page does. Use Preview mode or publish the site to confirm the form renders.
Can I make the form width responsive?+
Yes — set the Embed component's width to Fill or a percentage, and the form's own layout will adapt to the available space.
Does embedding cost extra on YeetForm?+
No, embedding is included on every YeetForm plan, including free. Free-plan forms show a small 'Powered by YeetForm' footer, removed on paid plans.