In Progress

Segment Control

The Segment Control component allows users to switch between mutually exclusive options. It provides a compact, intuitive way to modify content views or change settings.

In Progress

Segment Control

The Segment Control component allows users to switch between mutually exclusive options. It provides a compact, intuitive way to modify content views or change settings.

In Progress

Segment Control

The Segment Control component allows users to switch between mutually exclusive options. It provides a compact, intuitive way to modify content views or change settings.

Anatomy

Anatomy

Anatomy

  1. Segment Control Item

  2. Icon

  3. Label

Variants

Variants

Variants

  1. Default

  2. Medium

  3. Small

  4. Icon and Label

  5. Label Only

  6. Icon Only

States

States

States

  1. Default

  2. Hover

  3. Active

Behaviors

Behaviors

Behaviors

Number of Choices

The segment control supports 2-4 choices. If more choices are needed, consider using a Radio Group

Mutually Exclusive

Only one choice can be selected at a time. If a multiple-choice selection is needed, consider using a Checkbox Group.

Best Practices

Best Practices

Best Practices

1. When to use

The segment control should be used to allow users to change between different views of content or data. For example, switching the date range of a graph or switching between list or grid views. The segment control may also be used to change between different settings such as "and/or" and "include/exclude".

The Segment Control should be used to toggle between related settings or options that belong to a single category or task. This ensures that users can quickly and easily understand their options and make a selection without confusion. ¹

3. Concise

The segment control items should use short labels or icons. Avoid using longer labels as this will make the choices harder to quickly understand. ²

4. Segment Control vs Tabs

Segment controls should be used to change the between alternate views of the same content or data. Tabs should be used to navigate between different pages or content.

5. Icon Only

Only use the "icons only" segment control when there is high confidence in that the icons meanings will be understood. Avoid using only icons when uncommon choices.

More

More

More

Related Components

Related Patterns

Accessibility

Color contrast ratio for our Segment Control component meets AAA standards, based on Web Content Accessibility Guidelines (WCAG) guidelines.

  1. Benefits: People with low vision often have difficulty reading text that does not contrast with its background. This can be exacerbated if the person has a color vision deficiency that lowers the contrast even further. Providing a minimum luminance contrast ratio between the text and its background can make the text more readable even if the person does not see the full range of colors. It also works for the rare individuals who see no color.

Additional Reading

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

Need more guidance?

Suggest an addition or an edit.

© 2025 Basis Technologies
© 2025 Basis Technologies
© 2025 Basis Technologies