Reveal On Scroll

Content block that starts invisible and fades + slides into view when scrolled into the viewport, using an IntersectionObserver with a CSS class toggle. Requires a small inline script — degrades gracefully to visible static content where JS is unavailable.

Surfaces
webgoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-meet-stageContent renders visible immediately (no scroll context)
pdfRenders as fully visible static block
google-chatRenders as plain text block
Live preview
Revealed on scroll
This content fades in as you scroll it into view using the Intersection Observer API.
Fields
FieldType
titlestring. Bold heading inside the block.optional
bodystring. Body text inside the block.optional
direction"up" | "down" | "left" | "right" (optional, default "up"). Drift direction before reveal.optional
durationnumber. Transition duration in seconds. Default 0.7.optional
accentstring. Left border accent colour. Default "#4f46e5".optional
backgroundstring. Block background. Default "#f8fafc".optional
Example payload
{
  "type": "reveal_on_scroll"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:reveal_on_scroll",
  "displayName": "Reveal On Scroll",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/reveal_on_scroll",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Content block that starts invisible and fades + slides into view when scrolled into the viewport, using an IntersectionObserver with a CSS class toggle. Requires a small inline script \u2014 degrades gracefully to visible static content where JS is unavailable.",
  "representativeQueries": [
    "show a IntersectionObserver scroll-triggered fade+slide reveal",
    "content block that starts invisible and fades + slides into view when scrolled into the viewport, us",
    "render a reveal on scroll"
  ]
}
← 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 →