Skip to main content
This example uses React state for the submission message and disables the button while the request is running. No additional package is required.

Create the component

Replace YOUR_FORM_PUBLIC_KEY in the request URL with the Public Key from the Endpoint form’s General tab.

Use it in a page

Import and render the component like any other React component:
Submit one test response and confirm it appears in Submissions. Your CSS and component library can style the form without changing the submission code. If the component accepts files, the existing FormData request already uses the correct format. Check the limits in Files and CAPTCHA.