Best current libraries for complex forms?

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Yup

    Dead simple Object schema validation

  • In a current project for work I'm using react-final-form plus Yup for validation, final-form-arrays for the arrays stuff and final-form-set-field-data to add warnings. Other features - multipage, dependencies, side-effects, we've coded our own components based on the final-form examples. It generally works, but it's a lot of moving parts. I was wondering what the current state of the art was with other form libraries and if there were other solutions that were worth considering?

  • react-final-form

    🏁 High performance subscription-based form state management for React

  • In a current project for work I'm using react-final-form plus Yup for validation, final-form-arrays for the arrays stuff and final-form-set-field-data to add warnings. Other features - multipage, dependencies, side-effects, we've coded our own components based on the final-form examples. It generally works, but it's a lot of moving parts. I was wondering what the current state of the art was with other form libraries and if there were other solutions that were worth considering?

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • react-final-form-arrays

    A component for rendering and editing arrays 🏁 React Final Form

  • In a current project for work I'm using react-final-form plus Yup for validation, final-form-arrays for the arrays stuff and final-form-set-field-data to add warnings. Other features - multipage, dependencies, side-effects, we've coded our own components based on the final-form examples. It generally works, but it's a lot of moving parts. I was wondering what the current state of the art was with other form libraries and if there were other solutions that were worth considering?

  • final-form-set-field-data

    Mutator for setting arbitrary metadata on fields in 🏁 Final Form

  • In a current project for work I'm using react-final-form plus Yup for validation, final-form-arrays for the arrays stuff and final-form-set-field-data to add warnings. Other features - multipage, dependencies, side-effects, we've coded our own components based on the final-form examples. It generally works, but it's a lot of moving parts. I was wondering what the current state of the art was with other form libraries and if there were other solutions that were worth considering?

  • react-hook-form

    📋 React Hooks for form state management and validation (Web + React Native)

  • Have you tried react-hook-form? I've been using it on the projects that I've worked this year and I can say it's pretty neat. It works great with validation libraries like Yup. It's considered the most efficient one in matter of speed and it's built using hooks! Also it has a very nice documentation https://react-hook-form.com/

  • formik

    Discontinued Build forms in React, without the tears 😭 [Moved to: https://github.com/formium/formik] (by jaredpalmer)

  • Formik is pretty good.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts