ionic Buttons
Buttons are an indispensable part of mobile apps; apps of different styles need different button styles.
By default, the button display style is:display: inline-block。
The button-block style button displays as:display: block, it completely fills the width of the parent element and includes the padding property.
Using the button-full class makes the button display at full width without padding.
Buttons of Different Sizes
button-large sets a large button, button-small sets a small button.
Buttons Without Background
button-outline sets the background to transparent.
Buttons Without Background or Border
button-clear sets the button background to transparent with no border.
Icon Buttons
We can add icons to buttons.
Learn More
Back
Reorder
Adding Buttons to the Header/Footer
Buttons can be added to the header/footer, and their style is set according to the header/footer, so you don't need to add extra styles to the buttons.
The button-clear class can set header/footer buttons with no background or border.
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.