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

外觀

Sidebar Navigation

基礎

無障礙

總覽:原則

概覽:輔助技術

設計:總覽

設計:色彩對比

設計:結構

設計:流程

設計:元素

寫作與文字:最佳實務

撰寫與文字:文字截斷

撰寫與文字:文字縮放

為所有人打造:使用者需求

為所有人打造:共同設計

內容設計

總覽

替代文字

全球寫作:總覽

全球寫作:用詞選擇

通知

樣式指南:UX 寫作最佳實務

樣式指南:用詞選擇

風格指南:文法與標點

自訂 Material

裝置

手錶設計:總覽

手錶設計:基礎

手錶設計:樣式

手錶設計:版面配置

XR

沉浸式 XR 設計:總覽

沉浸式 XR 設計:互動

沉浸式 XR 設計:版面配置

為沉浸式 XR 設計:無障礙

XR 元件:總覽

XR 元件:應用程式列

XR 元件:對話方塊

XR 元件:導覽列

XR 元件:導覽軌

XR 元件:工具列

設計 token:總覽

設計 token:如何使用 token

互動

手勢

輸入裝置:基礎

選取:總覽

狀態:總覽

狀態:狀態層

狀態:套用狀態

版面配置

版面配置總覽:總覽

版面概覽:版面的組成部分

版面配置概覽:自適應設計

Scaffold: 概述

Scaffold:列

Scaffold:導軌

Scaffold:窗格

網格與間距:總覽

網格與間距:網格

網格與間距:間距

格線與間距:密度

中斷點:總覽

中斷點:精簡

中斷點:中型

中斷點:展開式

中斷點:大型與超大型

雙向性與 RTL

標準版面配置範例:總覽

標準版面配置範例:資訊流

標準版面配置範例:清單-詳細資料

標準版面配置範例:輔助窗格

易用性:總覽

可用性:應用 M3 Expressive

Material A-Z

樣式

色彩

色彩系統:總覽

色彩系統:系統的運作方式

色彩角色

配色方案

選擇色彩方案

靜態色彩配色方案:Baseline

靜態色彩配色方案:自訂品牌

動態配色:選擇來源色

動態色彩配色方案:使用者產生的來源

動態色彩配色方案:基於內容的來源

進階自訂:總覽

進階自訂:套用色彩

進階自訂:定義新色彩

進階自訂:調整現有色彩

色彩資源

高度:總覽

高度:套用高度

高度:token

圖示:總覽

圖示:設計圖示

圖示:套用圖示

動態效果

動態物理系統:運作方式

動態物理系統:規格

緩動與持續時間:套用緩動與持續時間

緩動與持續時間:token 與規格

轉場:轉場模式

轉場:套用轉場

形狀:總覽與原則

形狀:圓角半徑尺度

形狀:形狀變形

間距:總覽

間距:套用間距

間距:token

字體排印:總覽

字體排印:字體

字體排印:字階與 token

字體排印:套用字體樣式

字體排印:編輯式處理

元件

應用程式列:總覽

應用程式列:規格

應用程式列:指南

應用程式列:無障礙功能

徽章:總覽

徽章:規格

徽章:指南

徽章:無障礙

按鈕

所有按鈕

按鈕群組:總覽

按鈕群組:規格

按鈕群組:指南

按鈕群組:無障礙

按鈕:總覽

按鈕:規格

按鈕:指南

按鈕:無障礙

擴充 FAB:總覽

擴充 FAB:規格

擴充 FAB:指南

擴充 FAB:無障礙

FAB 選單:總覽

FAB 選單:規格

FAB 選單:指南

FAB 選單:無障礙

浮動操作按鈕(FAB):總覽

浮動操作按鈕 (FAB):規格

浮動操作按鈕(FAB):指南

浮動操作按鈕(FAB):無障礙

圖示按鈕:總覽

圖示按鈕:規格

圖示按鈕:指南

圖示按鈕:無障礙

分段按鈕:總覽

分段按鈕:規格

分段按鈕:指南

分段按鈕:無障礙

分割按鈕:總覽

分割按鈕:規格

分割按鈕:指南

分割按鈕:無障礙

卡片:總覽

卡片:規格

卡片:指南

卡片:無障礙

輪播:總覽

輪播:規格

輪播:指南

輪播:無障礙

核取方塊:總覽

核取方塊:規格

核取方塊:指南

核取方塊:無障礙

晶片:總覽

晶片:規格

晶片:指南

晶片:無障礙

日期與時間選擇器

日期選擇器:總覽

日期選擇器:規格

日期選擇器:指南

日期選擇器:無障礙設計

