Svelte

Svelte contact form without a backend

Drop a FormsReach HTML form into a Svelte component. No custom API route, no DIY email pipeline. Deliver submissions by email with spam filtering and to WhatsApp in seconds, metered with monthly credits.

FormsReach

Online

Name: Jessica Miller

Phone: +1 (415) 555-01XX

Message: “Need a quote for a 2-bed apartment remodel in Austin. Budget around $15k.”

Set up FormsReach with Svelte

  1. 1

    Create a free API key

    Sign up at FormsReach and copy your form API key. Free includes monthly credits for email and spam filtering.

  2. 2

    Add the form component

    Create a Svelte component with a standard form, method POST, action set to the FormsReach submit endpoint, and a hidden api_key field.

  3. 3

    Ship and test

    Deploy to your host (static or SvelteKit). Submit once - check email and/or WhatsApp depending on your delivery settings.

HTML snippet

HTML
<form action="https://api.formsreach.com/submit" method="POST">
  <input type="hidden" name="api_key" value="YOUR_API_KEY">
  <input type="text" name="name" required>
  <input type="email" name="email" required>
  <textarea name="message" required></textarea>

  <button type="submit">Submit Form</button>
</form>

Keep Svelte focused on UI

Svelte is excellent at UI. Contact delivery is a separate problem. FormsReach handles the form API so your component stays a form, not a mail stack.

Platform notes

Troubleshooting

What you get

Free

500 credits every month for form submissions, email, and WhatsApp. Spam filtering, webhooks, and workflow rules included. No credit card required.

Starter & Pro

Larger monthly credit pools (2,000 or 8,000) for growing sites and multi-site volume. Same channels - email, WhatsApp via the official Meta API, webhooks. See pricing.

FAQ

Do I need a SvelteKit form action or server endpoint?+

Not for a basic contact form. FormsReach is the form backend, so you can use a classic form POST without +page.server.ts mail code.

Can I use progressive enhancement with SvelteKit?+

Yes. A normal form POST to FormsReach works with or without client JS. Use the JavaScript SDK if you want client-side init instead.

Free vs Pro delivery?+

Email and WhatsApp via Meta WhatsApp Business API, with spam filtering. Usage is metered in monthly credits.

Does this work on static Svelte builds?+

Yes - the browser posts to FormsReach, so you do not need a long-running SvelteKit server for delivery.

Related integrations

Ready to receive form leads?

Create a free API key. Upgrade when you need more monthly credits.