splitforms.com

Waitlist · Next.js

Waitlist for Next.js

Pre-launch capture form with optional referral source. Free for 500 submissions a month — no backend, no SDK, no plugin.

  • 500 free a month
  • 3 fields ready
  • 60-second setup
Waitlist for Next.js — copy-paste form code

Copy-paste code

Drop into any Next.js project.

Replace YOUR_ACCESS_KEY with your splitforms key, paste into a Next.js page, and ship. No build-time integration required.

Form.tsx
'use client';

import { useEffect, useState, type FormEvent } from 'react';

export default function WaitlistForm() {
  const [status, setStatus] = useState<'idle' | 'sending' | 'sent' | 'error'>('idle');

  // splitforms tracker (drop-off analytics + partial leads), loaded once. It
  // finds the form by data-sf-key and adds a hidden sf_sid field to it.
  useEffect(() => {
    const src = 'https://splitforms.com/embed.js';
    if (document.querySelector(`script[src="${src}"]`)) return;
    const script = document.createElement('script');
    script.src = src;
    script.async = true;
    document.body.appendChild(script);
  }, []);

  async function onSubmit(e: FormEvent<HTMLFormElement>) {
    e.preventDefault();
    setStatus('sending');

    // Capture the form now: React clears e.currentTarget once the handler
    // yields at the first await, so calling e.currentTarget.reset() later throws.
    const form = e.currentTarget;
    const data = new FormData(form);
    data.set('access_key', 'YOUR_ACCESS_KEY');
    data.set('subject', 'New waitlist signup');

    const res = await fetch('https://splitforms.com/api/submit', {
      method: 'POST',
      body: data,
      headers: { Accept: 'application/json' },
    });

    const json = await res.json();
    if (json.success && json.payment_url) {
      // Payment form: finish the payment on the secure Stripe page.
      window.location.href = json.payment_url;
      return;
    }
    setStatus(json.success ? 'sent' : 'error');
    if (json.success) form.reset();
  }

  if (status === 'sent') return <p>Thanks — we&rsquo;ll be in touch.</p>;

  return (
    <form data-sf-key="YOUR_ACCESS_KEY" onSubmit={onSubmit}>
      <label htmlFor="email">Email *</label>
      <input id="email" type="email" name="email" placeholder="you@example.com" required />
      <label htmlFor="name">Name</label>
      <input id="name" type="text" name="name" placeholder="Optional" />
      <label htmlFor="referral">How did you hear about us?</label>
      <select id="referral" name="referral">
        <option value="">Choose…</option>
        <option>Twitter</option>
        <option>Friend</option>
        <option>Search</option>
        <option>Newsletter</option>
        <option>Other</option>
      </select>

      <button type="submit" disabled={status === 'sending'}>
        {status === 'sending' ? 'Sending…' : 'Send'}
      </button>

      {status === 'error' && <p>Something went wrong. Try again.</p>}
    </form>
  );
}

Next.js + Waitlist

Built for Next.js developers who hate operating a backend.

Next.js Server Actions handle the submit side but still leave you wiring SMTP, spam filtering, file uploads, and a dashboard. splitforms replaces all of that with one fetch('/api/submit') call. The waitlist works identically in App Router and Pages Router — it's just a FormData POST, no router-specific magic. Because Next.js pre-renders pages, the form HTML is in the DOM before any JavaScript executes, meaning instant Time-to-Interactive. The honeypot field is invisible to users but catches bots that scrape rendered HTML — especially important for Next.js sites where the form HTML is statically generated and predictable.

  • 500 form submissions a month, free to start
  • Unlimited forms on every plan, including Free
  • Spam protection — honeypot plus a rule-based filter
splitforms as the form backend for Next.js

Waitlist fields

What every field actually does.

The posted payload contains email, name, how did you hear about us?. Required fields are email. Rename, remove, or add your own — splitforms accepts any name you POST.

  • Email — Reply-to address — splitforms wires this so hitting reply goes back to the sender.
  • Name — Greeting + dashboard label so submissions don't all read 'anonymous'.
  • How did you hear about us? — Dropdown — keeps responses normalised so you can filter the dashboard.
waitlist fields in the splitforms dashboard

