How to use search icon in Angular?
You just need to provide the negative margin to the icon and padding-right to the text field so that text won't overlap the icon. Also, You should provide the click handler in the ts of the respective component. Save this answer.