Lightbox.
An overlay for inspecting visual media at a larger size.
See it in context
What it is
A lightbox emphasizes a chosen image or video while dimming the surrounding page. It should preserve captions and offer clear close and next/previous controls where a collection is involved.
When to use it
Use for focused inspection of media from a gallery.
Know the difference
A lightbox is a media-viewing presentation; a general dialog may contain forms or decisions.
Across platforms
iOS · iPadOS · macOS · tvOS · visionOS
Use the native platform presentation and terminology; adapt density and interaction to touch, pointer, remote, or spatial input rather than copying a phone-sized view.
Web · Android · Windows · Linux · Android TV
On the web, manage keyboard focus and dismissal explicitly. Android and desktop implementations should use the equivalent native surface when available.
Go to the source
Primary documentation for the pattern and its platform conventions.