Full-screen slideshow
A slideshow that fills the whole screen, browsed with the keyboard or a finger swipe, and closed with Escape.
- Tailwind
- React
- CSS
- WordPress
Description
For a photo tour (holiday cottage, flat, venue, completed project), this component shows a cover photo and a “See the 6 photos full screen” button. The slideshow opens in a native dialog element covering the whole screen: the rest of the page becomes inert, focus stays inside and Escape closes it, returning focus to the button. Left / right arrows (looping), Home and End, 44 px buttons and horizontal swipe by finger or mouse (pointer events, vertical scrolling still works); the “3 / 6 · …” counter and caption are announced to screen readers and each photo carries its alt text. No autoplay or animation, no library. The demo images are CSS drawings to replace with your photos. Visible focus, AA contrast in light and dark mode, no horizontal scrolling from 360 px. Example: a tour of a holiday cottage in the Dordogne.
Code
Loading the code…
The code of this component in
Archive contents
galerie-plein-ecran-diaporama-html-tailwind.zip3 files · 6 Ko
- index.html9 Ko
- README.md4 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

A large photo with clickable thumbnails and arrows, for a product page or a property listing.
- Tailwind
- React
- CSS
- WordPress