Skip to main content

Segmented Control

A segmented control is a linear set of options which is used to switch between options or views of similar or related content. Only one segment can be selected at a time

Two components are needed: <qds-web-segmented> that contains the items and <qds-web-segmented-item>.

Overview

Segmented item

Segmented items should be contained in a qds-web-segmented component.

Common usage

When to use

  • Use with a limited set of options, usually between 2 to 5*.
  • Use a segmented control to provide closely related choices that affect an object, state, or view.
  • Use to display the same information in different views (e.g. list view vs card view)
  • Make a single selection used in place of a radio button or dropdown