# Ion-item with icon, text and toggle

**URL:** <https://forum.ionicframework.com/t/ion-item-with-icon-text-and-toggle/93072>\
**Category:** ionic-v3\
**Created:** [June 5, 2017, 3:02pm UTC](https://forum.ionicframework.com/t/ion-item-with-icon-text-and-toggle/93072 "2017-06-05T15:02:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/skee/32/109247_2.png) [@Skee](https://forum.ionicframework.com/u/Skee)\
**Post date:** [June 5, 2017, 3:02pm UTC](https://forum.ionicframework.com/t/ion-item-with-icon-text-and-toggle/93072/1 "2017-06-05T15:02:58Z")

</div>

Hello there,  
I try to set up a list, where each item consists of the 3 elements icon, text and toggle.  
Basicly exact the same as shown here: [https://ionicframework.com/docs/components/#icon-list](https://ionicframework.com/docs/components/#icon-list)

But i dont get it to work.  
This is my style:

```auto
<ion-list>
    <ion-item-divider color="light">General settings</ion-item-divider>
      <ion-item>
        <ion-icon name="notifications" item-left></ion-icon>
          Push notifications
        <ion-toggle [(ngModel)]="push_notifications"></ion-toggle>
      </ion-item>
      <ion-item>
        <ion-icon name="leaf" item-left></ion-icon>
          Herbology
        <ion-icon name="rose" item-right></ion-icon>
      </ion-item>
  </ion-list>

```

The second item works just fine, but in the first item i only see the icon and the toggle, but the text is gone.  
Here is a screenshot for a better view: ![image](https://global.discourse-cdn.com/ionicframework/original/3X/9/a/9a246c74a771d7c0762578abe2057af8b8f38aed.PNG)

Anyone can tell me, what i am doing wrong?

Thank you  
Skee

---

<div class="post-metadata">

**Author:** ![ashley\_shookhye](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@ashley\_shookhye](https://forum.ionicframework.com/u/ashley_shookhye)\
**Post date:** [June 6, 2017, 5:37pm UTC](https://forum.ionicframework.com/t/ion-item-with-icon-text-and-toggle/93072/2 "2017-06-06T17:37:37Z")

</div>

maybe

```auto
 <ion-label>Push notifications</ion-label>
 <ion-toggle [(ngModel)]="push_notifications"></ion-toggle>

```

---

<div class="post-metadata">

**Author:** ![Skee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/skee/32/109247_2.png) [@Skee](https://forum.ionicframework.com/u/Skee)\
**Post date:** [June 9, 2017, 8:02am UTC](https://forum.ionicframework.com/t/ion-item-with-icon-text-and-toggle/93072/3 "2017-06-09T08:02:28Z")

</div>

Awesome!  
If i do it like this, it worls just fine 🙂

```auto
<ion-icon name="notifications" item-left></ion-icon>
<ion-label>Push notifications</ion-label>
<ion-toggle [(ngModel)]="push_notifications"></ion-toggle>

```

Thank you!
