You need to sign in to do that
Don't have an account?
Chandra Kant Baghel
How to display icon in custom html button in LWC?
Hi All,
I have created a custom html button in LWC like follow:
I wish to add a icon (like approval icon) inside this button itself.
Can anybody suggest how can we do it?
I have created a custom html button in LWC like follow:
<button class="custButton" data-title="Some Title" onclick={handleButtonClick}>ClickMe</button>
I wish to add a icon (like approval icon) inside this button itself.
Can anybody suggest how can we do it?
Below url will help for your solution
https://www.lightningdesignsystem.com/components/button-icons/
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
It is not showing the icon.
And where do we add the label for button?