Make the v0 contact form send for real
v0 draws a tidy shadcn/ui form and then, more often than not, finishes it with a pretend submit. Swap that for your Formbold endpoint. The design stays, the placeholder goes, and each entry is stored and emailed, in the v0 preview and after you publish to Vercel.
What does the finished v0 component look like?
A client component using the shadcn/ui pieces v0 already generated. The endpoint comes from NEXT_PUBLIC_FORMBOLD_ENDPOINT if you set it. Full walkthrough: /docs/v0-contact-form.
Endpoint, prompt, publish
One prompt does most of the work. Read the diff before you publish.
Make the Formbold form
Add a form in the Formbold dashboard. The Form Setup tab shows its address, which ends in /s/FORM_ID.
Tell v0 what to change
"Turn the contact section into a client component and send it to Formbold. POST the fields as JSON to process.env.NEXT_PUBLIC_FORMBOLD_ENDPOINT, falling back to https://formbold.com/s/FORM_ID, with Accept: application/json. Keep the shadcn/ui Input, Textarea, Label and Button, keep a name on each field, and add ready, posting, ok and fail states. Delete any mock delay or unused Server Action."
Publish to Vercel
Click Publish in the chat header. The first publish creates the Vercel project, and later edits go out with Publish Changes. Submit once on the live URL.
What v0 leaves out
What v0 leaves out of a contact form, and what fills the gap.
No route or action to keep
There is no app/api file or Server Action to maintain. The component posts directly.
Same behavior on a static export
Because the request runs in the browser, the form keeps working if you later move to output: export.
Readable emails
Each submission emails you with labels taken from your field names, like email, company and message.
A captcha that works with fetch
Basic Spam Filter is one switch. If you want a captcha too, Custom reCAPTCHA with your own keys is the option built for script submits.
Webhooks for your own stack
On Starter and up, a webhook can POST each entry as JSON to another route, a queue or an automation tool.
Preview and env var questions
Previews, environment variables and leftover Server Actions.
Still have a question?
The docs cover setup, framework guides, integrations and spam protection, step by step.