Scroll To Top

Renders an interactive button providing smooth automated viewport reset to page top.

Surfaces
webgoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-meet-stageScroll animation shifts generate noticeable redraw lag.
google-chatRemoved — message frames prohibit floating navigation triggers.
emailInline frame actions break across email display engines.
Live preview
Fields
FieldType
behaviorstring: smooth | auto. Scroll animation profile.required
Example payload
{
  "type": "scroll_to_top",
  "behavior": "smooth"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:scroll_to_top",
  "displayName": "Scroll To Top",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/scroll_to_top",
  "capabilities": [
    "web",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Renders an interactive button providing smooth automated viewport reset to page top.",
  "representativeQueries": [
    "show a quickly return viewport to top of page document",
    "renders an interactive button providing smooth automated viewport reset to page top.",
    "render a scroll to top"
  ]
}
← 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 →