Ion-searchbar custom icon

Hello there,

for my client I need to use a different icon along with the ion-searchbar, which is unfortunately not covered by ionicons library.
Is there a way to have a custom icon for the searchbar out of the scope of ionicons-library?

For instance this is already possible with ion-icon-component in the following way

<ion-icon src='path-to-some-icon.svg'></ion-icon>

Thanks in advance!

In my ionic 6 application I do this:

<ion-searchbar search-icon="assets/icon/custom-icons/svg/showroom_white.svg"></ion-searchbar>

1 Like

Works like a charm, thanks a lot!