# \[SOLVED\] Ionicon doesn't display on Ionic React FAB button

**URL:** <https://forum.ionicframework.com/t/solved-ionicon-doesnt-display-on-ionic-react-fab-button/178704>\
**Category:** Ionic Framework\
**Created:** [November 29, 2019, 1:16pm UTC](https://forum.ionicframework.com/t/solved-ionicon-doesnt-display-on-ionic-react-fab-button/178704 "2019-11-29T13:16:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevinShoe](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/devinshoe/32/110748_2.png) [@DevinShoe](https://forum.ionicframework.com/u/DevinShoe)\
**Post date:** [November 29, 2019, 1:16pm UTC](https://forum.ionicframework.com/t/solved-ionicon-doesnt-display-on-ionic-react-fab-button/178704/1 "2019-11-29T13:16:42Z")

</div>

I’m having an issue getting an Ionicon working with an `IonFabButton` in Ionic React. I’m currently using the add icon but I have tried others and the FAB is always blank. I am using a couple of Ionicons in my `IonMenu` and they work just fine, so at the moment, this seems isolated to an `IonFabButton`. I even inspected the element and there is no svg element on that button. I have also tried the `name="add"` approach, as well as `icon={add}` which seems to be the recommended approach for React apps. Here’s an example of where the Ionicon is failing to display:

```auto
  <IonPage>
    <IonHeader>
      <IonToolbar>
        <IonButtons slot="start">
          <IonMenuButton />
        </IonButtons>
        <IonTitle>Ionic Blank</IonTitle>
      </IonToolbar>
    </IonHeader>
    <IonContent className="ion-padding">
      The world is your oyster.
      <p>
        If you get lost, the{' '}
        <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/">
          docs
        </a>{' '}
        will be your guide.
      </p>
      <IonFab vertical="bottom" horizontal="end" slot="fixed">
        <IonFabButton>
          <IonIcon slot="start" icon={add} />
        </IonFabButton>
      </IonFab>
    </IonContent>
  </IonPage>

```

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![aditbharadwaj](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aditbharadwaj/32/124369_2.png) [@aditbharadwaj](https://forum.ionicframework.com/u/aditbharadwaj)\
**Post date:** [November 29, 2019, 1:46pm UTC](https://forum.ionicframework.com/t/solved-ionicon-doesnt-display-on-ionic-react-fab-button/178704/3 "2019-11-29T13:46:37Z")

</div>

```auto
import { add } from 'ionicons/icons'

...

<IonIcon icon={add} />

```

Source :- [this](https://github.com/ionic-team/ionic/issues/18847#issuecomment-514749718)

---

<div class="post-metadata">

**Author:** ![DevinShoe](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/devinshoe/32/110748_2.png) [@DevinShoe](https://forum.ionicframework.com/u/DevinShoe)\
**Post date:** [November 29, 2019, 2:35pm UTC](https://forum.ionicframework.com/t/solved-ionicon-doesnt-display-on-ionic-react-fab-button/178704/4 "2019-11-29T14:35:05Z")

</div>

Removing `slot="start"` actually fixed the problem. It’s odd that the `slot` prop caused the icon to not render in this case, but either way, it’s working now. Thanks!

---

<div class="post-metadata">

**Author:** ![jjdev](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jjdev](https://forum.ionicframework.com/u/jjdev)\
**Post date:** [November 29, 2019, 4:14pm UTC](https://forum.ionicframework.com/t/solved-ionicon-doesnt-display-on-ionic-react-fab-button/178704/5 "2019-11-29T16:14:46Z")

</div>

The icon is the only thing in a FAB usually so you do not need the `slot` directive
