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
Greg FinzerGreg Finzer 

How do I show the associated icon for a custom object in a lightning page?

I have an icon associated with a custom object, it is the Handsaw icon.  How do I show this icon in my lightning component?

Do I have to hard code the icon as custom70?
https://www.lightningdesignsystem.com/icons/
 
Best Answer chosen by Greg Finzer
Raj VakatiRaj Vakati
Its not possible now and only for the standard icons it will .. 

if you want to change the Icon you can change at the time of tab creating for a custom object or you can write custom code 
refer this link 

https://success.salesforce.com/ideaView?id=0873A0000003RTBQA2

All Answers

Raj VakatiRaj Vakati
Its not possible now and only for the standard icons it will .. 

if you want to change the Icon you can change at the time of tab creating for a custom object or you can write custom code 
refer this link 

https://success.salesforce.com/ideaView?id=0873A0000003RTBQA2
This was selected as the best answer
Greg FinzerGreg Finzer
Thanks for your help Raj.  I ended up hard coding using this:

<lightning:icon iconName="custom:custom70" size="small" alternativeText="Renovation Icon"/>