How to put text insde the side menu

i want to do like that how can i do that?
Please help me anyone

you design this menu in app.html and for use icon with text modify page array declaration in app.comp.html
like this : pages: Array<{ title: string, component: any, icon: string }>;
this.pages = [
{ title: ‘My profile’, component: MyProfile, icon: ‘ios-person-outline’ }, //add your menu list
use in app.html as :
<button menuClose class=“menuStyle” ion-item *ngFor=“let p of pages” (click)=“openPageWithBackButton§”>
<ion-icon item-left class=“menuIcon” [name]=“p.icon” >


1 Like