Hi Mouli,
Use a Custom Pluggable Widget (Recommended)
Build a Mendix widget using React + TypeScript via the Pluggable Widget Framework.
Install the JS library using NPM and use it only within the widget scope.
Avoid minified versions (.min.js
) as they may cause bundling issues — use the full or module version instead.
Ideal for reusable components like charts, maps, sliders, or visualizations.
2. Include JS via theme/web/index.html
(Global Scope)
Add <script>
tags to this file to load a library globally across the app.
You can refer following link for more details: