Ionic 4 custom icons

I follow this instructions to generate custom icon ionic cordova resources

How can I use generated custom icon in code?

I tried: <ion-icon src="/path/to/external/file.svg"></ion-icon>


ion-icon {
&[class*=“custom-”] {
mask-size: contain;
mask-position: 50% 50%;
mask-repeat: no-repeat;
background: currentColor;
width: 1em;
height: 1em;
&[class*=“custom-lock”] {
mask-image: url(…/assets/kljuc.svg);

Hi Remzy! Did you able to solve this? I’m facing with the same issue right now.