# UXP SVG example?

**URL:** <https://forums.creativeclouddeveloper.com/t/uxp-svg-example/1307>\
**Category:** UXP Plugin API\
**Created:** [October 11, 2019, 7:39pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-svg-example/1307 "2019-10-11T19:39:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)\
**Post date:** [October 11, 2019, 7:39pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-svg-example/1307/1 "2019-10-11T19:39:51Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [October 11, 2019, 9:04pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-svg-example/1307/2 "2019-10-11T21:04:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cpryland](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cpryland/32/1172_2.png) [@cpryland](https://forums.creativeclouddeveloper.com/u/cpryland)\
**Post date:** [October 11, 2019, 9:25pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-svg-example/1307/4 "2019-10-11T21:25:22Z")

</div>

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