Embed Demos

See how RapidForm embeds work in practice. Every form below is a live, working embed.

Read the full embedding documentation →

Recommended

Inline - Script Tag

One line of code. The form appears right where you place the script tag.

<script src="https://rapidform.co/embed.js" data-form="YOUR-FORM-SLUG"></script>

Button - Opens Modal

A styled button that opens the form in a centered modal popup. Matches your form's theme color.

<script src="https://rapidform.co/embed.js" data-form="YOUR-FORM-SLUG" data-mode="button" data-label="Contact Us" data-color="#2563eb"></script>

Link - Opens Modal

A text link that opens the form in a modal. Inherits the parent's text style, or defaults to blue.

<script src="https://rapidform.co/embed.js" data-form="YOUR-FORM-SLUG" data-mode="link" data-label="Report it here" data-color="#e11d48"></script>

Have a question?

Found a bug?

Custom Styled Trigger

Pass your own classes or inline styles to fully control the look of the button or link.

<script src="https://rapidform.co/embed.js" data-form="YOUR-FORM-SLUG" data-mode="button" data-label="Contact Us" class="your-classes"></script>

JavaScript API

Open any form programmatically with RapidForm.open('slug'). Trigger from any event.

<button onclick="RapidForm.open('YOUR-FORM-SLUG', {'full-name': 'Jane Doe', 'email-address': '[email protected]'})">Open Form</button>

Manual Iframe

Standard iframe embed for maximum control. No auto-resize unless you add the resize listener.

<iframe src="https://rapidform.co/embed/YOUR-FORM-SLUG" width="100%" height="600" frameborder="0"></iframe>

Ready to build your own?

Create your first form in 60 seconds. Free plan, no credit card.