Add a multi-page survey or questionnaire to a React or Vue app by pointing the library at a JSON schema, no custom form code needed.
Build a quiz with automatic scoring and conditional questions that show or hide based on earlier answers.
Collect form submissions entirely on your own server with no third-party data storage or submission limits.
Support international users by enabling one of the 50+ built-in community translations and right-to-left layouts.
Install the package for your framework (e.g. `npm install survey-react-ui`), pass a JSON schema to the Survey component, and wire up your own submission handler.
SurveyJS Form Library is an open-source JavaScript library for adding forms, surveys, quizzes, and questionnaires to a web application. Instead of building form logic by hand, developers describe the form in a JSON file (a structured text format listing the questions, types, and rules), and the library reads that file and renders the form in the browser. This approach makes it straightforward to update or reuse forms without rewriting interface code. The library works with React, Angular, Vue, jQuery, and plain HTML/CSS/JavaScript. It is client-side only, meaning it runs in the user's browser and sends the collected answers to whatever server or database the developer chooses. There is no required back-end service from SurveyJS itself, so data stays on your own infrastructure with no limits on how many forms or submissions you can have. Supported form styles include multi-page forms, pop-up surveys, quizzes with scoring, and calculator-style forms. There are more than 20 built-in input types, support for conditional logic (show or hide questions based on previous answers), input validation, auto-save, and the ability to load dropdown options from external web services. The library also handles localization, supporting community translations in over 50 languages and right-to-left text layouts. Beyond the core form library, the SurveyJS family includes a drag-and-drop form builder (Survey Creator) for designing forms visually without writing JSON by hand, a dashboard component for viewing aggregated results, and a PDF export tool. The form builder is a separate commercial product, the form library itself is MIT-licensed and free. Getting started involves installing the package for your chosen framework (React, Angular, or Vue), passing it a JSON schema, and pointing the submission handler at your own API or database.
← surveyjs on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.