Ready-to-use contact form templates powered by JS2Mail — the form backend built for AI-generated sites.
No server required. Paste your form ID, open in a browser, done.
| # | Name | Stack | Form style |
|---|---|---|---|
| 01-saas-landing | SaaS Landing Page | Tailwind CDN | Standard POST + redirect |
| 02-bento-portfolio | Bento Portfolio | Tailwind CDN | AJAX + toast |
| 03-bootstrap-contact | Bootstrap Contact Page | Bootstrap 5 CDN | AJAX + inline alert |
1. Sign up at https://js2mail.dev (free, takes 30 seconds)
2. Connect any mailbox (SMTP, Gmail, or Outlook)
3. Create a Form Endpoint → copy the public ID
Open index.html in your chosen example and replace YOUR_FORM_ID:
<form action="https://js2mail.dev/f/YOUR_FORM_ID" method="POST">No build step. No npm install. Works on any static host (GitHub Pages, Vercel, Netlify, S3, Cloudflare Pages).
Form options (hidden fields)
Add these anywhere inside your <form> to customise behaviour:
| Field | Effect |
|---|---|
<input type="hidden" name="redirect_url" value="https://…"> |
Redirect after submit instead of JSON |
<input type="text" name="_honey" style="display:none"> |
Honeypot — JS2Mail auto-discards filled submissions |
These templates are designed to drop into AI-generated sites from Lovable, v0, Bolt, or any other AI builder.
If you built something with JS2Mail, submit a PR! We'd love to showcase it.
Contributing: copy an existing folder, tweak the design, update the README, and open a pull request.
MIT — use freely in personal and commercial projects.