MuxForms on plain HTML is a div with data-form-id plus embed.js from muxforms.com. Allow your site origin in the dashboard; the script fetches the schema and POSTs submissions—no PHP, Formspree, or custom backend on the host.
Docs
A static `contact.html` only needs your form UUID, the embed snippet, and the production origin on the allowlist.
| Step | Action |
|---|---|
| 1 | Copy FORM_UUID from dashboard |
| 2 | Allow https://your-domain.com |
| 3 | Paste div + script before </body> |
| 4 | Deploy any static host |
Replace FORM_UUID. Serve over HTTPS in production so the allowlist matches what users see in the address bar.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Contact</title>
</head>
<body>
<h1>Contact us</h1>
<div data-form-id="FORM_UUID"></div>
<script src="https://www.muxforms.com/embed.js" defer></script>
</body>
</html>Add http://localhost:5173 (or your dev port) to the allowlist while building. Remove or keep it for internal demos.
Related: Website embed reference.
Ship contact.html today; add Next.js or Astro later on the same MuxForms account.
Upgrade to Pro