Skip to end of banner
Go to start of banner

Split Button

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 11 Next »

Description

ONGOING 


place under button??


A split button couples a primary action on the left with an attached dropdown menu of related actions. The labelled section should show the most common use case, while the dropdown menu shows a list of related actions. This pattern is used when there are many possible actions but only one primary action.

If a split button is disabled, the colour of the button changes and the cursor indicates that you cannot click the split button.

If we enable changing the default action in the split button with the label (vs the Ribbon split button) - perhaps they should be 2 separate components.

Use split buttons only in desktop apps. Do not use in mobile apps. ??

Do we have one split button in the ribbon that has an icon for thr primary action, and another type that has just text as a primary action?

Usage & Behaviour

When you click the primary action on the left, the action is activated. When you click the arrow, it exposes a dropdown list of alternative actions. This pattern is used when there are many possible actions but only one primary action.


The split button is separated into two areas: the label and the icon. The separator between them signals that the two areas result in different actions. 

Use a split button only if the actions are related and only one of the actions in commonly used.

If the split button is selected using keyboard actions and then Enter is presses, the primary action occurs.




Clicking/tapping the label area triggers one of two types of behaviour: (Do we want to enable both types????)

  • It triggers the default action.
  • It triggers the last action chosen by the user. Initially, it is the default action until the user makes a different selection which then becomes default. The button label changes accordingly. The button has a fixed size and truncates the text if the menu item is longer (as with the combo box).



States

Split buttons can be enabled or disabled.

If an action button is temporarily inactive, use the disabled status.

Interaction

When you click the primary action on the left, the action is activated. When you click the arrow, it exposes a dropdown list of alternative actions. 




New LUX design 



  • No labels