function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sergey VolinetsSergey Volinets 

Can anybody help me with standard Lightning icon?

I have created Lightning SVG Icon Component Helper as described here(https://www.lightningdesignsystem.com/resources/lightning-svg-icon-component-helper/), but in the end, I have rounded square instead of my icon.

I did not add anything to Static Resources. But there is no any word about it.
Should I download and add salesforce icon to static resources in order to use it? Or what`s wrong?

P.S. By standard icon I mean - https://www.lightningdesignsystem.com/icons/
Best Answer chosen by Sergey Volinets
sfdcMonkey.comsfdcMonkey.com
hi Sergey Volinets 
yes you must download and upload the SLDS as static resource  see step number 3 

Step 3: Use the New Component
Use your new component whenever you need an Lightning Design System SVG icon. For example, if your Static Resource is named slds221 you might use:
http://www.sfdcmonkey.com/2016/12/26/use-lightning-design-system-framework/
i hope it helps you.

Let me inform if it helps you and kindly mark it best answer if it helps you so it make proper solution for others
thanks 
http://sfdcmonkey.com

All Answers

sfdcMonkey.comsfdcMonkey.com
hi Sergey Volinets 
yes you must download and upload the SLDS as static resource  see step number 3 

Step 3: Use the New Component
Use your new component whenever you need an Lightning Design System SVG icon. For example, if your Static Resource is named slds221 you might use:
http://www.sfdcmonkey.com/2016/12/26/use-lightning-design-system-framework/
i hope it helps you.

Let me inform if it helps you and kindly mark it best answer if it helps you so it make proper solution for others
thanks 
http://sfdcmonkey.com
This was selected as the best answer
Sergey VolinetsSergey Volinets
Thanks, It helps!