Zur Navigation Zum Inhalt Kontakt Menu Find component Overview Lyne 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 Komponenten Overview Base Informationen Overview Base Components Sense & Purpose Community Assets Instructions Power-Apps Digital banner ads SAP Design Guidelines App Icons Clock Info

What does the component do?

The Swiss railway station clock was designed in 1944 by Swiss engineer and designer Hans Hilfiker for the SBB. It is characterised by a very clear, minimalist design with black scale lines on a white background and bar-shaped, black hour and minute hands. There are no numerals. Important features are the second stop and the minute jump.

When should the component be used?

  • To display the current time on the website or in the application.
  • To strengthen the SBB brand image and create recognition value.

Rules

  • The SBB clock should be true to the original and accurate in design and functionality.
  • The watch should always display the correct time.
  • The clock should fit smoothly into the overall design of the site or application without dominating it.
  • The clock can be displayed in different sizes in order to adapt to the layout.
  • It may only appear once per page.
  • It is part of the footer.
  • Customer applications should always include the clock.
  • Internal applications should not display the clock.
Anatomy
Anatomy of the component
Demo

Examples

Default
Paused
HTML-Markup kopiert.
Implementation

The sbb-clock component displays an analog clock face in the style of the classic SBB station clock.

It mimics its behavior too, completing a rotation in approximately 58.5 seconds,
then it briefly pauses at the clock top before starting a new rotation.

<sbb-clock></sbb-clock>

To simulate the current time, you can use the now property
which accepts a time string like HH:MM:SS.
This is helpful if you need a specific state of the component.

<sbb-clock now="23:23:00"></sbb-clock>

Properties

Name Attribute Privacy Type Default Description
now now public SbbTime | null null Define a specific time which the clock should show statically.
Imprint Contact Cookie settings