Skip to content

Social-style photo grid without third-party scripts

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
Open in a new tab

Description

Official social network widgets load third-party scripts and cookies, slow the page down and break at the first API change. This gallery reproduces the familiar layout of a profile (avatar, name, post and follower counts, three-column grid of square photos) with your own images, hosted on your site. Each photo has a description for screen readers; the caption and like count appear on hover. A “Show captions” button (aria-pressed) reveals them all, for keyboard users and touch screens where hover does not exist. No link is provided by default: add a link to your own account in the header if you wish. AA contrast in light and dark mode, 44 px button, visible focus, no horizontal scrolling from 360 px (the caption shrinks to the counter on small screens). Example: a pottery workshop showing its latest pieces.

Code

Loading the code…

The code of this component in

Archive contents

galerie-instagram-statique-html-tailwind.zip3 files · 6 Ko

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

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

    • Tailwind
    • React
    • CSS
    • WordPress
    Component