Questions tagged [icon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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 ...
0
votes
1answer
37 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="...
0
votes
1answer
35 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: <!--...
1
vote
0answers
53 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 ...
0
votes
1answer
16 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-...
0
votes
1answer
268 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!"...
1
vote
2answers
509 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&...
0
votes
1answer
469 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="...
0
votes
1answer
2k 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"" <...
0
votes
0answers
423 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" > ...
1
vote
1answer
77 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"...
0
votes
1answer
538 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')}" /> <...
3
votes
2answers
1k 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 ...