Skip to content
Material Design 3
Main Navigation
v3
v2
v1

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

English

简体中文
繁體中文
Español
Français
Русский
Português – Brasil
Deutsch
日本語
한국어
Italiano
Polski
Türkçe
čeština
magyar

Appearance

Sidebar Navigation

Foundations

Accessibility

Overview: Principles

Overview: Assistive technology

Designing: Overview

Designing: Color contrast

Designing: Structure

Designing: Flow

Designing: Elements

Writing and text: Best practices

Writing and text: Text truncation

Writing and text: Text resizing

Building for all: User needs

Building for all: Co-design

Content design

Overview

Alt text

Global writing: Overview

Global writing: Word choice

Notifications

Style guide: UX writing best practices

Style guide: Word choice

Style guide: Grammar and punctuation

Customizing Material

Devices

Watches: Overview

Watches: Foundations

Watches: Styles

Watches: Layout

XR

Design: Overview

Design: Interaction

Design: Layout

Design: Accessibility

Components: Overview

Components: App bars

Components: Dialogs

Components: Nav bar

Components: Nav rail

Components: Toolbars

Design tokens: Overview

Design tokens: How to use tokens

Interaction

Gestures

Inputs

Selection

States: Overview

States: State layers

States: Applying states

Layout

Overview: Overview

Overview: Parts of layout

Overview: Adaptive design

Scaffold: Overview

Scaffold: Bars

Scaffold: Rails

Scaffold: Panes

Grids & spacing: Overview

Grids & spacing: Grids

Grids & spacing: Spacing

Grids & spacing: Density

Breakpoints: Overview

Breakpoints: Compact

Breakpoints: Medium

Breakpoints: Expanded

Breakpoints: Large & extra-large

Bidirectionality & RTL

Canonical examples: Overview

Canonical examples: Feed

Canonical examples: List-detail

Canonical examples: Supporting pane

Usability: Overview

Usability: Applying M3 Expressive

Material A-Z

Styles

Color

Color system: Overview

Color system: How the system works

Color roles

Color schemes

Choosing a scheme

Static: Baseline

Static: Custom brand

Dynamic: Choosing a source

Dynamic: User-generated source

Dynamic: Content-based source

Advanced: Overview

Advanced: Apply colors

Advanced: Define new colors

Advanced: Adjust existing colors

Color resources

Elevation: Overview

Elevation: Applying elevation

Elevation: Tokens

Icons: Overview

Icons: Designing icons

Icons: Applying icons

Motion

Motion physics system: How it works

Motion physics system: Specs

Easing and duration: Applying easing and duration

Easing and duration: Tokens & specs

Transitions: Transition patterns

Transitions: Applying transitions

Shape: Overview & principles

Shape: Corner radius scale

Shape: Shape morph

Spacing: Overview

Spacing: Applying spacing

Spacing: Tokens

Typography: Overview

Typography: Fonts

Typography: Type scale & tokens

Typography: Applying type

Typography: Editorial treatments

Components

App bars: Overview

App bars: Specs

App bars: Guidelines

App bars: Accessibility

Badges: Overview

Badges: Specs

Badges: Guidelines

Badges: Accessibility

Buttons

All buttons

Button groups: Overview

Button groups: Specs

Button groups: Guidelines

Button groups: Accessibility

Buttons: Overview

Buttons: Specs

Buttons: Guidelines

Buttons: Accessibility

Extended FABs: Overview

Extended FABs: Specs

Extended FABs: Guidelines

Extended FABs: Accessibility

FAB menu: Overview

FAB menu: Specs

FAB menu: Guidelines

FAB menu: Accessibility

FABs: Overview

FABs: Specs

FABs: Guidelines

FABs: Accessibility

Icon buttons: Overview

Icon buttons: Specs

Icon buttons: Guidelines

Icon buttons: Accessibility

Segmented buttons: Overview

Segmented buttons: Specs

