Skip to contentWolf-Rayet

Button group

A button group shows related actions together.

When to use

  • Two or three actions belonging to the same thing, such as the footer of a dialog.
  • Actions that should appear as one set instead of separate controls.

When not to use

  • A single action. It does not need a group.
  • Actions for different things. Grouping them suggests they are related.
  • More than about three actions. Use a menu instead.

Guidance

Do

Put the primary action last and name the group. Order the actions from least to most final.

Don't

Do not put the primary action first, and do not use danger for a cancel action. Discarding a draft is not destructive, so it should not look like it.

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.