solucx_widget 0.0.1
solucx_widget: ^0.0.1 copied to clipboard
SoluCX Widget
SoluCXWidget #
SoluCXWidget is a customizable widget for integrating SoluCX customer experience surveys into your web application.
Features #
- Easy integration
- Customizable design
- Real-time feedback collection
- Responsive layout
Installation #
To install SoluCXWidget, use npm:
npm install solucx-widget
Usage #
Import and initialize the widget in your project:
import SoluCXWidget from 'solucx-widget';
SoluCXWidget.init({
apiKey: 'YOUR_API_KEY',
surveyId: 'YOUR_SURVEY_ID',
containerId: 'widget-container',
});
Add the widget container to your HTML:
<div id="widget-container"></div>
Configuration #
You can customize the widget by passing additional options to the init method:
SoluCXWidget.init({
apiKey: 'YOUR_API_KEY',
surveyId: 'YOUR_SURVEY_ID',
containerId: 'widget-container',
theme: 'dark',
language: 'en',
});
Contributing #
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License #
This project is licensed under the MIT License.