Segmented buttons: Guidelines

Segmented buttons: Accessibility

Split button: Overview

Split button: Specs

Split button: Guidelines

Split button: Accessibility

Cards: Overview

Cards: Specs

Cards: Guidelines

Cards: Accessibility

Carousel: Overview

Carousel: Specs

Carousel: Guidelines

Carousel: Accessibility

Checkbox: Overview

Checkbox: Specs

Checkbox: Guidelines

Checkbox: Accessibility

Chips: Overview

Chips: Specs

Chips: Guidelines

Chips: Accessibility

Date & time pickers

Date pickers: Overview

Date pickers: Specs

Date pickers: Guidelines

Date pickers: Accessibility

Time pickers: Overview

Time pickers: Specs

Time pickers: Guidelines

Time pickers: Accessibility

Dialogs: Overview

Dialogs: Specs

Dialogs: Guidelines

Dialogs: Accessibility

Divider: Overview

Divider: Specs

Divider: Guidelines

Divider: Accessibility

Lists: Overview

Lists: Specs

Lists: Guidelines

Lists: Accessibility

Loading & progress

Loading indicator: Overview

Loading indicator: Specs

Loading indicator: Guidelines

Loading indicator: Accessibility

Progress indicators: Overview

Progress indicators: Specs

Progress indicators: Guidelines

Progress indicators: Accessibility

Menus: Overview

Menus: Specs

Menus: Guidelines

Menus: Accessibility

Navigation

Navigation bar: Overview

Navigation bar: Specs

Navigation bar: Guidelines

Navigation bar: Accessibility

Navigation drawer: Overview

Navigation drawer: Specs

Navigation drawer: Guidelines

Navigation drawer: Accessibility

Navigation rail: Overview

Navigation rail: Specs

Navigation rail: Guidelines

Navigation rail: Accessibility

Radio button: Overview

Radio button: Specs

Radio button: Guidelines

Radio button: Accessibility

Search: Overview

Search: Specs

Search: Guidelines

Search: Accessibility

Sheets

Bottom sheets: Overview

Bottom sheets: Specs

Bottom sheets: Guidelines

Bottom sheets: Accessibility

Side sheets: Overview

Side sheets: Specs

Side sheets: Guidelines

Side sheets: Accessibility

Sliders: Overview

Sliders: Specs

Sliders: Guidelines

Sliders: Accessibility

Snackbar: Overview

Snackbar: Specs

Snackbar: Guidelines

Snackbar: Accessibility

Switch: Overview

Switch: Specs

Switch: Guidelines

Switch: Accessibility

Tabs: Overview

Tabs: Specs

Tabs: Guidelines

Tabs: Accessibility

Text fields: Overview

Text fields: Specs

Text fields: Guidelines

Text fields: Accessibility

Toolbars: Overview

Toolbars: Specs

Toolbars: Guidelines

Toolbars: Accessibility

Tooltips: Overview

Tooltips: Specs

Tooltips: Guidelines

Tooltips: Accessibility

On this page

Buttons: Specs ​

Buttons prompt most actions in a UI.

Variants ​

Diagram comparing buttons with toggle buttons.
  1. Default button
  2. Toggle button

VariantM3M3 Expressive
DefaultAvailableAvailable
Toggle (selection)--Available

Configurations ​

Diagram showing configurations of buttons.
  1. Size
  2. Shape
  3. Color
  4. Small button padding

CategoryConfigurationM3M3 Expressive
SizeSmall (default)AvailableAvailable
XS, M, L, XL--Available
ShapeRound (default)AvailableAvailable
Square--Available
ColorElevated, filled (default), tonal, outlined, textAvailableAvailable
Small button padding24dpAvailableNot recommended. Use 16dp
16dp--Available

Tokens & specs ​

Use the table's menu to select a token set. Button token sets are separated into common tokens, color, and size. View baseline tokens

Button - Color - Elevated ​

Theme
Contrast

