opinbox-survey-builder
v0.2.14
Published
A toolkit to build custom surveys integrated with Opinbox (https://opinbox.com).
Downloads
402
Readme
Opinbox React Survey Builder
Opinbox Survey Builder is a flexible and powerful survey creation tool for React projects. It allows developers to easily build and deploy surveys and connect them to Opinbox to manage the survey data.
1. Installation
To install Opinbox Builder, you need to include it as a dependency in your project. Here are the steps to set it up:
npm install opinbox-survey-builder
2. Usage
Import Styles
Import the styles for your UI components.
/* Import JsPsych and SurveyJS Styles */
@import "survey-core/defaultV2.min.css";
@import "survey-creator-core/survey-creator-core.css";
@import "jspsych/css/jspsych.css";
3. Example
You can find an example project here.
Additional Information
Opinbox Builder relies on several peer dependencies. Ensure these are installed in your project:
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"jspsych": "^7.3.4",
"survey-core": "^1.11.10",
"survey-creator-core": "^1.11.10",
"survey-creator-react": "^1.11.10",
"survey-react-ui": "^1.11.10"
}
License
Opinbox-survey-builder runs under the MIT License.
For commercial use, a SurveyJS license is required to use the survey creator. Please ensure you have obtained the appropriate license before using this package in a commercial project.