Framework7 ButtonsFramework7 provides a lot of ready to use buttons. You just have to add appropriate classes to your links or submit/button inputs to use these buttons. iOS Theme ButtonsUsual ButtonsIt can achieved by using button class to any link or button input: Note: By default, each button in Framework7 is "display:block" and will take 100% of its parent width.Active StateJust add additional active class to button to make your button active. Round ButtonsThe button-round class is used to add round buttons. Big ButtonsYou can use the big button by adding button-big class to your input button. Buttons Row / Segmented ControlIf you want to get segmented buttons row, you have to wrap the buttons with buttons-row class. Each button will be of equal width. Fill ButtonsFill Buttons is almost similar as active but intended to be used as single button which slightly shows a different effect on click/tap: Color ButtonsYou can use 10 default color themes to colorize buttons. List Block ButtonsYou can use buttons with list-views. Using GridYou can place buttons anywhere in the grid according to your requirements. iOS Theme Button ExampleLet's take an example to demonstrate iOS theme buttons: Test it NowMaterial Theme ButtonsThe Material theme is used to provide many button to use in your application by using appropriate classes. Following is a list of material theme buttons: Usual/Flat ButtonsIf you want to use flat button, use button class to your input button. Buttons RowTo use button rows, you have to wrap buttons with element with buttons-row class. Raised ButtonsUse "button-raised" class to get raised styled buttons. Raised Fill ButtonsUse button-fill class to your input button. Color ButtonsYou can use 20 default Material color themes to color your buttons. Color Fill ButtonsYou can use color fill buttons by applying button-fill and color classes. Color Raised Fill ButtonsYou can use color raised fill buttons by applying button-raised, button-fill and color classes. Color Ripple ButtonsIf you want to add ripple of different color, just add ripple-[color] class to button. Big ButtonsTo make your button big, add button-big class to button. List Block ButtonsYou can also use buttons with list views. Material Theme Buttons ExampleLet's take an example to demonstrate Material theme buttons: Test it NowNext TopicFramework7 Action Button |