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 web 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
The instructions below apply to SurveyJS Form Library for React, Knockout, jQuery, and Vue 2. If you are looking for instructions on how to build the library for Angular or Vue 3, refer to README files within the
survey-angular-ui
orsurvey-vue3-ui
packages.
-
Clone the repo
git clone https://github.com/surveyjs/survey-library.git cd survey-library
-
Install dependencies
Make sure that you have Node.js v14 or later and a compatible npm version installed.npm install -g karma-cli npm install
-
Build the platform-independent part and plugins
npm run build_core npm run build-plugins
-
Build the library
npm run build
You can find the built scripts and style sheets in folders under the
build
directory. -
Run test examples
npm run serve
This command runs a local HTTP server at http://localhost:7777/.
-
Run unit tests
npm run test
The unit tests use Karma.
SurveyJS Form Library is distributed under the MIT license.