This is a live demo of assets/js/mailform.js, a contact form built on the Fetch API and nothing else. Point mailform.endpoint in config/site.yaml at any service that accepts a JSON POST — a function URL, a worker, a form relay — and the build injects it here.

Until you configure one, submitting shows a "no endpoint configured" notice instead of sending anything.

All fields are required.