survey-library icon indicating copy to clipboard operation
survey-library copied to clipboard

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.

SurveyJS Library

Build Status Software License Tested with TestCafe Issues Closed issues

SurveyJS Library allows you to create dynamic surveys and forms and integrate them into your JavaScript application.

Features

  • Dynamic forms, surveys, and quizzes for your JavaScript application
  • Angular, React, jQuery, Knockout, and Vue support
  • 20+ built-in question types and support for custom question types
  • Answer validation
  • Modern, customizable UI themes
  • TypeScript support
  • Community-supported UI localization to 50+ languages
  • Integration with any backend framework (examples for PHP, NodeJS, and ASP.NET included)
  • Survey results can be stored in any database
  • Third-party component integration

Get Started

Resources

Build the SurveyJS Library from Sources

  1. Clone the repo

    git clone https://github.com/surveyjs/survey-library.git
    cd survey-library
    
  2. Install dependencies
    Make sure that you have Node.js v6.0.0 or later and npm v2.7.0 or later installed.

    npm install -g karma-cli
    npm install
    
  3. Build the library

    npm run build_prod
    

    You can find the built scripts and style sheets in folders under the build directory.

  4. Run test examples

    npm start
    

    This command runs a local HTTP server at http://localhost:7777/.

  5. Run unit tests

    npm run test
    

    The unit tests use Karma.

Licensing

SurveyJS Library is distributed under the MIT license.