Agentic typesetting: the agent decides how much each WORD weighs. A headline where every word carries an emphasis 1-5 that sets its size, weight and opacity, with the heaviest words in the accent colour; words land in sequence, heavier ones from higher up. The reader sees the shape of the argument before reading it. Give it "words" as [{text, weight}] to typeset deliberately, or plain "text" for an even setting. Screenshot-ready, light or dark. Capped at 40 words of 24 characters; weights clamp to 1-5.
| Surface | Note |
|---|---|
| google-chat | Renders as a plain text card; typographic weighting and animation are lost |
| Field | Type | Required |
|---|---|---|
| words | array of {text, weight}. weight is an integer 1-5; 5 is set in the accent colour. Strings are accepted as weight 2. | optional |
| text | string. Fallback when words is absent; every word set at weight 2. | optional |
| voice | "display" | "serif" | "mono" (optional, default "display"). System font stacks. | optional |
| theme | "dark" | "light" (optional, default "dark") | optional |
| accent | "#rrggbb". Default "#38bdf8". | optional |
| align | "left" | "center" (optional, default "left") | optional |
| animate | bool. Words land in sequence on load. Default true. | optional |
{
"type": "weighted_words"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:weighted_words",
"displayName": "Weighted Words",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/weighted_words",
"capabilities": [
"web",
"google-meet-stage",
"google-apps-script-web",
"mcp-apps",
"pdf",
"android"
],
"description": "Agentic typesetting: the agent decides how much each WORD weighs. A headline where every word carries an emphasis 1-5 that sets its size, weight and opacity, with the heaviest words in the accent colour; words land in sequence, heavier ones from higher up. The reader sees the shape of the argument before reading it. Give it \"words\" as [{text, weight}] to typeset deliberately, or plain \"text\" for an even setting. Screenshot-ready, light or dark. Capped at 40 words of 24 characters; weights clamp to 1-5.",
"representativeQueries": [
"show a headline where the agent sets each word's emphasis 1-5; heavy words land bigger",
"agentic typesetting: the agent decides how much each word weighs. a headline where every word carrie",
"render a weighted words"
]
}
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 →