Skip to end of banner
Go to start of banner

Selector - Segmented 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 16 Next »

Lead:  Yehiel Elad-Certner -  ONGOING  

Description

Segmented buttons display a set of icons or text buttons in a row as a single element.

Segmented buttons allow users to choose one or more out of a range of available options.

Usage & Behavior

A segmented button is commonly used:

  • As an alternative to Drop down menu or Radio buttons.

  • As a switch between different views.

  • As a toggle between two or more content sections within the same panel.

General guidelines

Structure

A segmented button consists of:

  • A button group of equal options.

  • Individual options presented as either text or an icon.

  • When using icons, the options should be of equal width and prominence.

Default State

The default selection is always the first option in a segmented button group.

Content

Button labels need to be as short as possible, and should ideally be only one word.

Alternatively, icons can be used to replace button labels.

States

State

Icon

Text

Comment

Regular

Hover

Active

Selected

Disabled

Interaction

Clicking an unselected option in the group should:

  • change that option to Selected.

  • automatically deselect the previously-selected button, which is then viewed as Regular.

Best practices

Use:

  • When there are only 5 or fewer options.

  • Where there’s enough room to fit the options within the UI.

  • When you want to switch between alternative views of the same content.

  • When the options are closely related in context or content.

Don’t use:

  • If there are more than 5 option → use a Drop down menu or Radio buttons.

  • If there is limited room to fit the options within the UI → use a Drop down menu.

  • If the options aren't closely related in context or content → use Tabs.

Accessibility Compliance

Unless otherwise specified, see our general compliance information in Fundamentals - Accessibility

Design

Code

  • No labels