Set up embeds in the dashboard first. See Embedding forms in the dashboard.
Rendering the form embed Component
Popular form providers & embed codes
HubSpot forms
Mailchimp signup forms
Google forms
Calendly
Best practices
Performance tip: Lazy-load heavy embeds using Intersection Observer to avoid impacting page load.
Security considerations
- Validate embed sources and limit to trusted domains.
- Enforce HTTPS for all embeds.
- Update your Content Security Policy (CSP) to allow the provider domains.
- Sanitize HTML output when rendering raw embed code.
Accessibility
- Ensure embedded forms include labels and instructions.
- Test keyboard navigation and screen reader behavior.
- Verify color contrast for embedded form UI elements.