Skip to content

Split button

Expressive

A primary action beside a trailing button that opens a menu of related actions.

import { SplitButton } from '@windmorph/react';

Purpose

A split button offers one primary action plus a menu of related, less common ones. The leading half runs the main action, with a label, an icon or both; the trailing half opens a Menu, or any other overlay through an enclosing trigger such as a DialogTrigger. Use it when a default action has a few alternatives — for example “Send” with “Send later” and “Save draft”.

Usage

  • Keep the leading label brief, one or two words (“Send”, “Save as”): the trailing button already says there are more choices.
  • Don't change the trailing icon; it turns over to show the menu is open.

When not to use

When the trailing menu adds no related choices, a single Button is clearer.

See also

  • Split button on m3.material.io: Material's own guidelines, with anatomy and specs.
  • Button: Five variants and five sizes for text actions, with a toggle form and a press morph.
  • Button group: Groups buttons as a unit; the connected variant replaces segmented buttons.
  • Menu: A temporary list of choices anchored to a trigger, with groups, selection, submenus and context menus, or a bottom sheet on phones.