You need to sign in to do that
Don't have an account?
Rahul Singh 1384
How to create SVG Icons Static Resource?
I want to use SVG Icons in my lightning component. Can anyone help me on how to create static resource of SVG Icons,
I can upload static resource and set path accordingly, I only want to know the steps included in creating SVG Icons Static Resource.
Any help would be appreciated.
Thanks In Advance
Rahul
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 jobAlso, please check with below trailhead module for further reference.
- https://trailhead.salesforce.com/projects/slds-lightning-components-workshop/steps/slds-lc-4
Please let us know if this helps.Kindly mark this as solved if it;s resolved.
Thanks,
Nagendra