Hi, I have a simple button with icon and text.
<ion-button>
<ion-icon slot="start" name="star"></ion-icon>
<small>Left Icon</small>
</ion-button>
How can I put text below the icon?
Using ‘display: block’ is not working.
Thanks for the help
Hi, I have a simple button with icon and text.
<ion-button>
<ion-icon slot="start" name="star"></ion-icon>
<small>Left Icon</small>
</ion-button>
How can I put text below the icon?
Using ‘display: block’ is not working.
Thanks for the help
Hello something like this
<ion-tab-button slot="start">
<ion-icon name="star"></ion-icon>
<ion-label>Left Icon</ion-label>
</ion-tab-button>
Thank you but It’s not working.
did you use ion-tab-button ? I have several of this in my application, and all the texts re right below the icons
which version that you are using? ionic 3 or 4 ?
As ion-button wrapped content with css display as FLEX.