Button - Color - Filled ​

Theme
Contrast

Button - Color - Tonal ​

Theme
Contrast

Button - Color - Outlined ​

Theme
Contrast

Button - Color - Text ​

Theme
Contrast

Button - Size - Xsmall ​

TokenValue
Button xsmall container height32dp
Button xsmall outline width1dp
Button xsmall label fontRoboto
Button xsmall label line height20pt
Button xsmall label size14pt
Button xsmall label weight500
Button xsmall label tracking0.1pt
Button xsmall icon size20dp
Button xsmall shape roundCircular
Button xsmall shape square12dp
Button xsmall leading space12dp
Button xsmall between icon label space4dp
Button xsmall trailing space12dp
Button xsmall shape pressed morph8dp
Button xsmall shape spring animation damping0.9
Button xsmall shape spring animation stiffness1400
Button xsmall selected container shape round12dp
Button xsmall selected container shape squareCircular

Button - Size - Small ​

TokenValue
Button small container height40dp
Button small outline width1dp
Button small label fontRoboto
Button small label line height20pt
Button small label size14pt
Button small label weight500
Button small label tracking0.1pt
Button small icon size20dp
Button small shape roundCircular
Button small shape square12dp
Button small leading space16dp
Button small between icon label space8dp
Button small trailing space16dp
Button small shape pressed morph8dp
Button small shape spring animation damping0.9
Button small shape spring animation stiffness1400
Button small selected container shape round12dp
Button small selected container shape squareCircular

Button - Size - Medium ​

TokenValue
Button medium container height56dp
Button medium outline width1dp
Button medium label fontRoboto
Button medium label line height24pt
Button medium label size16pt
Button medium label weight500
Button medium label tracking0.15pt
Button medium icon size24dp
Button medium shape roundCircular
Button medium shape square16dp
Button medium leading space24dp
Button medium between icon label space8dp
Button medium trailing space24dp
Button medium shape pressed morph12dp
Button medium shape spring animation damping0.9
Button medium shape spring animation stiffness1400
Button medium selected container shape round16dp
Button medium selected container shape squareCircular

Button - Size - Large ​

TokenValue
Button large container height96dp
Button large outline width2dp
Button large label fontRoboto
Button large label line height32pt
Button large label size24pt
Button large label weight400
Button large label tracking0
Button large icon size32dp
Button large shape roundCircular
Button large shape square28dp
Button large leading space48dp
Button large between icon label space12dp
Button large trailing space48dp
Button large shape pressed morph16dp
Button large shape spring animation damping0.9
Button large shape spring animation stiffness1400
Button large selected container shape round28dp
Button large selected container shape squareCircular

Button - Size - Xlarge ​

TokenValue
Button xlarge container height136dp
Button xlarge outline width3dp
Button xlarge label fontRoboto
Button xlarge label line height40pt
Button xlarge label size32pt
Button xlarge label weight400
Button xlarge label tracking0
Button xlarge icon size40dp
Button xlarge shape roundCircular
Button xlarge shape square28dp
Button xlarge leading space64dp
Button xlarge between icon label space16dp
Button xlarge trailing space64dp
Button xlarge shape pressed morph16dp
Button xlarge shape spring animation damping0.9
Button xlarge shape spring animation stiffness1400
Button xlarge selected container shape round28dp
Button xlarge selected container shape squareCircular

Anatomy ​

Diagram labeling 3 parts of a button.
  1. Container
  2. Label text
  3. Icon (optional)

Color ​

Color values are implemented through design tokensDesign tokens are the building blocks of all UI elements. The same tokens are used in designs, tools, and code.More on tokens. For designers, this means working with color values that correspond with tokens. In implementation, a color value will be a token that references a value.

  • There are five built-in button color styles: elevated, filled, tonal, outlined, and text
  • The default and toggle buttons use different colors
  • Toggle buttons don't use the text style

TIP

