Contact form guides
The integration is the same everywhere: point your form's action at W3Forms. These guides show the exact markup for each stack.
Plain HTML
Static sitesCopy-paste HTML contact form code that sends every message to your email. Works on any website or static host, with spam protection. No PHP or server.
React
ReactBuild a client-side React contact form with fetch and JSON that works with Vite, CRA and any SPA. Submissions go to your inbox, no backend code.
Next.js
React / Next.jsAdd a working contact form to the Next.js 15 App Router without a route handler or server action. Free, with email notifications and spam protection.
Vue
VueBuild a Vue 3 Composition API contact form that posts straight to W3Forms, no custom API needed. Get submissions by email and in a dashboard.
SvelteKit
SvelteAdd a SvelteKit contact form that submits to W3Forms from the browser, no +server.ts required. Free, with email notifications and spam protection.
Astro
AstroAdd a zero-JS contact form to an Astro static site with no SSR adapter or API endpoint. Submissions arrive by email, with spam protection built in.
Webflow
No-codeCollect Webflow form submissions outside Webflow's plan limits. Point your form at W3Forms for email notifications, spam protection and a dashboard.
Framer
No-codeEmbed a working contact form in a Framer site with W3Forms and keep submissions under your control, with email notifications and spam protection.
Prefer interactive helpers? Try the free form tools.