HTML embed
<div data-form-id="FORM_UUID"></div>
<script src="https://www.muxforms.com/embed.js" defer></script>
React
import { MuxForm } from "@muxforms/react";
export function ContactForm() {
return <MuxForm formId="FORM_UUID" />;
}JSON schema
{
"name": "Vendor application",
"project": "Operations",
"fields": [
{
"name": "company",
"label": "Company",
"type": "text",
"required": true,
"placeholder": "Acme Inc."
},
{
"name": "email",
"label": "Work email",
"type": "email",
"required": true,
"placeholder": "alex@company.com"
},
{
"name": "category",
"label": "Category",
"type": "select",
"required": true,
"options": [
"Software",
"Hardware",
"Services",
"Other"
]
},
{
"name": "capabilities",
"label": "What do you provide?",
"type": "textarea",
"required": true
},
{
"name": "terms",
"label": "I agree to vendor terms on file",
"type": "consent",
"required": true
}
]
}