FormForkUse CasesNext.js, React & Static Sites

The zero-maintenance form backend for Next.js and static sites

Deploying on Vercel, Netlify, Cloudflare Pages, or GitHub Pages? Skip setting up database tables, multipart parsers, and email SDKs just to handle a contact or application form. Keep your frontend 100% static and let FormFork handle the backend.

0 Packages
NPM Dependencies Needed
Uses native browser fetch() or HTML form POST
Edge Ready
Works on Any Static Host
Vercel, Cloudflare, Netlify, GitHub Pages, S3
< 2 Min
Integration Time
Drop in your endpoint URL or ff_pub_ token
Interactive Workbench · Live Simulation & Copyable Snippets

Test Next.js, React & Static Sites right in your browser

Interact with the live simulation on the left and copy the production-ready integration code on the right.

Live Endpoint Ingestion Simulator

POST https://formfork.io/f/demo_endpoint

CORS Enabled
'use client';
import { useState } from 'react';

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

  async function onSubmit(e: React.FormEvent<HTMLFormElement>) {
    e.preventDefault();
    setStatus('sending');
    const res = await fetch('https://formfork.io/f/your_form_id', {
      method: 'POST',
      body: new FormData(e.currentTarget),
      headers: { Accept: 'application/json' },
    });
    if (res.ok) setStatus('sent');
  }

  return (
    <form onSubmit={onSubmit}>
      <input name="email" type="email" required placeholder="you@company.com" />
      <input name="_gotcha" style={{ display: 'none' }} tabIndex={-1} />
      <button type="submit">{status === 'sent' ? 'Sent!' : 'Submit'}</button>
    </form>
  );
}
Zero client SDK required · Standard HTTPS / JSONFull API Docs →
Architectural Breakdown · Production Capabilities

How FormFork powers next.js, react & static sites

01.

No Server Actions or Database Boilerplate Required

Keep your Next.js, Astro, or Vite site purely static. Send form submissions directly from the browser to FormFork with full CORS support and instant JSON confirmation.

100% Static Export Compatible (output: "export")
02.

Native File Uploads Without S3 Presigned URLs

Accept PDFs, images, and zip attachments directly from a standard FormData object without building presigned S3 upload routes.

Automatic Multipart File Ingestion
03.

Server-Side Fetching for Dynamic Admin Views

Building a custom internal dashboard in Next.js? Query GET /api/submissions from a React Server Component using your ff_live_ API key.

SSR & RSC Compatible REST API
04.

Domain Whitelisting & Bot Protection

Lock your endpoints to your production and preview domains so your client-side forms stay protected against automated curl spam.

Production & Preview Domain Verification
Side-by-Side Matrix · Technical Verification

Why engineering teams standardize on FormFork

Capability / RequirementFormForkLegacy Form Tools
Works with Static Exports (Next.js output: export)✓ 100% compatibleCompatible
Multipart File Uploads without S3 Setup✓ Included + Google Drive syncRequires paid add-on
GET Submissions API for Server Components✓ Full JSON + files[] metadataLimited or rate-capped
Auto-Provision Forms from Client Code✓ Yes via ff_pub_ tokenNo
Technical FAQ · Answers for Developers & Teams

Frequently asked questions about Next.js, React & Static Sites

Yes. Because the browser posts directly to FormFork over HTTPS with CORS enabled, your host only needs to serve static HTML/JS files.