Qwik is a new kind of web framework that can deliver instant loading web applications at any size or complexity.
Start collecting data in a matter of clicks.
Let Formspark take care of the servers, databases, and analytics.
Set up any form in seconds.
Compatible with Jamstack
import { component$ } from "@builder.io/qwik"; import { Form, routeAction$ } from "@builder.io/qwik-city"; const FORMSPARK_ACTION_URL = "https://submit-form.com/your-form-id"; // Runs on the server, so the submission never depends on client JavaScript. export const useContactAction = routeAction$(async (data) => { await fetch(FORMSPARK_ACTION_URL, { method: "POST", headers: { "Content-Type": "application/json", Accept: "application/json", }, body: JSON.stringify(data), }); return { success: true }; }); export default component$(() => { const action = useContactAction(); return ( <Form action={action}> <textarea name="message" /> <button type="submit" disabled={action.isRunning}> Send </button> </Form> ); });