Navigieren auf digital.sbb.ch

Toggle

1. What does the component do?

It provides the user with a selection of two or more options.

2. When should the component be used?

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

3. Rules

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

4. Variants

The component has the following statuses:

  • Active
  • Inactive

Only one option can be selected (active). The remaining options are inactive.

4.1 Double

Image of the toggle button component with two options

Design specification

4.2 Triple

Image of the toggle button component with two options

Design specification