Skip to content
HTML Templates For Developers

Lightwell — Image Gallery Template

A dark masonry image gallery with animated category filters, lazy loading and an accessible lightbox with captions, zoom, counter, keyboard and swipe control.

FreeVanilla HTMLOne-page
Lightwell — Image Gallery Template — template preview

Live preview

This is the actual template running in a sandbox, shown at 1280px wide.

Description

Lightwell is a single-page gallery for showing a body of visual work without getting in its way. Sixteen original abstract studies sit in a masonry grid on near-black, set in light Josefin Sans, with hairline borders and captions that appear on hover or keyboard focus.

Filter buttons narrow the grid to Geometry, Waves, Orbits or Texture. Tiles are positioned in JavaScript with transforms, so the rest of the grid slides smoothly into its new arrangement instead of jumping, and a live status line reports how many works are showing. Images are lazy loaded and fade in once ready.

Opening a work shows it in a full-screen lightbox with a title, medium, year, theme and a counter. Move with the arrow keys, on-screen arrows or a swipe, zoom with the button, a click or the plus and minus keys, and drag to pan when zoomed. Focus is trapped inside, the page behind is made inert, and focus returns to the tile you came from when you close it.

Key features

  • Masonry grid of 16 original SVG artworks with 2, 3 or 4 columns by width
  • Category filter with animated reflow and a live status message
  • Native lazy loading with a fade-in once each image has loaded
  • Lightbox with title, medium, year, theme and an n / total counter
  • Previous and next by arrow keys, buttons or touch swipe
  • Zoom by button, click or + and - keys, with drag-to-pan when zoomed
  • Focus trap, inert background and focus return when the lightbox closes
  • Escape and backdrop tap close the viewer
  • Layout reserves image space from width and height, so nothing jumps while loading
  • Self-hosted Josefin Sans and no dependencies or external requests

Front-end template: what is demonstration only

  • All artwork, titles, years and media are original sample content generated for this template.

What is included

Pages and sections

  • Header with brand
  • Hero introduction
  • Category filter bar with live status
  • Masonry grid of 16 works
  • Lightbox viewer
  • Footer with back-to-top link

Framework

Plain HTML5, CSS3 and JavaScript. No framework, no build step — open index.html and edit.

Bundled open-source components

  • Josefin Sans typeface (OFL-1.1)
  • Lucide icons (inlined SVG) (ISC)

Everything is inside the download with its licence. Nothing loads from a CDN.

Supported browsers

Chrome, Edge, Firefox, Safari, Opera

Current versions. Checked in Chromium at desktop, tablet and phone widths.

Files in the download (26) · 74 KB ZIP
  • LICENSE.txt1.3 KB
  • README.md2.9 KB
  • assets/css/style.css11 KB
  • assets/fonts/josefin-sans-LICENSE.txt4.5 KB
  • assets/fonts/josefin-sans-latin-wght-normal.woff228 KB
  • assets/images/arcs-01.svg1.9 KB
  • assets/images/favicon.svg323 B
  • assets/images/geo-bars.svg826 B
  • assets/images/geo-fan.svg1.1 KB
  • assets/images/geo-sq.svg1.1 KB
  • assets/images/orbit-01.svg948 B
  • assets/images/orbit-02.svg378 B
  • assets/images/orbit-03.svg1.1 KB
  • assets/images/orbit-04.svg4.8 KB
  • assets/images/tex-01.svg34 KB
  • assets/images/tex-02.svg11 KB
  • assets/images/tex-03.svg11 KB
  • assets/images/tex-04.svg5.1 KB
  • assets/images/wave-01.svg4.0 KB
  • assets/images/wave-02.svg17 KB
  • assets/images/wave-03.svg552 B
  • assets/images/wave-04.svg1.7 KB
  • assets/js/main.js12 KB
  • documentation/index.html11 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html16 KB

Includes a README, a documentation page with customisation notes, and the licence text.

Read the documentation

Changelog

  1. Version 1.0.0 Nov 23, 2026Current

    • Initial release.

Licence

Free Template Licence. Use it in unlimited personal and commercial projects, modify it freely and use it in client work. You may not redistribute or resell the template itself. Attribution is appreciated, not required.

Read the full licence terms

Customer reviews

No reviews yet. Reviews come only from customers who have downloaded or bought this template.

Write a review