Skip to content

Filterable gallery

A photo grid filtered by theme, with toggle buttons and an announcement of how many photos are shown.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

Filters are toggle buttons (aria-pressed) and a status region announces the result to screen readers. Without JavaScript every photo stays visible. Gradients are replaced by your images while keeping the alternative text.

Code

Loading the code…

The code of this component in

Archive contents

galerie-filtrable-html-tailwind.zip3 files · 4 Ko

  • index.html9 Ko
  • README.md2 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
    Component
  • Building site photos sorted by dated step on a vertical timeline, with the current step highlighted.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component