# SVG custom logo isn't appearing

**URL:** <https://forum.ionicframework.com/t/svg-custom-logo-isnt-appearing/244920>\
**Category:** Ionic Angular\
**Created:** [October 30, 2024, 5:06pm UTC](https://forum.ionicframework.com/t/svg-custom-logo-isnt-appearing/244920 "2024-10-30T17:06:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimmybr](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dimmybr](https://forum.ionicframework.com/u/dimmybr)\
**Post date:** [October 30, 2024, 5:06pm UTC](https://forum.ionicframework.com/t/svg-custom-logo-isnt-appearing/244920/1 "2024-10-30T17:06:57Z")

</div>

Hello All,  
I’m building an app with ionic and using angular.  
I am trying to add an custom icon according to ionic docs:  
`

`

however it isn’t appearing when I try to run the project on ionic serve.

P.S: I’m using ionic --v 7

Does anybody else had this problem?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [October 30, 2024, 5:21pm UTC](https://forum.ionicframework.com/t/svg-custom-logo-isnt-appearing/244920/2 "2024-10-30T17:21:42Z")

</div>

> [@dimmybr](#):
>
> I am trying to add an custom icon according to ionic docs:

There is nothing showing in your OP saying how you are trying to use an SVG. All I see is blank lines.

Please share some code on how you are trying to use a custom SVG. I just use a HTML `img` tag with the SVG stored in my `public` directory.

---

<div class="post-metadata">

**Author:** ![dimmybr](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dimmybr](https://forum.ionicframework.com/u/dimmybr)\
**Post date:** [October 30, 2024, 5:45pm UTC](https://forum.ionicframework.com/t/svg-custom-logo-isnt-appearing/244920/3 "2024-10-30T17:45:34Z")

</div>

Hi there twestrick,  
I’m tryng to use it inside a toolbar component according to image below:

 ![00](https://global.discourse-cdn.com/ionicframework/original/3X/b/0/b01086ecdadd5dab709bce2faeb1398f0a8fa476.jpeg)

---

<div class="post-metadata">

**Author:** ![twestrick](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/twestrick/32/136131_2.png) [@twestrick](https://forum.ionicframework.com/u/twestrick)\
**Post date:** [October 30, 2024, 5:53pm UTC](https://forum.ionicframework.com/t/svg-custom-logo-isnt-appearing/244920/4 "2024-10-30T17:53:38Z")

</div>

Try with `<img src="...">` instead of `ion-icon`. If that works, then something weird is going on with `ion-icon`. If it doesn’t work, then your SVG isn’t accessible for some reason.

---

<div class="post-metadata">

**Author:** ![dimmybr](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dimmybr](https://forum.ionicframework.com/u/dimmybr)\
**Post date:** [October 30, 2024, 6:18pm UTC](https://forum.ionicframework.com/t/svg-custom-logo-isnt-appearing/244920/5 "2024-10-30T18:18:06Z")

</div>

Hi again twestrick,  
I tried using img tag and it worked well.  
Thanx for your help =)
