Inline Alert

Compact inline-level alert embedded within content flow — an icon and short message that appears beside labels, form fields, or within paragraphs without disrupting layout. Distinct from alert_banner (full-width strip) and toast_notification (transient overlay).

Surfaces
webgoogle-meet-stagegoogle-apps-script-webmcp-apps
Degraded on
SurfaceNote
google-chatrenders as plain text prefix with emoji icon; no colour or border styling
emailicon glyph only; background colour unreliable across clients
pdfrenders as plain text with emoji prefix; no colour
Live preview
ℹ️
Fields
FieldType
variantstring. Severity — "info", "success", "warning" or "error". "critical" is accepted as a synonym for "error" (see alert_banner). NOT `type`, which is the block discriminator — a severity put there is ignored or replaces the atom name. Renderers read `variant`.required
messagestring. The alert text.required
detailstring. A secondary line of smaller detail text.optional
iconstring. Override the default icon for the severity type.optional
Example payload
{
  "type": "inline_alert",
  "variant": "primary",
  "message": "Your action was completed successfully."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:inline_alert",
  "displayName": "Inline Alert",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/inline_alert",
  "capabilities": [
    "web",
    "google-meet-stage",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "description": "Compact inline-level alert embedded within content flow \u2014 an icon and short message that appears beside labels, form fields, or within paragraphs without disrupting layout. Distinct from alert_banner (full-width strip) and toast_notification (transient overlay).",
  "representativeQueries": [
    "show a inline icon-plus-text alert embedded in content flow",
    "compact inline-level alert embedded within content flow \u2014 an icon and short message that appears bes",
    "render a inline alert"
  ]
}
← 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 →