Zur Navigation Zum Inhalt Kontakt Menu Find component Overview Web (Legacy) 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 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.{.lead} * The ‘cancel’ button closes the lightbox again.{.lead} * 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.{.lead} * 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).{.lead}

Specification

DesignCode

Find component

Web (Legacy)

Basics Brand Brand Divider Divider Icon Icon Images Images Text Text Typografie Typografie Components Accordion Accordion Autocompletion Autocompletion Breadcrumb Breadcrumb Button Button Captcha Captcha Checkbox Checkbox Checkboxpanel Checkboxpanel Datepicker Datepicker Lightbox Lightbox Fileselector Fileselector Ghettobox Ghettobox Link Link Loading Indicator Loading Indicator Mediagallery Mediagallery Mediaslider Mediaslider NBC NBC Notification Notification Pagination Pagination Processflow Processflow Radiobutton Radiobutton Radiobuttonpanel Radiobuttonpanel Searchfield Searchfield Select Select Tab Tab Table Table Tag Tag Textarea Textarea Textexpand Textexpand Textfield Textfield Timefield Timefield Toggle Toggle Tooltip Tooltip Usermenu Usermenu
Imprint Contact Cookie settings