3rd party packages
Overview
The HTML Canvas widget supports importing third-party libraries from CDNs. By specifying the CDN URL, you can include third-party libraries written in Vanilla JavaScript or React components.
Importing React libraries
To import React libraries into the HTML Canvas widget, the CDN must provide the library in UMD (Universal Module Definition) format. You can easily identify UMD CDN links by looking for umd
in the URL path or name, often labeled as umd
on sources like unpkg or jsDelivr.
Example
The following example depicts how to import the jQuery library to be used by the widget.
Third party libraries are imported by clicking the 3rd party libraries option and pasting the library's URL there, as shown below:

Last updated
Was this helpful?