Main image gallery with thumbnails
A large photo with clickable thumbnails and arrows, for a product page or a property listing.
- Tailwind
- React
- CSS
- WordPress
Description
For a product page or a property listing, this gallery shows a large photo with all the thumbnails below. Each thumbnail is a named button (“Photo 4: Bathroom with shower”); the one shown is marked with aria-current and an outline, not colour alone. Arrows on the large photo go to the previous or next one, looping, and the “… · photo 4 of 6” caption is announced politely to screen readers. The large photo carries the alt text of the chosen thumbnail. The demo images are CSS drawings to replace with your photos. No library, no autoplay; thumbnails of at least 44 px in an adaptive grid, visible focus, AA contrast in light and dark mode, no horizontal scrolling from 360 px. Example: a town house for sale in Rennes.
Code
Loading the code…
The code of this component in
Archive contents
galerie-vignettes-principale-html-tailwind.zip3 files · 5 Ko
- index.html10 Ko
- README.md3 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A product photo that zooms in under the pointer, and from the keyboard with Enter and the arrow keys, to inspect the details.
- Tailwind
- React
- CSS
- WordPress

An Instagram-style square grid with a profile header and captions on hover, served by your own site: no social network script or cookie.
- Tailwind
- React
- CSS
- WordPress

Building site photos sorted by dated step on a vertical timeline, with the current step highlighted.
- Tailwind
- React
- CSS
- WordPress

YouTube videos shown as thumbnails: the player only loads on click, to respect privacy and keep the page light.
- Tailwind
- React
- CSS
- WordPress