An image viewer, or lightbox, puts a single photo front and centre while keeping navigation and details close at hand. Our examples show a full-bleed dark viewer with previous and next controls, a filmstrip, EXIF details, location, like, save and share actions and comments, designed for web and mobile across eight visual styles. Every example is an original design that comes with its HTML code and a DESIGN.md of colour, type and spacing tokens, in light and dark. Free to use and adapt.
16 examples
Browse and open a photo · Explore a place on the map
A lightbox is an overlay that shows an image, or a set of images, at large size on top of the current page, usually against a darkened background. It lets people view detail without leaving the page, then close the overlay and return to where they were.
Treat it as a modal dialog: move focus into it when it opens, trap focus inside, close on Escape and return focus to the trigger. Give every control a label, provide meaningful alt text for each image and make sure navigation buttons are reachable by keyboard.
For photography-focused products, camera, lens and settings information is valued by enthusiasts and helps credit the work. Keep it in a collapsible panel rather than on the image. Strip location data by default unless the photographer chooses to share it.
App screens
UI components
Website sections
Website templates
search_ui_screens (e.g. “billing settings, editorial style”), get_ui_flow for a whole journey, and get_ui_screen_code to pull the HTML and DESIGN.md straight into your project.