Custom Lightbox UX Design

UX design | UI design | Coding

Background

I have a dedicated section on my website to showcase my photography. It is essential to have a well-designed lightbox, which is a web component to display images in full screen. However, none of the existing lightbox designs met all my functional and aesthetic requirements. So, I decided to design and code my own from scratch.

Design requirements

Design solution

Combining UX design principles with front-end development skills allowed me to create an interface that feels intuitive, performs smoothly, and works seamlessly across devices. The lightbox is built entirely with JavaScript and CSS, without relying on external libraries.

Core Components

Custom JavaScript/CSS lightbox: desktop UI showing image count, close button, stage image, caption of the stage image, thumbnails

Desktop Interaction

Mobile Interaction

Bonus Features

This project bridges UX design and front-end engineering — translating design intent directly into final web component. The result is a clean, responsive, and fluid lightbox experience, purpose-built for my website. Feel free to try it for yourself in any photography gallery using the custom lightbox .