Scroll Trigger

Content that animates in from a direction when scrolled into view — alias for reveal_on_scroll

Surfaces
apps-script-web
Fields
FieldType
textstring (alias: content)required
titlestringoptional
delaynumber (optional, seconds)optional
directionstring (optional, up|down|left|right)optional
Example payload
{
  "type": "scroll_trigger",
  "text": "A concise description of the content."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:scroll_trigger",
  "displayName": "Scroll Trigger",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/scroll_trigger",
  "capabilities": [
    "apps-script-web"
  ],
  "description": "Content that animates in from a direction when scrolled into view \u2014 alias for reveal_on_scroll",
  "representativeQueries": [
    "show a scroll-triggered animated reveal",
    "content that animates in from a direction when scrolled into view \u2014 alias for reveal_on_scroll",
    "render a scroll trigger"
  ]
}
← 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 →