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/
The problem that i am facing is for the svg.
the error says "Failed to save AddressSearch.cmp: No COMPONENT named markup://svg found : [markup://c:AddressSearch]: Source"
If there is no svg. how i create one for this kind of button???
<button class="slds-button slds-button_icon slds-button_icon-brand" title="Search">
<svg class="slds-button__icon" aria-hidden="true">
<use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#search"></use>
</svg>
<span class="slds-assistive-text">Search</span>
</button>