Principi Base Accessibilité Sistema di design Guidelines Deutsch Français Italiano English I nostri principi di design Soluzioni focalizzate sull’utente Riconoscibilità Inclusione Riduzione Olistico Autoesplicativo Orientamento all’attività Adeguatezza Portale della marca FFS Logo Orologio digitale Diritti di utilizzazione Colori die base Colori addizionali Colori Off Brand Icone Icone dell'orario Pittogrammi Informazioni sull’accessibilità Über diesen Guide Contatti Letture consigliate Product Owner User Research Interaction Design Visual Design Development Content Design Testing What is a design system? Designing Coding FAQ Aiuto Processo Contribution Contatto Introduzione Base Componenti Introduzione Releases Design Tokens Componenti Introduzione Base Informations Introduzione Base Componenti Introduzione Power-Apps Banner pubblicitari digitali SAP IA Design : Base. Icone delle app Questa pagina non è disponibile nella lingua desiderata. Lingue disponibili: Deutsch English Logo Info

Was macht die Komponente?

Die Komponente stellt das Logo der SBB dar und sorgt für eine konsistente Darstellung der Webseite oder Applikation.

Wann soll die Komponente eingesetzt werden?

  • Um die Markenidentität auf jeder Seite der Anwendung oder Webseite zu stärken.

Regeln

  • Die Darstellung und Platzierung wird durch den Header gewährleistet.
  • Das Logo darf weder verändert noch ausgeblendet werden.
  • Das Logo soll nur einmal pro Seite dargestellt werden.
Signet Header
Anatomie

Anatomie der Komponente


Demo

Spielwiese

Schutzraum Ideal Minimal Kein Schutzraum Negativ Nein Ja Mode (System-Einstellung) Light Dark Hintergrund White Midnight Milk Charcoal Cloud Iron Midnight White Charcoal Milk Iron Cloud
No Protective Room
Minimal Protective Room
Ideal Protective Room
Negative
HTML in Zwischenablage kopiert.
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
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.
protectiveRoom protective-room public SbbProtectiveRoom 'ideal' Visual protective room around logo.

CSS Properties

Name Default Description
--sbb-logo-height auto Can be used to set the height of the logo.