Buttons
- Dashboard
- UI Elements
- Buttons
There are 3 main button types described in material design. The raised button is a standard button that signify actions and seek to give depth to a mostly flat page. The floating circular action button is meant for very important functions. Flat buttons are usually used within elements that already have depth like cards or modals.
Raised Button
The raised button is a standard button that signify actions and seek to give depth to a mostly flat page. The floating circular action button is meant for very important functions. Flat buttons are usually used within elements that already have depth like cards or modals.
<a class="waves-effect waves-light btn">button</a>
<a class="waves-effect waves-light btn"><i class="material-icons left">settings_backup_restore</i> button</a>
<a class="waves-effect waves-light btn"><i class="material-icons right">gps_fixed</i> button</a>
Flat Button
Floating Button
Submit Button
When you use a button to submit a form, instead of using a input tag, use a button tag with a type submit
<button class="btn waves-effect waves-light " type="submit" name="action">Submit</button>
<button class="btn waves-effect waves-light " type="submit" name="action">Reply
<i class="material-icons left">reply</i>
</button>
<button class="btn waves-effect waves-light " type="submit" name="action">Send
<i class="material-icons right">send</i>
</button>
Larger Button
This button has a larger height for buttons that need more attention.