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

What does the component do?

It is part of the dialog component.

When should the component be used?

  • Only within the dialog component.

Parent Components

Dialog
Anatomy
Anatomy of the component
Number Type Description Optional Info
1 Component sbb-dialog-title No
1a Component sbb-secondary-button Yes Back-Button
1b Component sbb-secondary-button No
1c Component sbb-secondary-button Yes Close-Action
2 Component sbb-title No
2a Slot Beliebiger Inhalt erlaubt No
3 Component sbb-dialog-actions Yes
3a Component sbb-secondary-button Yes Auch Block-Links sind erlaubt
3b Component sbb-button Yes Auch Block-Links sind erlaubt
Implementation

Use the sbb-dialog-content in combination with the sbb-dialog to display a content inside the dialog.

<sbb-dialog>
  <sbb-dialog-content>Dialog content.</sbb-dialog-content>
</sbb-dialog>

Slots

Name Description
Use the unnamed slot to provide a dialog content.
Imprint Contact Cookie settings