時間選擇器:總覽

時間選擇器:規格

時間選擇器:指南

時間選擇器:無障礙功能

對話方塊:總覽

對話方塊:規格

對話方塊:指南

對話方塊:無障礙

分隔線:總覽

分隔線:規格

分隔線:指南

分隔線:無障礙

清單:總覽

清單:規格

清單:指南

清單:無障礙

載入與進度

載入指示器:總覽

載入指示器:規格

載入指示器:指引

載入指示器:無障礙

進度指示器:總覽

進度指示器:規格

進度指示器:指南

進度指示器:無障礙

選單:總覽

選單:規格

選單:指南

選單:無障礙

導覽

導覽列:總覽

導覽列:規格

導覽列:指南

導覽列:無障礙

導覽匣:總覽

導覽匣:規格

導覽匣:指南

導覽匣:無障礙

導覽軌:總覽

導覽軌:規格

導覽軌:指南

導覽軌:無障礙

選項按鈕:總覽

選項按鈕:規格

選項按鈕:指南

選項按鈕:無障礙

搜尋:總覽

搜尋:規格

搜尋:指南

搜尋:無障礙

工作表

底部工作表:總覽

底部工作表:規格

底部工作表:指南

底部工作表:無障礙

側邊工作表:總覽

側邊工作表:規格

側邊工作表:指南

側邊工作表:無障礙

滑桿:總覽

滑桿:規格

滑桿:指南

滑桿:無障礙

提示條:總覽

提示條: 規格

提示條:指南

提示條:無障礙功能

開關:總覽

開關:規格

開關:指南

開關:無障礙

分頁標籤:總覽

分頁標籤:規格

分頁標籤:指南

分頁標籤:無障礙

文字欄位:總覽

文字欄位:規格

文字欄位:指南

文字欄位:無障礙

工具列:總覽

工具列:規格

工具列:指南

工具列:無障礙功能

工具提示:總覽

工具提示:規格

工具提示:指南

工具提示:無障礙

本頁導覽

按鈕:規格 ​

按鈕可用於觸發 UI 中的大多數操作。

變體 ​

預設按鈕與切換按鈕對照示意圖
  1. 預設按鈕
  2. 切換按鈕

變體M3M3 Expressive
預設可用可用
切換(選取)--可用

配置 ​

按鈕配置示意圖
  1. 尺寸
  2. 形狀
  3. 色彩
  4. 小尺寸按鈕內距

類別配置M3M3 Expressive
尺寸小型(預設)可用可用
XS、M、L、XL--可用
形狀圓形(預設)可用可用
方形--可用
色彩浮起、填滿(預設)、色調、外框、文字可用可用
小尺寸按鈕內距24dp可用不建議使用,請改用 16dp
16dp--可用

token 與規格 ​

使用下方表格中的選單來選取 token 集。按鈕 token 集分為通用 token、色彩與尺寸。檢視基準 token

按鈕 - 色彩 - 浮起式 ​

主題
對比度

按鈕 - 色彩 - 填滿式 ​

主題
對比度

按鈕 - 色彩 - 色調式 ​

主題
對比度

按鈕 - 色彩 - 外框式 ​

主題
對比度

按鈕 - 色彩 - 文字 ​

主題
對比度

按鈕 - 尺寸 - 超小型 ​

Token取值
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

按鈕 - 尺寸 - 小型 ​

Token取值
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

按鈕 - 尺寸 - 中型 ​

Token取值
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

按鈕 - 尺寸 - 大型 ​

Token取值
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

按鈕 - 尺寸 - 超大型 ​

Token取值
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

結構 ​

標示按鈕 3 個組成部分的示意圖
  1. 容器
  2. 標籤文字
  3. 圖示(選用)

色彩 ​

色彩值是透過 設計 token設計 token 是所有 UI 元素的基本組成要素。相同的 token 會用於設計、工具與程式碼。更多關於 token 實作。對設計師而言,這表示應使用與 token 相對應的色彩值;在實作時,這些色彩值會以參照特定值的 token 形式存在。

  • 按鈕有五種內建色彩樣式:浮起、填滿、色調、外框與文字
  • 預設按鈕與切換按鈕使用不同的色彩
  • 切換按鈕不使用文字樣式

TIP

選擇這些色彩角色是為了建立設計的一致性與熟悉感。只要容器與文字之間具有 3:1 的對比度,也可以使用其他色彩角色。例如:tertiary 與 on tertiary。

按鈕深色與淺色配色方案示意圖

A. 浮起、B. 填滿、C. 色調、D. 外框、E. 文字

  1. 預設
  2. 切換:未選取
  3. 切換:已選取

