Notification Badge

Small badge overlaid on an icon or element to indicate unread count or alert state.

Surfaces
webapps-script-web
Degraded on
SurfaceNote
meet-stageOverlay positioning unreliable in stage grid.
emailRenders as inline text.
Fields
FieldType
textstring. Badge label or count.required
colorstring. Background colour (hex).optional
Example payload
{
  "type": "notification_badge",
  "text": "New"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:notification_badge",
  "displayName": "Notification Badge",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/notification_badge",
  "capabilities": [
    "web",
    "apps-script-web"
  ],
  "description": "Small badge overlaid on an icon or element to indicate unread count or alert state.",
  "representativeQueries": [
    "show a unread count badge overlaid on icon element",
    "small badge overlaid on an icon or element to indicate unread count or alert state.",
    "render a notification badge"
  ]
}
← 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 →