Skip to contentWolf-Rayet

Split button

A split button pairs a primary action with a menu of related actions.

When to use

  • One action that most readers want, with a few related variants behind it.
  • Somewhere the common case should be one click and the alternatives should not crowd it.

When not to use

  • Unrelated actions. The two halves claim to be variants of one thing.
  • No clear default. If the choices are equal, use a dropdown menu instead.
  • A single action, which needs no second half.

Guidance

Do

Put the common action in the main half, and keep the menu for genuine variants of it such as saving as a copy.

Don't

Do not hide unrelated actions behind the arrow. A reader expects variants of Save, not Delete.

Intensity

What each of this component's grounds spends, measured against the ladder in both themes.

AppearanceGroundLightDark
buttonneutral0.042Ambient0.066Substrate
buttondisabled0.042Ambient0.129Ambient
button--dangerdanger-bold0.443Marked0.617Marked
button--defaultneutral0.042Ambient0.066Substrate
button--discoverydiscovery-bold0.444Marked0.624Marked
button--primarybrand-bold0.460Marked0.598Marked
button--selectedselected0.042Ambient0.062Substrate
button--subtleneutral-subtle0.000Substrate0.000Substrate
button--warningwarning-bold0.448Marked0.601Marked

Substrate, Ambient and Marked are measured. Directed depends on what else is in the region, and Demanded is declared and rationed, so neither is a property this component carries by itself. See intensity.