Third-party packages

Overview

The HTML Canvas widget supports importing third-party libraries from CDNs. By specifying a CDN URL, you can include third-party libraries written in vanilla JavaScript or React.

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 identify UMD CDN links by looking for umd in the URL path or filename. Sources like unpkg and jsDelivr usually label them as umd.

Example

The following example shows how to import the jQuery library for use in the widget.

Third-party libraries are imported by clicking the 3rd party libraries option and pasting the library URL there, as shown below:

Last updated

Was this helpful?