An icon to be used in the Editor UI.

const pathToIconFromPlugin = import.meta.resolve('icon.svg');
Editor.Icon.fromFile(pathToIconFromPlugin);