Header

The header is one of the most important mechanisms to guarantee an uniform navigation and a consistent and familiar branding that supports users across all digital platforms. Navigation enables users to find their way around products and services. Navigation types follow a uniform aesthetic.

Desktop Header
Mobile Header

 

The SDX Header is composed of three navigation areas: meta, main and breadcrumbs.

Header structure

The meta navigation hosts secondary links and is divided into three sections:

  • Left section: shows the overarching company and website related links such as business areas, Brand Center etc.
  • Right section: shows contact and language selection.

The main navigation represents the top-level topics of the website and is divided in two sections:

  • Left section: hosts the logo and the top-level navigation.
  • Right section: hosts the utilities section with functionalities like search, basket, application switcher or login.

The breadcrumbs are located below the main navigation on desktop, while on mobile the orientation is reflected via an open menu. The breadcrumbs will only be displayed when the main navigation has three levels or more.


                                                        
                                                        
                                                            <sdx-header
                                                          navigation='{
                                                            "primary": { … },
                                                            "secondary": { … },
                                                            "tertiary": { … },
                                                            "main": { … }
                                                          }'
                                                        ></sdx-header>
                                                        
                                                            

See HTML example at samples/header.

 

Hierarchy

The main navigation hierarchy features up to five possible levels for subcategories. The horizontal level 1 navigation is the default layout for all digital products.

Level 1

Level 2 and level 3 navigation items will be shown in a "mega dropdown" menu by default. These can be subdivided into categories to house similar themes together.

Level 2
Level 3

The navigation offers the possibility to display level 2 and 3 navigation items also as a left-hand navigation.

A combination of the "mega dropdown" menu and the left-hand navigation can be chosen if up to 5 levels are required.

Navigation with lefthand
 Navigation with submenu and lefthand

 

Menu

The "mega dropdown" supports descriptive text for navigation items and cards for links with images. If you only include a small number of links consider adding a description. Do not exceed 50 characters for each link text and its description. See samples/header.

Horizontal navigation menu

 

Mobile Menu

On mobile, the meta and main navigations are collapsed into a global navigation and visualized as a hamburger menu.

Mobile menu
Mobile menu level 2

 

Left-hand navigation

The left-hand navigation can be used when there’s a high number of links and when users are required to often switch between them.

Left hand navigation

 

Utilities section

The service links in the utilities section are offered as icon buttons. Each icon button opens a flyout with customizable content. The flyout for the utilities section has a fixed width by default, but can be set to be displayed full bleed with its content placed inside the grid.

Search flyout

Login and Logout Flyout

  • The login flyout contains a sign-in button and provides a set of links to reference common use cases.
  • The logout flyout contains profile data, a sign-out button, and provides a set of links to indicate notifications and references common use cases.
  • Optionally, the link lists can be separated into sections by dividers and labels.
  • Keep labels short (max. 20 characters) and avoid overloading the link sets (max. 4).
Login flyout
Logout flyout

Application switcher

The application switcher ensures quick access to useful Swisscom applications and services. The number of icons and links should be optimized for the mobile viewport to avoid scrolling.

Application switcher

 

Behaviour

Responsiveness

The responsiveness of the header is ensured on all devices thanks to a fluid layout. Below the breakpoint 1024px, the navigation links are displayed as a hamburger menu.
The behaviour can be seen on samples/header.

Responsiveness

Sticky header

During scrolling of a page, the sticky type will automatically appear and hide the meta navigation as well as the breadcrumbs. On mobile, the header always remains fixed at the top.

Sticky Header

Pride month at Swisscom

During the pride month (each June), the logo will switch automatically to the Swisscom rainbow logo.

Header with Swisscom rainbow logo