Principles Foundation Accessibility Design System Guidelines Deutsch Français Italiano English Our design principles User-centred Recognisable Inclusive Reduced Holistic Self-explanatory Task-oriented Appropriate SBB Brand portal Logo Digital clock Rights of use Base colors Functional colors Off brand colors Icons Timetable icons Pictograms About accessibility Über diesen Guide Contact Further information Product Owner User Research Interaction Design Visual Design Development Content Design Testing What is a design system? Designing Coding FAQ Help Process Contribution Contact Overview Base Components Overview Releases Design Tokens Components Overview Base Informationen Overview Base Components Sense & Purpose Community Assets Instructions App Icons Power-Apps Digital banner ads SAP Design Guidelines Toggle

Overview

What does the component do?

It provides the user with a selection of precisely two options.

When should the component be used?

For either/or selection of key values which should be displayed prominently.

Rules

  • The first option is always pre-selected as standard.
  • The text of the options can be multi-line.
  • The text of the option can be preceded by an icon to make it easier to understand.
States and variants

States

The component has the following states:

  • First (first option selected)
  • Second (second option selected)

Variants

Default

Image of the toggle button, default

With icon

Image of the toggle button with icon

With info text

Image of the toggle button with info text

With additional entry context

Image of the toggle button with additional entry context

Specification

DesignCode

Imprint Contact Data privacy Cookie settings