UXP SVG example?

Are there any examples of using SVG in UXP dialogs/panels?

I don’t seem to have much luck getting them to work.

And I suppose there’s still no support for use, etc?

@kerrishotts?

Only <svg> tags are supported (so img src="blah.svg" won’t work). Also, start with simple SVGs first (like a path or line) just to validate things in your environment.

As for use, no, but you can polyfill it using svg4everybody or similar tool.

So could I take some SVG from a file, and splice it in with .outerhtml?