These color roles were chosen to create design coherence and familiarity. Other color roles can be used as long as the container and text have a 3:1 contrast ratio. For example, tertiary and on tertiary.

Diagram shows dark and light color schemes for buttons.

A. Elevated, B. Filled, C. Tonal, D. Outlined, E. Text

  1. Default
  2. Toggle: unselected
  3. Toggle: selected

1. Default2. Toggle unselected3. Toggle selected
Elevated container
Elevated icon & label
Surface container low
Primary
Surface container low
Primary
Primary
On primary
Filled container
Filled icon & label
Primary
On primary
Surface container
On surface variant
Primary
On primary
Tonal container
Tonal icon & label
Secondary container
On secondary container
Secondary container
On secondary container
Secondary
On secondary
Outlined container
Outlined icon & label
Outline variant (outline)
On surface variant
Outline variant (outline)
On surface variant
Inverse surface
Inverse on surface
Text icon & labelPrimary----

States ​

StatesStates show the interaction status of a component or UI element.More on states are visual representations used to communicate the status of a component or interactive element.

Elevated button states ​

The elevated button style has an elevation of 1 by default and 0 when disabled.

Default ​


Elevated button states.
  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Toggle ​


Toggle elevated button states.

A. Unselected, B. Selected

  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Filled button states ​

Default ​


Filled button states.
  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Toggle ​


Toggle filled button states.

A. Unselected, B. Selected

  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Tonal button states ​

Default ​


Tonal button states.
  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Toggle ​


Toggle tonal button states.

A. Unselected, B. Selected

  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Outlined button states ​

The outlined button's container fill is invisible at rest, but the opacity and state layers behave the same as other button styles when disabled, hovered, focused, or pressed.

Default ​


Outlined button states.
  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Toggle ​


Outlined button states.
  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Text button style states ​

The text button's container is invisible at rest, but the opacity and state layers behave the same as other button styles when disabled, hovered, focused, or pressed. There is no toggle text button.

Default text button style states.
  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed

Shape morph ​

Pressed state

When pressed, buttons can morph to become more square. Both round and square buttons should have the same pressed shape.

The corner radius value differs for each button size. See full button corner measurements

Shape changes of a button.

A. Round button, B. Square button

  1. Enabled
  2. Hovered
  3. Pressed

When selected

In addition to changing shape when pressed, toggle buttons also change the resting shape from round (unselected) to square (selected).

If the resting unselected shape is square, the selected shape should be round.

Shape changes of a toggle button.

A. Round button, B. Square button

  1. Enabled
  2. Hovered
  3. Pressed
  4. Selected

Measurements ​

Diagram of measurements of all button sizes.

Padding and size measurements of each button size

  1. Extra small
  2. Small
  3. Medium
  4. Large
  5. Extra large

Target areas ​

Extra small and small icon buttons must have a target size of 48x48dp or larger to be accessible.

Diagram of small button target areas.

A. Extra small  B. Small

  1. Round button
  2. Button with icon
  3. Square button

Corner sizes ​


Diagram of corner radii of buttons.

XSSMLXL
A. Round buttonFullFullFullFullFull
B. Square button12dp12dp16dp28dp28dp
C. Pressed state8dp8dp12dp16dp16dp

Baseline tokens ​

Use the table's menu to switch token sets. The baseline button token sets are organized by color.

[Deprecated] Button - Elevated ​

Theme
Contrast

[Deprecated] Button - Filled ​

Theme
Contrast

[Deprecated] Button - Tonal ​

Theme
Contrast

[Deprecated] Button - Outlined ​

Theme
Contrast

[Deprecated] Button - Text ​

Theme
Contrast
Pager
Previous pageButtons: Overview
Next pageButtons: Guidelines

Released under the Apache 2.0 or CC BY 4.0

Copyright © 2018-Present Google

https://m3.material.io/components/buttons/specs

Released under the Apache 2.0 or CC BY 4.0

Copyright © 2018-Present Google