# Font Awesome 5 solid icon are not working

**URL:** https://meta.discourse.org/t/font-awesome-5-solid-icon-are-not-working/154556
**Category:** Development
**Created:** [June 11, 2020, 6:37pm UTC](https://meta.discourse.org/t/font-awesome-5-solid-icon-are-not-working/154556 "2020-06-11T18:37:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [June 11, 2020, 6:37pm UTC](https://meta.discourse.org/t/font-awesome-5-solid-icon-are-not-working/154556/1 "2020-06-11T18:37:08Z")

</div>

The other like regular or brand are work well. The solid icon just not display and no any related console error.

Please look my example below.

 ![settings](https://global.discourse-cdn.com/meta/original/3X/e/6/e6788cafee95266bcc8f4aa348a82a8151c637f3.png)

```xml
{{! template.hbs }}
<div>
    solid
    {{d-icon "fa-mobile"}}
    {{d-icon "fa-beer"}}
    {{d-icon "fa-baby"}}
    <br>
    solid2
    {{d-icon "fas-mobile"}}
    {{d-icon "fas-beer"}}
    {{d-icon "fas-baby"}}
    <br>
    regular
    {{d-icon "far-clone"}}
    {{d-icon "far-angry"}}
    {{d-icon "far-grimace"}}
    <br>
    brand
    {{d-icon "fab-500px"}}
    {{d-icon "fab-apple"}}
    {{d-icon "fab-aws"}}
</div>

```

 ![render](https://global.discourse-cdn.com/meta/original/3X/0/c/0ce4f26f8531e59301b35722a1a136e0f493f065.png)

I wanna paste the raw html here but it seems not support nested content inside svg tag.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [June 11, 2020, 8:19pm UTC](https://meta.discourse.org/t/font-awesome-5-solid-icon-are-not-working/154556/2 "2020-06-11T20:19:40Z")

</div>

I think `{{d-icon "mobile"}}` should do it? It’s a bit confusing that we have the prefix in the setting but don’t use it in templates.

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [June 11, 2020, 8:49pm UTC](https://meta.discourse.org/t/font-awesome-5-solid-icon-are-not-working/154556/3 "2020-06-11T20:49:50Z")

</div>

Thanks, it’s working.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [June 11, 2020, 10:08pm UTC](https://meta.discourse.org/t/font-awesome-5-solid-icon-are-not-working/154556/4 "2020-06-11T22:08:57Z")

</div>

Yes, and I think that site setting is the last and only place where we suggest an “fa-“ prefix. I will clean that up and bring it in line with the other places where icons are used (after this month’s release though).
