Draft. Proposed from the survey of 18 design systems and not yet approved. It is in the registry so teams can try it; the API may still change before approval.
When to use
- When one action is used most of the time and two or three close alternatives exist: Run now, with Run in test mode in the menu.
When not to use
- When no action is clearly the default. Use a menu button.
- When the alternatives are unrelated. Use separate buttons.
Anatomy
Two real buttons joined into one control (D2): the action button and an icon-only menu button with chevron-down. Only the outer corners keep radius.control; the touching edges overlap into one line. In the Primary variant the divider uses color.background.primary.hover.
States
Each half has its own hover, pressed and focus. The menu half keeps the pressed look while its menu is open. Disabled applies to both halves together.
Accessibility
- The pair sits in
role="group"with anaria-labelthat names the action. - The menu half has its own name, such as “More ways to run”, plus
aria-haspopup="menu"andaria-expanded. - Tab reaches each half; the menu follows the menu button keys.