View Switcher

23.5

Allows users to toggle between different content sections

View Switcher

23.5

Allows users to toggle between different content sections

View Switcher

23.5

Allows users to toggle between different content sections

Overview

View switcher component with first option selected

The view switcher component allows users to toggle between different content sections within the same space on the screen.

Usage

The view switcher is used to transit through different content panes dynamically.

  • To allow users to toggle between alternate views of similar or related content.

  • Only one content section is shown at a time.

  • To let users toggle between different formatting.

  • To narrow content groups.

Anatomy

A 3 option view-switcher example
  1. Container: The wrapper for the view options

  2. View options: Selectable controls for each available view

  3. Active indicator: Visual marker showing the current selection

  4. Content area: The region where the selected view content is displayed

Variants

  • Text-based tabs

  • Icon-based options

Accessibility

Keyboard Navigation

  • [Tab] to get inside the currently selected view.

  • [→/←] to instantly navigate and select between views.

  • [Tab] to navigate to the next component.

Help make this page more useful.

Help make this page more useful.

Help make this page more useful.