I have svg icons uploaded as static resource. How can I use these icons in a lightning component?
1 Answer
You can use SFDC svgIcon component https://www.lightningdesignsystem.com/resources/lightning-svg-icon-component-helper/
There may be some adaptation if u don't use SLDS svgs but it should do the job :)
-
4Link is broken. I don't think this method is supported in lightning anymore Commented Nov 30, 2017 at 20:14