A free MIT-licensed React UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.
npm install survey-react-ui



A free and open-source MIT-licensed JavaScript form builder library that allows you to design dynamic, data-driven, multi-language survey forms and run them in your React applications.
- Dynamic forms, surveys, polls, and quizzes for your JavaScript application
- Integration with React, Angular, Vue, jQuery, and Knockout
- 20+ built-in question types and support for custom question types
- Built-in themes and CSS customization
- Answer validation
- TypeScript support
- Community-supported UI localization to 50+ languages
- Integration with any backend framework (examples for PHP, NodeJS, and ASP.NET included)
- Compatibility with any server + database combination
- Third-party component integration
To get started with SurveyJS React Form Library, refer to the following tutorial: Add a Survey to a React Application.
- Website
- Documentation
- Live Examples
- What's New
1. Build the platform-independent part
1. Install SurveyJS React Form Library dependencies and build this library
```
cd ../survey-react-ui
npm i
npm run build
You can find the built scripts in folders under the build directory.
2. Run a test application
``
npm run start
This command runs a local HTTP server at http://localhost:7777/.
3. Run unit tests
```
npm run test
The unit tests use Karma.
SurveyJS Form Library is distributed under the MIT license.