1. 預設2. 切換未選取3. 切換已選取
浮起式容器
浮起式圖示與標籤
低階表面容器色
主要色
低階表面容器色
主要色
主要色
主要色上的內容
填滿容器
實心圖示與標籤
主要色
主要色上的內容
表面容器色
表面變體上的內容
主要色
主要色上的內容
色調容器
色調圖示與標籤
次要容器色
次要容器上的內容
次要容器色
次要容器上的內容
次要色
次要色上的內容
外框容器
外框圖示與標籤
外框色變體
表面變體上的內容
外框色變體
表面變體上的內容
反轉表面色
反轉表面色上的內容
文字按鈕的圖示與標籤主要色----

狀態 ​

狀態狀態會顯示元件或 UI 元素的互動狀態。更多關於狀態 是用來傳達元件或互動元素狀態的視覺呈現。

浮起式按鈕狀態 ​

浮起式按鈕樣式的預設高度(elevation)為 1,停用時為 0。

預設 ​


浮起式按鈕狀態示意圖
  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

切換 ​


切換式浮起式按鈕狀態示意圖

A. 未選取、B. 已選取

  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

填滿按鈕狀態 ​

預設 ​


填滿按鈕狀態示意圖
  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

切換 ​


切換式填滿按鈕狀態示意圖

A. 未選取、B. 已選取

  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

色調按鈕狀態 ​

預設 ​


色調按鈕狀態示意圖
  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

切換 ​


切換式色調按鈕狀態示意圖

A. 未選取、B. 已選取

  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

外框按鈕狀態 ​

外框按鈕的容器填色在靜置狀態下不可見;但在停用、懸停、聚焦或按下時,其不透明度與狀態層行為與其他按鈕樣式相同。

預設 ​


外框按鈕狀態示意圖
  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

切換 ​


外框按鈕狀態示意圖
  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

文字按鈕樣式狀態 ​

文字按鈕的容器在靜置狀態下不可見;但在停用、懸停、聚焦或按下時,其不透明度與狀態層行為與其他按鈕樣式相同。沒有文字切換按鈕。

預設文字按鈕樣式狀態示意圖
  1. 啟用
  2. 停用
  3. 懸停
  4. 聚焦
  5. 按下

形狀變形 ​

按下狀態

按下時,按鈕可以變形,使其形狀更接近方形。圓形與方形按鈕應採用相同的按下形狀。

圓角半徑會因按鈕尺寸而異。請參閱完整的按鈕圓角尺寸

按鈕形狀變化示意圖

A. 圓形按鈕、B. 方形按鈕

  1. 啟用
  2. 懸停
  3. 按下

選取時

除了按下時會改變形狀外,切換按鈕在選取狀態改變時,其靜置形狀也會從圓形(未選取)變為方形(已選取)。

若未選取時的靜置形狀為方形,則選取後的形狀應為圓形。

切換按鈕形狀變化示意圖

A. 圓形按鈕、B. 方形按鈕

  1. 啟用
  2. 懸停
  3. 按下
  4. 已選取

尺寸 ​

所有按鈕尺寸的量測示意圖

各按鈕尺寸的內距與大小量測

  1. 超小型
  2. 小型
  3. 中型
  4. 大型
  5. 超大型

觸控目標區域 ​

超小型與小型圖示按鈕的觸控目標尺寸必須為 48×48dp 或更大,才能符合無障礙需求。

小型按鈕觸控目標區域示意圖

A. 超小型  B. 小型

  1. 圓形按鈕
  2. 附圖示按鈕
  3. 方形按鈕

圓角半徑 ​


按鈕圓角半徑示意圖

XSSMLXL
A. 圓形按鈕全圓角全圓角全圓角全圓角全圓角
B. 方形按鈕12dp12dp16dp28dp28dp
C. 按下狀態8dp8dp12dp16dp16dp

基準 token ​

使用下方表格中的選單來切換 token 集。基準按鈕 token 集依色彩分類。

[已淘汰] 按鈕 - 浮起 ​

主題
對比度

[已淘汰] 按鈕 - 填滿 ​

主題
對比度

[已淘汰] 按鈕 - 色調 ​

主題
對比度

[已淘汰] 按鈕 - 外框 ​

主題
對比度

[已淘汰] 按鈕 - 文字 ​

主題
對比度
Pager
上一頁按鈕:總覽
下一頁按鈕:指南

以 Apache 2.0 授權條款 或 CC BY 4.0 發布。

版權所有 © 2018-Present Google

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

以 Apache 2.0 授權條款 或 CC BY 4.0 發布。

版權所有 © 2018-Present Google