A rounded call-to-action chip: "Comment *Motion* under this post". The words between asterisks take the accent colour (two asterisks in a row are a literal one), with an optional leading glyph. It fades and rises with p, and put in a layer with layer:"hud" it stays on screen across every scene and camera move, the way social films keep their ask visible. Plain HTML and CSS, no script: it moves with the --p custom property a motion_timeline p track sets, and standalone it renders its final state.
| Surface | Note |
|---|---|
| Prints the final state (type fully revealed, numbers at their values, shapes drawn); no motion | |
| google-chat | Inline CSS functions and custom properties are not supported |
| Field | Type | Required |
|---|---|---|
| text | string (max 60). Default "Label". *word* takes the accent colour; ** is a literal asterisk. | required |
| icon | string (optional, max 2). A glyph before the text, in the accent colour. | optional |
| size | integer. Font size px, 10-120. Default 28. | optional |
| accent | "#rrggbb". Default the stage accent. | optional |
| color | "#rrggbb". Text colour. Default the stage ink. | optional |
| fill | "#rrggbb". Chip fill. Default a faint tint of the stage ink. | optional |
| border_gradient | ["#rrggbb", "#rrggbb"]. A two-colour gradient outline instead of the faint line. | optional |
| glow | integer. A soft glow around the chip, 0-40 px, in the gradient colours or the accent. Default 0 (off). | optional |
| href | string. Makes the pill a real link: https, mailto or a relative path; anything else is dropped. Default none. | optional |
| align | "start" | "middle" | "end" (optional, default "start") | optional |
{
"type": "motion_pill"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:motion_pill",
"displayName": "Motion Pill",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/motion_pill",
"capabilities": [
"web",
"google-meet-stage",
"google-apps-script-web",
"mcp-apps",
"android"
],
"description": "A rounded call-to-action chip: \"Comment *Motion* under this post\". The words between asterisks take the accent colour (two asterisks in a row are a literal one), with an optional leading glyph. It fades and rises with p, and put in a layer with layer:\"hud\" it stays on screen across every scene and camera move, the way social films keep their ask visible. Plain HTML and CSS, no script: it moves with the --p custom property a motion_timeline p track sets, and standalone it renders its final state.",
"representativeQueries": [
"show a rounded call-to-action chip with an accent word that stays on screen across scenes",
"a rounded call-to-action chip: \"comment *motion* under this post\". the words between asterisks take",
"render a motion pill"
]
}
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 →