Booking / Appointment · React
Booking / Appointment for React
Time-slot booking with service selection — for salons, advisors, doctors. Free for 500 submissions a month — no backend, no SDK, no plugin.
- 500 free a month
- 6 fields ready
- 60-second setup

Overview
A booking form feels like the one React feature that has to have a backend — a route to accept the request, somewhere to keep it. It doesn't. Point a client component's <form action> at https://splitforms.com/api/submit, add a hidden access_key input, and the browser POSTs each request — name, service, preferred_date, time_slot — straight into your SplitForms dashboard. No /api/bookings route handler, no 'use server' action, and it still runs on a static export or GitHub Pages where server actions don't even exist. Reach for useState only when you want a live date/time picker; a plain form with named inputs already captures every booking.
Copy-paste code
Drop into any React project.
Replace YOUR_ACCESS_KEY with your splitforms key, paste into a React page, and ship. No build-time integration required.
React + Booking / Appointment
Built for React developers who hate operating a backend.
React ships nothing for form delivery — it's a view layer. The historical options are an Express server you stand up just for POST /api/contact, a Vercel serverless function with SMTP wiring, or a third-party library like Formik that still leaves the backend problem unsolved. The booking / appointment on this page uses useState for submit state and a plain fetch POST to splitforms — no form library, no context provider, no wrapper component. It works in Create React App, Vite, Remix, and every React bundler because it's just standard FormData and the Fetch API.
- 500 form submissions a month, free to start
- Unlimited forms on every plan, including Free
- Spam protection — honeypot plus a rule-based filter

Booking / Appointment fields
What every field actually does.
The posted payload contains full name, email, phone, service, preferred date, notes. Required fields are full name, email, phone, service and preferred date. Rename, remove, or add your own — splitforms accepts any name you POST.
- Full name — Greeting + dashboard label so submissions don't all read 'anonymous'.
- Email — Reply-to address — splitforms wires this so hitting reply goes back to the sender.
- Phone — Faster qualification — phone leads convert ~3× higher than email-only on B2B forms.

React production notes
What changes when this booking / appointment lives in React.
React itself ships nothing for form submission — it's a view layer. The historical baseline is one of: an Express/Hono/Fastify server you stand up just for POST /api/contact, a Function-as-a-Service (Vercel/Netlify/Cloudflare) that ends up needing the same SMTP wiring, or a third-party form library (React Hook Form, Formik) that handles validation but still leaves you to operate the backend. Vite, CRA, and Remix all default to assuming you have somewhere to POST — they just don't tell you where. Splitforms is the where: a single fetch call, no library install, no useEffect gymnastics, no Express boilerplate.
- useState + setStatus inside async causes race conditions
- FormData and controlled inputs can desync
- CSP errors when posting to a third-party endpoint

Setup
Generate, embed, receive.
Three actions stand between you and your first booking / appointment submission — no backend, no database, no CAPTCHA library.
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.
Paste the booking / appointment into your React project
Drop the form snippet into a React 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.
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
Booking / Appointment on React — answered.
Anything missing? Email us, we read every message.

Do I need a Next.js API route or a server action to capture bookings?
No. The booking form is a client component whose action points at https://splitforms.com/api/submit with a hidden <input name="access_key">. The browser does the POST, so there's no route handler and no 'use server' action to write — and it works on a fully static React/Next export, where server actions aren't available at all. SplitForms stores each request and shows it in the dashboard; you export the lot to CSV (paid plans) when you need it.
How do I get a controlled date/time picker (react-datepicker) into the submission?
A picker's internal value never reaches the POST body on its own. Keep react-datepicker as the UI, then mirror the chosen value into a hidden input: <input type="hidden" name="preferred_date" value={date} />. SplitForms reads every named field, so preferred_date becomes a real column in the dashboard and CSV export (paid plans). A controlled <select name="time_slot"> lands the same way — the name attribute is what matters, not whether the field is controlled.
Can I show a 'booking received' screen without a full page reload?
Yes. Intercept onSubmit, call e.preventDefault(), fetch() the same endpoint with a FormData built from the form, then flip a useState flag to swap in your confirmation component — no reload, and the requester never leaves the page. If you don't need that, drop the JS and let the plain form POST natively. Either path, the paid auto-responder can email the requester an instant 'we got your request' confirmation.
Does SplitForms check my calendar so two people can't grab the same slot?
No — it's a form backend, not a scheduling engine, so it records the booking request but never reads a calendar or blocks a taken slot. The workable pattern: wire a webhook (paid) to Slack or Discord so your team sees each request the moment it lands and confirms the slot by hand. Bot spam is filtered by a hidden honeypot field plus a rule-based content filter — no CAPTCHA standing between a real customer and their booking.
Does this booking / appointment work on React?
Yes. The form is plain HTML with a single POST endpoint, so it runs on any React site without server-side code, plugins, or SDKs. Drop the snippet into a React page or component and submissions land in your splitforms dashboard.
How much does the booking / appointment cost on React?
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.
Show 1 more questions
Can I customize the fields?
Yes. The template ships with sensible defaults (full name, email, phone, service…) — add, remove, or rename any of them. Splitforms accepts whatever fields you POST.
Simple pricing
Start free. Upgrade when you need more.
Ship a booking / appointment on React in 60 seconds.
500 submissions a month, free to start. No credit card. Copy the snippet above and paste it into your React project.
- No credit card required
- 500 free submissions
- Setup in minutes
