Toast Notification

A fixed-position slide-in notification toast that appears from a corner of the viewport, holds for 3.5 seconds, then slides back out — all via CSS keyframes. Renders a viewport placeholder in the article flow with the toast positioned fixed above it.

Surfaces
webgas-sidebarapps-script-web
Degraded on
SurfaceNote
meet-stageFixed positioning relative to Meet iframe; renders at iframe edge
pdfRenders as a styled notification card inline (not fixed)
googlechatRenders as a plain notification text card
Fields
FieldType
titlestring. Bold notification title. Default "Changes saved".optional
messagestring. Body text. Default "Your updates have been applied successfully."optional
variant"success" | "error" | "info" | "warning" (optional, default "success")optional
position"bottom-right" | "bottom-left" | "top-right" | "top-left" (optional, default "bottom-right")optional
Example payload
{
  "type": "toast_notification"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:toast_notification",
  "displayName": "Toast Notification",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/toast_notification",
  "capabilities": [
    "web",
    "gas-sidebar",
    "apps-script-web"
  ],
  "description": "A fixed-position slide-in notification toast that appears from a corner of the viewport, holds for 3.5 seconds, then slides back out \u2014 all via CSS keyframes. Renders a viewport placeholder in the article flow with the toast positioned fixed above it.",
  "representativeQueries": [
    "show a CSS slide-in/out fixed-position notification toast",
    "a fixed-position slide-in notification toast that appears from a corner of the viewport, holds for 3",
    "render a toast notification"
  ]
}
← 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 →