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-icon-text-default slds-is-sortable__icon">
          <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown"></use>

in my aura project I want my table cells to interact this way. But I get an error

No COMPONENT named markup://svg found Is it possible to fix that?

1 Answer 1


There is no native SVG component support in aura, you have to use a custom SVG Component or use lightning:icon

 <lightning:icon iconName="utility:arrowdown" alternativeText="Arrow Down" />

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .