Default button
The default button style is used for medium emphasis. Use it in place of a call to action button when the action requires less prominence, or if there are multiple primary actions of the same importance in the same view.
Actions
Buttons allow users to perform an action or to (occasionally) navigate to another page. They have multiple styles, sizes and variants for various situations, and can call attention to where a user needs to do something in order to move forward in a flow.
The default button style is used for medium emphasis. Use it in place of a call to action button when the action requires less prominence, or if there are multiple primary actions of the same importance in the same view.
Buttons should always have a label, unless they are only using an icon that is universally understood and accessible. They can have an optional icon, but it should not be used for decoration. Use an icon only when necessary and when it has a strong association with the label text. The label can be hidden to create an icon-only button. If the label is hidden, an icon is required, and the label will appear in a tooltip.
An Icon button is a uniquely styled button. This is used most often in views that have need for clear de-emphasized icon buttons, like in headers and action-bars.
The primary variant communicates strong emphasis and is reserved for actions that are essential to an experience. These give extra prominence to important actions and are meant to establish a clear hierarchy. This is the call to action.
The secondary variant is for low emphasis. It’s paired with other button types to surface less prominent actions, and should never be the only button in a group.
The contrast variant is used for situations that require placing emphasis on a button but without it being the primary action in the view.
The clear variant is the least emphasized style of button. It has no background fill.
The link variant is similar to the clear variant. It has no background fill but inherits the anchor link color.
The negative button is for actions that can be destructive or have negative consequences if taken. Use it sparingly. This variant requires an Icon along with its label in order to show the semantic meaning and not rely solely on color.
Buttons come in three different sizes: small, medium, and large. The medium size is the default and most frequently used option. Use the other sizes sparingly; they should be used to create a hierarchy of importance within the page.