YouTip LogoYouTip

Ionic Button

Buttons are an indispensable part of mobile apps. Different styles of apps require different button styles. By default, the button display style is: **display: inline-block**. [Try it Β»](#) The button-block style button displays as: **display: block**, it will completely fill the width of the parent element, including the padding property. [Try it Β»](#) Using the button-full class, you can make the button display at full width, without including padding. [Try it Β»](#) * * * ## Buttons of Different Sizes button-large sets a large button, button-small sets a small button. [Try it Β»](#) * * * ## Outline Button button-outline sets a transparent background. [Try it Β»](#) * * * ## Clear Button button-clear sets a transparent background for the button, with no border. [Try it Β»](#) * * * ## Icon Buttons We can add icons to buttons. Learn MoreBackReorder [Try it Β»](#) * * * ## Adding Buttons to Header/Footer Buttons can be added to the header/footer. The button style is set according to the header/footer, so you don't need to add extra styles to the button.

Header Buttons

[Try it Β»](#) The button-clear class can be used to set header/footer buttons with no background and border.
Header Buttons
[Try it Β»](#) * * * ## Button Bar We can use the button-bar class to set up a button bar. In the following example, we add a button bar to the header and content. [Try it Β»](#)
← Ng Ng BindIonic Creat App β†’