Template playbook

The reason this waitlist exists.

Waitlists are the cheapest growth tool a pre-launch product has — Superhuman, Notion, and Linear all built sizable waitlists before paid launch. The form captures email plus a question or two on use case ('what would you use this for?', 'what tools do you use today?') so the launch sequence segments by intent. Multi-step flow boosts completion vs a single form — the prospect commits in step 1 and answers the qualifying questions in step 2-3 with momentum. Push waitlist signups to a dedicated ESP audience (Loops, ConvertKit, Beehiiv) so launch-day emails segment by use case and target the highest-intent signups first.

  • Step 1: capture email
  • Step 2-3: qualify use case
  • Push to ESP segment
Waitlist playbook for Next.js

Setup

Generate, embed, receive.

Three actions stand between you and your first waitlist submission — no backend, no database, no CAPTCHA library.

  1. Generate a free splitforms key

    Sign in at splitforms.com — your access key is created instantly. No credit card, no setup wizard, no SDK to install.

  2. Paste the waitlist into your Next.js project

    Drop the form snippet into a Next.js page, component, or layout. Replace YOUR_ACCESS_KEY with the key from your dashboard. The form action is a hard-coded URL — no env vars or build-time wiring needed.

  3. Receive submissions

    Dashboard updates live on Free. Free includes owner email delivery; paid plans add signed webhooks, CSV export, Slack/Discord forwarding, and BCC to your team.

Common questions

Waitlist on Next.js — answered.

Anything missing? Email us, we read every message.

A person reading answers to common questions
Does this waitlist work on Next.js?

Yes. The form is plain HTML with a single POST endpoint, so it runs on any Next.js site without server-side code, plugins, or SDKs. Drop the snippet into a Next.js page or component and submissions land in your splitforms dashboard.

How much does the waitlist cost on Next.js?

Free for 500 submissions — no credit card, no time limit. Pro is $5/mo for 5,000 submissions a month, and Annual is $49/year for 15,000 submissions a month. The same pricing applies regardless of which framework hosts the form.

Can I customize the fields?

Yes. The template ships with sensible defaults (email, name, how did you hear about us?…) — add, remove, or rename any of them. Splitforms accepts whatever fields you POST.

How does spam protection work on the waitlist?

A hidden honeypot field catches dumb bots, and a rule-based filter scores the rest; anything that looks like spam goes to a separate Spam tab instead of your inbox. No CAPTCHA, no friction for human users — and it works the same on Next.js as on any other framework.

Can I send the waitlist submissions to Slack or Discord?

Yes. Webhooks are available on paid plans, with auto-formatted payloads for Slack, Discord, and WhatsApp (via CallMeBot). Or send raw signed JSON to any URL — Zapier, n8n, your own server. Configure in the splitforms dashboard.

Will it work on a static Next.js site?

Yes — the form posts directly to splitforms from the browser, so no server is involved. Works on Vercel, Netlify, GitHub Pages, Cloudflare Pages, S3, or any plain Apache host.

Show 3 more questions
Should I show waitlist position / numbers?

Showing 'you're #347 in line' on the confirmation creates social proof but invites comparison. Showing total waitlist size ('join 2,500 people on the waitlist') without per-person position is the safer middle. Refer-a-friend mechanics that move people up the list (Robinhood-style) drive viral growth but require more eng work.

How do I trigger launch invites in waves?

Tag waitlist signups by use case in the ESP audience (Loops, ConvertKit). Launch-day, segment by tag and send invite waves over 48-72 hours. Highest-intent / closest-fit goes first; broadest casts go last. Spreads server load and lets you triage onboarding support.

Can I integrate with Loops / ConvertKit / Beehiiv?

Yes — webhook the JSON. Loops has direct webhook support and is purpose-built for product transactional + waitlist email. ConvertKit and Beehiiv accept via API or Zapier. All three handle the launch-sequence segmentation cleanly.

View all FAQs

Ship a waitlist on Next.js in 60 seconds.

500 submissions a month, free to start. No credit card. Copy the snippet above and paste it into your Next.js project.

  • No credit card required
  • 500 free submissions
  • Setup in minutes
Two people celebrating a working contact form