Skip to content

Split buttons #9

@YieldRay

Description

@YieldRay

Split buttons

Split buttons open a menu to give people more options related to an action

  • Use to show an action with a menu of related actions
  • Same size range as buttons and icon buttons: XS, S, M, L, XL

Specs: https://m3.material.io/components/split-button/specs

Types

1 type of split button.

Type Original M3 M3 Expressive
Split button -- Available

Configurations

4 colors and 5 sizes of split buttons.

  1. Color configurations: Elevated, filled, tonal, outlined
  2. Size configurations: XS, S, M, L, XL
Category Configuration Original M3 M3 Expressive
Size XS, S, M, L, XL -- Available
Color Elevated, filled, tonal, outlined -- Available

Tokens & specs

Use the table's menu to select a token set. Split button token sets are organized by size. Learn about design tokens


Anatomy

4 elements of a split button.

  1. Leading button
  2. Icon
  3. Label text
  4. Trailing button

The leading button in split buttons can have an icon, label text, or both. The trailing button should always have a menu icon.

3 customizations of the leading button in the split button.

  1. Label + icon
  2. Label
  3. Icon

Color

Color values are implemented through design tokens. Design tokens are the building blocks of all UI elements. The same tokens are used in designs, tools, and code. More on tokens.

Split buttons use the same color schemes as standard buttons. More on buttons. However, unlike toggle buttons, the split button color doesn’t change when selected—only a state layer is applied.

Split buttons use the same colors and state layers as buttons, shown in the following token module. Go to buttons for more details.

4 color roles of the split button when unselected and selected in light and dark theme.

A: Unselected, B: Selected trailing icon

  1. Elevated
  2. Filled
  3. Tonal
  4. Outlined

States

States are visual representations used to communicate the status of a component or an interactive element. More on states

Split button states use the same colors and state layers as buttons and icon buttons. Go to those specs for details.

Leading button shape

The inner corners change shape for hovered, focused, and pressed states.

5 states of the leading button in the split button.

  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed, pressed with focus

Trailing button shape

The inner corners change shape for hovered, focused, and pressed states, and the icon becomes centered when selected.

6 states of the trailing menu button in the split button.

  1. Enabled
  2. Disabled
  3. Hovered
  4. Focused
  5. Pressed, pressed with focus
  6. Selected, selected with focus

Measurements

Text and icons are optically centered when the buttons are asymmetrical. They’re centered normally when symmetrical.

Padding and size measurements of the split button.

Menu icon offset when unselected:

  1. XS: -1dp from center
  2. S: -1dp from center
  3. M: -2dp from center
  4. L: -3dp from center
  5. XL: -6dp from center

The inner corner radius changes depending on button sizing. The space should always be 2dp.

Inner padding and inner corner measurements of the split button.

  1. Extra small: 4dp
  2. Small: 4dp
  3. Medium: 4dp
  4. Large: 8dp
  5. Extra large: 12dp

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions