Difficulty Badge

Displays a small visual marker representing the technical complexity level of an article.

Surfaces
webapps-script-web
Degraded on
SurfaceNote
googlechatRenders as unstyled plain text instead of a color-coded label.
emailCustom background and border treatments may fail to display.
Fields
FieldType
levelstring: beginner | intermediate | advanced. The target audience expertise tier.required
Example payload
{
  "type": "difficulty_badge",
  "level": 1
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:difficulty_badge",
  "displayName": "Difficulty Badge",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/difficulty_badge",
  "capabilities": [
    "web",
    "apps-script-web"
  ],
  "description": "Displays a small visual marker representing the technical complexity level of an article.",
  "representativeQueries": [
    "show a label technical complexity level of blog content",
    "displays a small visual marker representing the technical complexity level of an article.",
    "render a difficulty 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 →