svelte-awesome icon indicating copy to clipboard operation
svelte-awesome copied to clipboard

Possible to import icons dynamically?

Open cascading-jox opened this issue 2 years ago • 0 comments

I am trying to render icons depending on strings with the icon names that I initiate the component with. Is it possible to import icons dynamically depending on a configuration set at runtime e.g. from a string? It seems like including fontawesome in a link tag doesn't render <i> tags in web components with their own shadow root (haven't tested without customElements: true).

cascading-jox avatar May 28 '22 13:05 cascading-jox