Gallery

Responsive image grid with CSS-only lightbox on click

Surfaces
webgoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-meet-stageCSS :target lightbox may not work in iframe — images show without lightbox
pdfgrid renders but lightbox is non-functional — use image_pair or image
Live preview
Fields
FieldType
cols2 | 3 | 4 (optional, default 3)optional
captionstringoptional
images[{'url': 'string', 'alt': 'string', 'caption': 'string'}]optional
Example payload
{
  "type": "gallery"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:gallery",
  "displayName": "Gallery",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/gallery",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Responsive image grid with CSS-only lightbox on click",
  "representativeQueries": [
    "show a scrollable image gallery grid",
    "responsive image grid with css-only lightbox on click",
    "render a gallery"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →