Form

A WordPress contact form block without a plugin: fields, validation, delivery and a success message, all inside the theme. Submissions post to the theme’s own REST endpoint and arrive by email.

In the editor

  • Fields — one per line: Label :: type :: required. Types: text, email, tel, url, textarea, number.
  • Send to — empty uses the site admin address.
  • Email subject, the button label, the success message, and small print under the button.

Worth knowing

  • Requests are nonce-protected and validated server-side; required fields and types are enforced where it counts, not just in the browser.
  • The contact section accepts any form shortcode too, so Contact Form 7 or another plugin can take over when a project outgrows this — nothing about the theme assumes this block.
  • Fewer fields, more submissions. Name, email, message is a complete contact form.

See it

Rendered with every option set on the block library · part of the 43 blocks · used throughout client builds.