Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flat buttons vs raised buttons

I want to know the basic difference between Flat button and Raised Button. According to the new Android material design guidelines i want to use raised button but i don't know what are they. there are forums on the web that display a button which is raised but they call it Flat.

can any one tell me the base difference between the two ? (By Look specifically)

like image 454
Usman Riaz Avatar asked Apr 09 '15 07:04

Usman Riaz


1 Answers

Both Buttons are following the new Flat Design concept instead of the old Gradient Design concept.

Those concept used to give the user the feeling of this is a Clickable button not just a colored area with text or image.

Raised button

This is the Raised Button that gives you the feeling that it is relatively above the surface on part of it. Which give the user the feeling that he/she can push it down expecting a specific action. More Elegant and give better UX

Raised button

Example

Raised button example

Flat button

This is the Flat Button. Which is only depend on change part of the surface color to give the user the feeling of this is a different place that might give you different action if you clicked on it.

Flat button

Example

Flat button example

FAB button

This is the FAB Button. (FAB stands for Floating Action Button) Which is following the same concept of the Raised Button in Material Design, but with a floating feature. This FAB button can be used to indicate a primary action in an app.

FAB Button

Example

FAB Button example

Choosing the type of button to use

Choosing a button style depends on the primacy of the button, the number of containers on screen, and the screen layout. - Material Design guidelines

According to the Material Design guidelines, you can choose which type of button to use based on these 3 factors:

  • Function: Is it important and ubiquitous enough to be a floating action button?
  • Dimension: Choose raised or flat depending on the container it will be in and how many z-space layers you have on screen. There should not be many layers of objects on the screen.
  • Layout: Use primarily one type of button per container. Only mix button types when you have a good reason to, such as emphasizing an important function. Choosing the button type to use - Pyramid

Possible usages

  • Dialogs -> flat buttons
  • Inline -> flat/raised buttons
  • Always available -> FAB button/persistent footer button
like image 178
Sami Eltamawy Avatar answered Oct 14 '22 14:10

Sami Eltamawy