Renders an interactive button providing smooth automated viewport reset to page top.
| Surface | Note |
|---|---|
| meet-stage | Scroll animation shifts generate noticeable redraw lag. |
| googlechat | Removed — message frames prohibit floating navigation triggers. |
| Inline frame actions break across email display engines. |
| Field | Type | |
|---|---|---|
| behavior | string: smooth | auto. Scroll animation profile. | required |
{
"type": "scroll_to_top",
"behavior": "smooth"
}
{
"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",
"apps-script-web"
],
"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"
]
}
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 →