Skip to content

Button — Reference

Reference · Advanced · Framework7 8

Button settings and behavior. Settings include Title, Active, Fill, Round.

Button settings and events. Select the component in App Structure to find these controls in Properties.

Name Description
TitleThe Title setting has no additional explanation in the component definition.
ActiveDefault: false.
FillDefault: false.
RoundDefault: false.
SmallDefault: false.
LargeDefault: false.
RaisedDefault: false.
OutlineDefault: false.
Text ColorOptions: Default, Red (text-color-red), Green (text-color-green), Blue (text-color-blue), Pink (text-color-pink), Yellow (text-color-yellow), Orange (text-color-orange), Purple (text-color-purple), Deep Purple (text-color-deeppurple), Light Blue (text-color-lightblue), Teal (text-color-teal), Lime (text-color-lime), Deep Orange (text-color-deeporange), Gray (text-color-gray), White (text-color-white), Black (text-color-black) Default: "".
Button ColorOptions: Default, Red (color-red), Green (color-green), Blue (color-blue), Pink (color-pink), Yellow (color-yellow), Orange (color-orange), Purple (color-purple), Deep Purple (color-deeppurple), Light Blue (color-lightblue), Teal (color-teal), Lime (color-lime), Deep Orange (color-deeporange), Gray (color-gray), White (color-white), Black (color-black) Default: "".
Name Description
IDAttribute: id.
LinkAttribute: href.
TransitionOptions: Default, Circle (f7-circle), Cover (f7-cover), Cover Vert (f7-cover-v), Dive (f7-dive), Fade (f7-fade), Flip (f7-flip), Parallax (f7-parallax), Push (f7-push) Default: "". Attribute: data-transition.
AnimationOptions: Default, None (no-animation), Enable (with-animation) Default: "".
TooltipAttribute: title.
Icon OnlyDefault: false.
ExternalDefault: false.
Name Description
ActionOptions: None, Back (back), Open Card (card-open), Close Card (card-close), Open Panel (panel-open), Close Panel (panel-close), Toggle Panel (panel-toggle), Open Popover (popover-open), Close Popover (popover-close), Open Popup (popup-open), Close Popup (popup-close), Open Login (login-screen-open), Close Login (login-screen-close) Default: "".
CardOptions: None Default: "". Attribute: href.
PanelOptions: Right (right), Left Default: "". Attribute: data-panel.
PopoverOptions: Default Default: "". Attribute: data-popover.
PopupOptions: Default Default: "". Attribute: data-popup.
Login ScreenOptions: Default Default: "". Attribute: data-login-screen.