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

Overview

What does the component do?

It is used to display detailed information of a content page.

When should the component be used?

  • If detailed or additional information has to be shown on-demand on part of a page (for example, additional support when the tooltip is not sufficient).
  • To display the editing mode on forms.
  • For an enlarged view of images.

Rules

  • The referenced page is not left.
  • When the lightbox opens, it always fills the browser window.
  • The lightbox has its own header which is always sticky.
  • Only content-describing information may appear in the header (for example, the train number).
  • The lightbox content can be created as part of basic design.
States and variants

Variants

Default

Image of a lightbox, default

With form components

Image of a lightbox with form components
  • A lightbox with form elements contains at least a ‘cancel’ and an ‘apply’ button.
  • The ‘cancel’ button closes the lightbox again.
  • If the lightbox is closed (‘cancel’ or X-button) when existing entries in the form have been changed, a warning message appears indicating that the form contains unsaved data.
  • The buttons of a form (‘cancel’, ‘apply’, other functions) may be inserted in the footer.
  • The footer is always sticky and is displayed across the entire width of the lightbox (the same as the header).

Specification

DesignCode

Imprint Contact Data privacy Cookie settings