The Lightbox API lets you show the site's popups over the current page. The API calls a popup a lightbox, so its names, such as LightboxDefinition, use that word. Use it to open a popup from an action on the page, such as a product quick view, with the data the popup needs.
With the Lightbox API, you can:
Popups are pages. They appear in the pages map of @wix/site-service-pages alongside ordinary pages, with popup set to true.
It's important to note the following points before starting to code:
LightboxDefinition and lightboxService.To use the API, install the @wix/site-service-lightbox package:
Import any type shown in these docs from @wix/site-service-lightbox/types:
In a React component, resolve the service with the useService hook:
Last updated: 1 November 2026