Explore all the solutions you can create with Paperform: surveys, quizzes, tests, payment forms, scheduling forms, and a whole lot more.
See all solutionsConnect with over 2,000 popular apps and software to improve productivity and automate workflows
See all integrationsExplore all the solutions you can create with Paperform: surveys, quizzes, tests, payment forms, scheduling forms, and a whole lot more.
See all solutionsConnect with over 2,000 popular apps and software to improve productivity and automate workflows
See all integrationsMake a React form in seconds, for free. Add questions, configure them, and copy and paste your React component in JS or TSX in seconds.
Add some questions to see the preview here.
import React, { useState, ChangeEvent, FormEvent } from "react";
interface FormData {
}
const FormComponent: React.FC = () => {
const [formData, setFormData] = useState<FormData>({
});
const handleChange = (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => {
const { name, value, type } = e.target;
if (type === "checkbox") {
const checkedValue = (e.target as HTMLInputElement).checked;
setFormData(prevData => ({
...prevData,
[name]: checkedValue
? [...(prevData[name as keyof FormData] as string[]), value]
: (prevData[name as keyof FormData] as string[]).filter(item => item !== value)
}));
} else if (type === "select-multiple") {
const selectedOptions = Array.from((e.target as HTMLSelectElement).selectedOptions, option => option.value);
setFormData(prevData => ({ ...prevData, [name]: selectedOptions }));
} else {
setFormData(prevData => ({ ...prevData, [name]: value }));
}
};
const handleSubmit = (e: FormEvent<HTMLFormElement>) => {
e.preventDefault();
console.log(formData);
};
return (
<form onSubmit={handleSubmit}>
<button type="submit">Submit</button>
</form>
);
};
export default FormComponent;
This free tool simplifies and speeds up form creation in React for people. You can add questions, configure them, and reorder them with a live preview. Once finished, you can copy the completed form as a React component in JavaScript or TSX.
Alternatively, you can easily embed a Paperform form in your React app so that anyone on your team can easily make changes to your forms, and integrate with 1000's of other apps.
Yes! We have an entire free tools directory. Some of our most popular tools are;
Our free React form creation tool allows you to add various question types such as text inputs, dropdowns, checkboxes, and more. Simply select the question type you want and configure it by clicking on the configure icon.
This free tool only supports standard HTML inputs - if you're looking for more advanced field types like Scheduling (calendars), payments, products, subscriptions or live calculations, then try out Paperform form free, no credit card required!.
Absolutely! Our tool provides a live preview, allowing you to see how your form looks and functions in real-time as you make changes.
Note that the form when exported to a React component is completely un-styled - it's up to you to decide how you would like your questions to look and feel.
If you would like an easy to style form that looks great without any effort, then try Paperform.
Yes, our tool supports both JavaScript and TypeScript. You can choose to copy your completed form as either a JavaScript React component or a TSX (TypeScript React) component.
Our tool generates a form clear of any custom styling, so you will likely need to customize it further using whatever styling setup you have in your app (css, css-in-js, styled-components etc).
Yes, our tool features a drag-and-drop interface for reordering questions. Simply click and drag a question to its new position, and the live preview and output will update automatically.
Our generated React component includes a placeholder for the form submission handler. You can easily modify this handler in the generated code to process form data according to your needs, such as sending it to a server or storing it locally.
If your looking for a forms solution that takes the pain out of receiving submissions, then try Paperform to automatically support storing, processing, and distributing submissions via email, or direct integrations with 1000s of other apps like Google Sheets, MailChimp or Trello.
Paperform takes your company's security seriously. We're SOC2 Type 2 and GDPR compliant.
Find out more in our Trust Center.
With 22 question types Paperform has you covered for everything from a simple name and email address, to scheduling a time on your calendar or selling products.
Forms are only the start - what good is capturing data if you can't use it?
Paperform provides direct integrations with over 30 different apps directly like Google Sheets, Notion, Airtable and , and thousands of others via Zapier and Make.
With a powerful API, and webhooks you can also easily integrate Paperform into your own systems.