Get hands-on experience with Lightboxes on our Hello Lightboxes example page.
To use the Lightbox API, import wixWindowFrontend
from the @wix/site-window
module:
import wixWindowFrontend from "@wix/site-window";
The APIs in @wix/site-window.Lightbox
can only be used in front-end code.