Unlockable achievement or completion badge displayed as a circular icon with a title, description, and optional unlock date. Locked state shows a greyscale padlock overlay. Suitable for course completion, streak milestones, and skill certifications. Renders as a centred card or inline pill depending on size variant.
| Surface | Note |
|---|---|
| googlechat | Renders as a plain text badge name and description โ no icon or visual styling |
| Field | Type | |
|---|---|---|
| title | string. Achievement name. | required |
| description | string. Short achievement description. | optional |
| icon | string. Emoji or single character used as the badge icon. Default "๐". | optional |
| locked | boolean (optional, default false). Shows greyscale padlock overlay when true. | optional |
| unlocked_at | string. ISO date string shown beneath the badge when unlocked. | optional |
| color | string. Badge accent colour. Default "#f59e0b". | optional |
| size | "card" | "pill" (optional, default "card") | optional |
{
"type": "achievement_badge",
"title": "Achievement Badge"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:achievement_badge",
"displayName": "Achievement Badge",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/achievement_badge",
"capabilities": [
"web",
"meet-stage",
"email",
"pdf",
"apps-script-web"
],
"description": "Unlockable achievement or completion badge displayed as a circular icon with a title, description, and optional unlock date. Locked state shows a greyscale padlock overlay. Suitable for course completion, streak milestones, and skill certifications. Renders as a centred card or inline pill depending on size variant.",
"representativeQueries": [
"show a unlockable achievement badge with locked/unlocked state and optional date",
"unlockable achievement or completion badge displayed as a circular icon with a title, description, a",
"render a achievement badge"
]
}
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 โ