Can I have both icon and text in the lightning button icon?

734    Asked by CamelliaKleiber in Salesforce , Asked on Apr 20, 2023
 I need to display a button which will display a text along with an icon. I tried similar to below code

But its displaying button with only text inside it. Is there any way to add both text and icon inside the button?

Answered by Ranjana Admin

You just need to specify the label as well as the lightning button icon-name in the button.




Your Answer

Interviews

Parent Categories