React and Next.js component

A component with the same behaviour as the HTML form.

Copy the component into your project and render it where the form belongs. It sends the same data as the HTML version.

  • Needs nothing beyond React.
  • In Next.js, use it in a client component (it has state and a form handler).
  • Your key is public by design, so it is fine in browser code. It can only add leads.

Something missing or unclear? Tell us and we will fix this page.