Questions tagged [icon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

change icon color on lighting tab

trying to change the color of an utility icon on a lightning tab but adding a variant does not work. What are the possible ways to change the color of the lightning tab icon? <lightning-tab label='{...
user avatar
0 votes
1 answer
392 views

Size of lightning-helptext icon?

How can I modify the size of an Icon in lightning-helptext? My code: <lightning-helptext content={errorLabel} icon-variant="error" class="slds-p-right_small" icon-name="...
user avatar
  • 185
0 votes
0 answers
14 views

Make more visible icons on request

Is it possibile to make the icon and the pen in the layout more visible?
user avatar
0 votes
0 answers
17 views

How can I change the icon color in the rows of the lightning table?

I want to change the color of the iconName of the row in my table, can someone help me? If not, I would like to use a static resource on the text side of my lightning table cell Has anyone experienced ...
user avatar
0 votes
0 answers
69 views

lightning:icon - set svg attribute preserveaspectratio to none

I was developing a lightning component where I wanted to use a lightning-icon. I want it to look exactly alike the ones that are displayed in lightning:select, however the icons to not necessarily ...
user avatar
2 votes
2 answers
509 views

how to style tab icons differently in lwc

I have below requirement to style individual tab icons with different colors from one another in lwc using base lightning-tabset component. <template> <lightning-tabset class="...
user avatar
0 votes
1 answer
128 views

Lightning Lookup Component - Icon out of Input when having label

I have implemented a generic lookup component. The issue that i am facing is that i cannot find a way to "move" inside the lightning input my lightning icon. Any ideas? Code Below: <!--...
user avatar
1 vote
0 answers
107 views

Missing icons on Salesforce report buttons in Chrome

The icons in Salesforce report buttons are missing in Chrome, since several months now. This somewhat related known issue Some icons disappear in Chrome 84 is "In review" and even though the ...
user avatar
  • 3,525
0 votes
1 answer
31 views

Why is the standart icon not displayed?

What am I doing wrong? How do I display the icon? <lightning-layout> <lightning-layout-item> <lightning-icon icon-name="standart:work_type" alternative-...
user avatar
0 votes
1 answer
853 views

Utility icon not showing

I am using below line of code to show the icon but instead it is showing as a dot. Tried on chrome and edge. <lightning:icon iconName="utility:warning" alternativeText="Warning!"...
user avatar
  • 325
1 vote
2 answers
689 views

Aura components: Utility icons not showing after Summer 20 update

With recent release our team has started facing this intermittent issue of utility icons not showing in buttons and button icons. Button icon code: <lightning:buttonIcon iconName="utility:save&...
user avatar
0 votes
1 answer
544 views

Error while using lightning Icon (Unknown token: 'undefined'. Are you missing a tokens file or declaration?)

I am using lightning:icon tag to display icon in my lightning component. Some icons are working fine and some are throwing error.Below is the code which is not working. <lightning:icon iconName="...
user avatar
1 vote
1 answer
3k views

Lightning button icon without border

Is it possible to remove the border on a lightning button icon when it clicked? <lightning:buttonIcon iconName="utility:dislike" variant="bare" onclick="{!c.downVote}" size="medium"" <...
user avatar
  • 463
0 votes
0 answers
628 views

Lightning icon in lightning tab

I am trying to add an icon in tabs Labels of a lightning:tabset. <lightning:tabset > <lightning:tab > <aura:set attribute="label" > ...
user avatar
  • 463
1 vote
1 answer
143 views

Standard Lightning Icon not rendering properly

Notice the first "Utility:success" icon. Why is my icon background is blurred ? Below code renders the image as shown in picture. <div class="slds-box slds-theme_success slds-theme_alert-texture"...
user avatar
0 votes
1 answer
715 views

Use SLDS Icon file path in VF page

Let's say I have a markup <span class="slds-icon_container slds-icon--small slds-icon-utility-edit"> <img src="{!URLFOR($Asset.SLDS, 'assets/images/profile_avatar_96.png')}" /> <...
user avatar
  • 683
3 votes
2 answers
2k views

SOQL Query (or other means) to get the icon assigned to an object

Lightning has pre-defined icons for the various standard object types (e.g. Account has the big and small buildings icon) and seems to allow you to associate an icon with a custom object by creating a ...
user avatar
  • 28.1k