Skip to content
Documentation

Connect Framer forms to email

Add a contact form to your Framer page with a Code Component. Its standard HTML form sends directly to GlueForms, without a separate mail server.

Connect the form

  1. In GlueForms, open Forms, choose your form and copy its receiving URL. Select it above, or replace YOUR_FORM_URL in the example.

  2. Open Assets, choose Code, then Create Code File. Name the file GlueFormsContact.tsx and replace its content with this exported React component.

React
import * as React from 'react';

export default function GlueFormsContact() {
  return (
    <form action="YOUR_FORM_URL" method="POST" style={{ display: 'grid', gap: 16, width: '100%' }}>
      <label>
        Name
        <input name="name" autoComplete="name" />
      </label>
      <label>
        Email
        <input name="email" type="email" autoComplete="email" required />
      </label>
      <label>
        Message
        <textarea name="message" rows={4} required></textarea>
      </label>
      <button type="submit">Send message</button>
    </form>
  );
}

  1. Insert GlueFormsContact on the canvas, adjust its width and publish the page.

This setup uses a native HTML POST, not Framer’s Send To → Webhook destination.

A native submission opens the GlueForms JSON receipt in the browser. Use JavaScript to show a confirmation on your own page.

Publish the page and submit a message. Open it in GlueForms to check the field names, saved content and email notification.

Official documentation: Framer Code Components, Framer webhooks.