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 Base Components Overview Base Components Overview Releases Design Tokens Komponenten Overview Base Informationen Sense & Purpose Community Assets Instructions Power-Apps Digital banner ads SAP Design Guidelines App Icons Logo Implementation

The sbb-logo is used as a wrapper for the SBB logo and ensures his aspect ratio and protective room.
To use the component, please define the desired height or width on sbb-logo.

<style>
  sbb-logo {
    height: 20px;
  }
</style>
<sbb-logo></sbb-logo>

Style

The component has a negative variant which can be set using the negative property.

<sbb-logo negative></sbb-logo>

The aspect ratio of the logo can be changed using the protectiveRoom property.
Possible values are ideal (default), minimal and none.

<sbb-logo protective-room="minimal"></sbb-logo>

Properties

Name Attribute Privacy Type Default Description
protectiveRoom protective-room public SbbProtectiveRoom | undefined 'ideal' Visual protective room around logo.
accessibilityLabel accessibility-label public string 'Logo' Accessibility label which will be forwarded to the SVG logo.
negative negative public boolean false Negative coloring variant flag.

CSS Properties

Name Default Description
--sbb-logo-height auto Can be used to set the height of the logo.
Examples
No Protective Room
Minimal Protective Room
Ideal Protective Room
Negative
HTML-Markup kopiert.
Playground
Schutzraum Ideal Minimal Kein Schutzraum Negativ Nein Ja Hintergrund White Milk Iron Charcoal Black
Imprint Contact Cookie settings