Gallery

Responsive image grid with CSS-only lightbox on click

Surfaces
webapps-script-web
Degraded on
SurfaceNote
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
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",
    "apps-script-web"
  ],
  "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 Try it live →
Deploy your own renderer

The renderer is open source. 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 apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →