To learn more about lightboxes, see the Hello Lightboxes example page.
To use the Lightbox API, import wixWindowFrontend from the @wix/site-window module:
wixWindowFrontend
@wix/site-window
The APIs in @wix/site-window.Lightbox can only be used in frontend code.
@wix/site-window.Lightbox