Custom icon in ion-fab-button

is it possible, with Ionic4, to use a custom icon in an “ion-fab-button”?

I’d like to replace the bicycle icon with a custom icon.

<ion-fab-button color="warning"><ion-icon name="bicycle"></ion-icon></ion-fab-button>

If it is possible, which should be the format of the image?

Thank you


remove <ion-icon name="bicycle"></ion-icon>

then add image tage under ion-fab-button 
<ion-fab-button color="warning">
      <img style="width: 28px" src="Icon_name.png">

its works for me

Please check it @ioclaudio

1 Like