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 Dialog-Title Info

Was macht die Komponente?

Sie ist Teil der Dialog-Komponente.

Wann soll die Komponente eingesetzt werden?

  • Nur innerhalb der Dialog-Komponente.
Dialog
Anatomie

Anatomie der Komponente


Nummer Typ Beschreibung Optional Hinweis
1 Komponente sbb-dialog-title Nein
2 Komponente sbb-dialog-close-button Ja Close-Action
2 Slot Beliebiger Inhalt erlaubt Nein
4 Komponente sbb-dialog-actions Ja
4a Komponente sbb-secondary-button Ja Auch Block-Links sind erlaubt
4b Komponente sbb-button Ja Auch Block-Links sind erlaubt
Demo Default
HTML in Zwischenablage kopiert.
Implementation

The sbb-dialog-title component extends the sbb-title component.
Use it in combination with the sbb-dialog to display a header in the dialog.

<sbb-dialog>
  <sbb-dialog-title>A describing title of the dialog</sbb-dialog-title>
</sbb-dialog>

States

The title can have a negative state which is automatically synchronized with the negative state of the dialog.

Style

In scenarios where the visual representation needs to be different from the semantic meaning of the title level,
it is possible to use the visualLevel property (default value: 4).

Properties

Name Attribute Privacy Type Default Description
level level public SbbTitleLevel '2' Title level
negative negative public boolean false Negative coloring variant flag.
visualLevel visual-level public SbbTitleLevel | null '4' Visual level for the title.

Slots

Name Description
Use the unnamed slot for the content of the dialog-title.