v-ons-fab

The Floating action button is a circular button defined in the Material Design specification. They are often used to promote the primary action of the app. It can be displayed either as an inline component or in one of the corners. Normally it will be positioned in the lower right corner of the screen.

Tutorial

See also

Props

Name Type Default Value Description
disabled Boolean Specify if button should be disabled. Optional.
modifier String The appearance of the button. Optional.
position String The position of the button. Should be a string like "bottom right" or "top left". If this attribute is not defined it will be displayed as an inline component. Optional.
ripple Boolean If this attribute is defined, the button will have a ripple effect when tapped. Optional.

Preset Modifiers

Name Description
mini Makes the ons-fab smaller.

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.