Skip to main content

Playground / Live Demo

Want to see React Forminate in action? Jump into the interactive playground and experiment with form schemas, validation rules, and layouts β€” all in real-time.


πŸš€ Try It Live​

πŸ”— Open Playground on CodeSandbox

The playground lets you edit the formData schema and see the form update instantly. It’s a great way to test fields, validation, layouts, and custom components.


πŸ§‘β€πŸ’» Sample Schema​

Here’s an example of what you can play with:

const formData = {
title: "Demo Form",
formId: "demoForm",
fields: [
{
fieldId: "username",
label: "Username",
type: "text",
required: true,
placeholder: "Enter your username",
},
{
fieldId: "subscribe",
label: "Subscribe to newsletter",
type: "checkbox",
},
{
fieldId: "birthdate",
label: "Birthdate",
type: "date",
},
],
};

πŸ’» Set Up a Local Playground​

If you'd rather explore locally, follow these steps:

  1. Create a new React project using Vite or Create React App.

  2. Install the library:

    npm install react-forminate
  3. Replace the App.tsx content with a basic DynamicForm example.

  4. Run the app and experiment with different form schemas!

πŸ“š Want Ideas?​

Check out the Built-in Fields section to see which fields are available out-of-the-box and how to use them in your playground.

Happy form-building! πŸŽ‰

Clicky