Business & Agency

Responsive Contact Form

A clean, accessible general contact form with Name, Email, Subject, Message, and an invisible honeypot spam trap.

<form action="https://www.submitdrop.com/api/f/YOUR_FORM_ID" method="POST" class="max-w-lg mx-auto space-y-4 p-6 bg-slate-900 border border-slate-800 rounded-2xl text-white">
  <div>
    <h3 class="text-xl font-bold">Contact Us</h3>
    <p class="text-sm text-slate-400">We usually reply within one business day.</p>
  </div>
  <div>
    <label for="name" class="block text-xs font-medium text-slate-300 mb-1">Full Name *</label>
    <input id="name" type="text" name="name" required placeholder="Alex Rivera" class="w-full px-3.5 py-2.5 rounded-lg bg-slate-950 border border-slate-800 text-sm text-white" />
  </div>
  <div>
    <label for="email" class="block text-xs font-medium text-slate-300 mb-1">Email Address *</label>
    <input id="email" type="email" name="email" required placeholder="alex@company.com" class="w-full px-3.5 py-2.5 rounded-lg bg-slate-950 border border-slate-800 text-sm text-white" />
  </div>
  <div>
    <label for="subject" class="block text-xs font-medium text-slate-300 mb-1">Subject</label>
    <input id="subject" type="text" name="subject" placeholder="How can we help?" class="w-full px-3.5 py-2.5 rounded-lg bg-slate-950 border border-slate-800 text-sm text-white" />
  </div>
  <div>
    <label for="message" class="block text-xs font-medium text-slate-300 mb-1">Message *</label>
    <textarea id="message" name="message" rows="4" required placeholder="Tell us about your project..." class="w-full px-3.5 py-2.5 rounded-lg bg-slate-950 border border-slate-800 text-sm text-white"></textarea>
  </div>
  <input type="text" name="_gotcha" class="hidden" tabindex="-1" autocomplete="off" />
  <input type="hidden" name="_next" value="https://yoursite.com/thank-you" />
  <button type="submit" class="w-full py-2.5 px-4 rounded-lg bg-cyan-500 hover:bg-cyan-400 text-slate-950 font-semibold text-sm transition">
    Send Message
  </button>
</form>

Included Form Fields

  • Full Name (name)Required
  • Email Address (email)Required
  • Subject (subject)Optional
  • Message (message)Required
  • _gotcha (Invisible Honeypot)Built-in

Best Use Cases

  • Portfolio contact pages
  • SaaS marketing websites
  • Small business sites on Astro, Hugo, or Next.js
Get Your Free Form ID (250 Leads/mo)

Frequently Asked Questions

Can I reply directly to visitors who submit this contact form?

Yes. SubmitDrop automatically sets the Reply-To email header to the visitor email field so replying in Gmail goes straight to them.

More Form Templates