Badge

Inline badge pill with accent colour

Surfaces
apps-script-web
Fields
FieldType
textstringrequired
colorstring (optional, hex colour)optional
Example payload
{
  "type": "badge",
  "text": "New"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:badge",
  "displayName": "Badge",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/badge",
  "capabilities": [
    "apps-script-web"
  ],
  "description": "Inline badge pill with accent colour",
  "representativeQueries": [
    "show a inline badge pill",
    "inline badge pill with accent colour",
    "render a 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 →