<Button />

Button component. If you want to place a button in a toolbar, use ToolbarButton or BackButton instead. Will automatically display as a Material Design button with a ripple effect on Android.

Tutorial

Props

Name Type Default Value Description
modifier string The appearance of the button. Optional.
disabled bool Specifies whether the button is disabled. Optional.
ripple bool Specifies whether the button has a ripple effect. Optional.
onClick function This function will be called ones the button is clicked. Optional.

Preset Modifiers

Name Description
outline Button with outline and transparent background
light Button that doesn’t stand out.
quiet Button with no outline and or background..
cta Button that really stands out.
large Large button that covers the width of the screen.
large--quiet Large quiet button.
large--cta Large call to action button.
material Material Design button
material--flat Material Design flat button

Discussion

Need Help?

If you have any questions, use our Community Forum or talk to us via Gitter chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.