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 people want, with a few related variants.
  • When the most common action should take one click and the others should stay out of the way.

When not to use

  • Unrelated actions. The two halves suggest variants of the same action.
  • No clear default. If the choices are equal, use a dropdown menu instead.
  • A single action. Use a button.

Guidance

Do

Put the most common action in the main half. Keep the menu for variants of it, such as saving as a copy.

Don't

Do not hide unrelated actions behind the arrow. People expect variants of Save, not Delete.

Intensity

How much attention each of this component's grounds uses, scored 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. Demanded is declared, and its use is limited. So neither of those two depends on the component alone. See intensity.