You can simply add it to your source files and [import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#importing_features_into_your_script)
And *voilà!* You have a new question type, which can be used in your survey's
JSON model just like a built-in type.
The rest of the `src` directory is a simple example of how to use these widgets.
For more info on custom widgets, see the [SurveyJS documentation](https://surveyjs.io/form-library/documentation/customize-question-types/create-custom-widgets#custom-widget-api).