Scroll Progress

Thin fixed progress bar at the top of the viewport showing scroll position

Surfaces
apps-script-web
Fields
FieldType
colorstring (optional, hex, default #6366f1)optional
heightnumber (optional, px, default 3)optional
Example payload
{
  "type": "scroll_progress"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:scroll_progress",
  "displayName": "Scroll Progress",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/scroll_progress",
  "capabilities": [
    "apps-script-web"
  ],
  "description": "Thin fixed progress bar at the top of the viewport showing scroll position",
  "representativeQueries": [
    "show a fixed scroll-progress bar at page top",
    "thin fixed progress bar at the top of the viewport showing scroll position",
    "render a scroll progress"
  ]
}
← 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 →