Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [svg]

The tag has no usage guidance.

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

How can I replace svg from my code?

let's say I have following code (from standart lightning table example markup) <div class="slds-icon_container"> <svg aria-hidden="true" class="slds-icon slds-icon--x-small slds-...
4
votes
2answers
279 views

Dynamic Icon loading in LWC doesn't work

I am using the progress-ring LWC component from https://github.com/texei/progress-ring and fail to make the SLDS SVG Icon displayed dynamic work: Usage: <c-progress-ring ... icon="symbols.svg#...
2
votes
2answers
275 views

lightning:icon pointing to SVG static resource has empty shadow root

An working SVG icon stored in a public static resource myicon_svg <?xml version="1.0"?><svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g id="...
0
votes
0answers
105 views

Use SVG in Lightning Web Component

I'm trying to use the Going Camping illustration from the SLDS documentation, I tried to copy-paste the code and put it in Playground but nothing comes up except for the text, same if I copy it to ...
0
votes
1answer
748 views

No COMPONENT named markup://svg found [duplicate]

After downloading the SLDS I have copied a detail form from the lightning design system to the salesforce console. But when I save there is a popup saying "No COMPONENT named markup://svg found". I ...
0
votes
1answer
118 views

Access svg icon from static resource zip file

I have added zip file of lightning design system which contains fonts,icon,images,style folders. in this svg icons are in icons/utility-sprite/svg folder, i have set the path but it;s not reflecting ...
1
vote
0answers
127 views

SVG API incomplete in LWC/Locker

I want to create a custom component that wraps the yFiles for HTML graph drawing component in an LWC component, but it seems some of the SVG API is not implemented or rather hidden behind the locker ...
0
votes
2answers
592 views

Search Icon Button in Lightning [duplicate]

I need a search icon button icon in my compoonent. I have got the code as well. Below is the link from where i have referred the code. https://www.lightningdesignsystem.com/components/button-icons/ ...
4
votes
1answer
359 views

How to create an SLDS Illustration lightning component with svg

I am trying to create a lightning component that will show an SLDS illustration of missing data: when I create my component with the <svg> tag I cannot save the component markup: <...