Zur NavigationZum InhaltKontaktMenuFind componentOverview Web (Legacy)Find component
Basics
More Info
Brand
More Info
Divider
More Info
Typografie
Components
More Info
Accordion
More Info
Autocompletion
More Info
Breadcrumb
More Info
Button
More Info
Captcha
More Info
Checkbox
More Info
Checkboxpanel
More Info
Datepicker
More Info
Lightbox
More Info
Fileselector
More Info
Ghettobox
More Info
Link
More Info
Loading Indicator
More Info
Mediagallery
More Info
Mediaslider
More Info
NBC
More Info
Notification
More Info
Pagination
More Info
Processflow
More Info
Radiobutton
More Info
Radiobuttonpanel
More Info
Searchfield
More Info
Select
More Info
Tab
More Info
Table
More Info
Tag
More Info
Textarea
More Info
Textexpand
More Info
Textfield
More Info
Timefield
More Info
Toggle
More Info
Tooltip
More Info
Usermenu
PrinciplesFoundationAccessibilityDesign SystemGuidelinesDeutschFrançaisItalianoEnglishOur design principlesUser-centredRecognisableInclusiveReducedHolisticSelf-explanatoryTask-orientedAppropriateSBB Brand portalLogoDigital clockRights of useBase colorsFunctional colorsOff brand colorsIconsTimetable iconsPictogramsAbout accessibilityÜber diesen GuideContactFurther informationProduct OwnerUser ResearchInteraction DesignVisual DesignDevelopmentContent DesignTestingWhat is a design system?DesigningCodingFAQHelpProcessContributionContactOverviewBaseComponentsOverviewReleasesDesign TokensComponentsOverviewBaseInformationenOverviewBaseComponentsSense & PurposeCommunity AssetsInstructionsApp IconsPower-AppsDigital banner adsSAP Design GuidelinesLightbox 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
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).