You need to sign in to do that
Don't have an account?

LWC lightning-card with custom icon
Is there a way I can use a lightning-card in LWC using a custom icon?
<lightning-card title="Related JIRA Issues" icon-name="standard:lightning_component"> </lightning-card>
Component - HTML File
Component - JS File
Component - CSS File ( Style the icon as per your design )
Please let me know if this solution works for you or not.
All Answers
Custom as in your own, like the one we use in SVG file in Lightning components?
If it is, you can create a folder in your LWC folder as SVG and it will work exactly the same as that in Aura:components.
Component - HTML File
Component - JS File
Component - CSS File ( Style the icon as per your design )
Please let me know if this solution works for you or not.