Zur Navigation Zum Inhalt Kontakt Menu Find component Overview Lean 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 Overview

What does the component do?

  • Causes an action by the user for specific decisions.

When should the component be used?

  • When an action has to be confirmed by the user.
  • To display critical information that has to be confirmed by the user.
  • To request actions that has to be confirmed by the user.
  • To select decision options by the user.

Rules

Behaviour

  • Dialogs are displayed as modal windows in front of the application.
  • Dialogs disable all application functions and remain displayed until they have been confirmed, cancelled or a necessary action has been performed.
  • Dialogs are purposefully interruptive, so they should be used sparingly.
  • The dialog can be closed and thus the action cancelled in several ways:
    • via the 'X' on the right in the header of the dialog.
    • via a click on the 'glass' in the background
    • via a 'Cancel'-button (if available)
    • 'ESC' key on the keyboard

Layout

  • The dialog has its own header, content area and button bar.
  • It should be prevented from scrolling. If it cannot be prevented, the header and button bar are sticky.
  • The primary action is placed to the left of the secondary action.
  • A 'glass' is displayed behind the dialog, thus blocking editing outside the dialog.

Content

  • The header may contain context-describing information (e.g. the train number).
  • The content of the dialog can be used completely flexibly, e.g.
    • a detailed description of the situation and a clear question to be answered by the user.
    • a form to create or edit a complex data object.

Actions

  • Confirmation actions are disabled until a selection is made or the form is valid (all mandatory fields filled and no incorrect entries).
  • Cancel actions are never disabled.
States and variants

Variants

Simple (Warnings / Confirmations)

This variant has following states:

  • Default
Image of a dialog, simple

Complex (Forms)

This variant has following states:

  • Valid
  • Not Valid
Image of a dialog, complex
  • The complex variant is used to create or edit complex data objects if they cannot be edited directly in the content of the application.
  • If the user wants to dismiss the dialog and ...
    • no changes have been made, the dialog closes and no discard confirmation is required.
    • the user has made changes, the user is prompted to confirm the discard action.

Specifications

DesignCode

Find component

Lean

Basics Brand Brand Divider Divider Icon Icon Text Text Typografie Typografie Components Accordion Accordion Autocompletion Autocompletion Breadcrumb Breadcrumb Button Button Buttonbar Buttonbar Checkbox Checkbox Chip Chip Contextmenu Contextmenu Datepicker Datepicker Dialog Dialog Fieldset Fieldset Fileselector Fileselector Filter Filter Header Header Link Link Loading Indicator Loading Indicator Menuitem Menuitem Notification Notification Pagination Pagination Processflow Processflow Radiobutton Radiobutton Select (Dropdown) Select (Dropdown) Sidebar Sidebar Slider Slider Status Status Tab Tab Table Table Tag Tag Textarea Textarea Textexpand Textexpand Textfield Textfield Timefield Timefield Toggle Toggle Tooltip Tooltip Tree Tree Usermenu Usermenu
Imprint Contact Cookie settings