Weighted Words

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.

Surfaces
webgoogle-meet-stagegoogle-apps-script-webmcp-appspdfandroid
Degraded on
SurfaceNote
google-chatRenders as a plain text card; typographic weighting and animation are lost
Live preview
A2UI
Fields
FieldTypeRequired
wordsarray of {text, weight}. weight is an integer 1-5; 5 is set in the accent colour. Strings are accepted as weight 2.optional
textstring. 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
animatebool. Words land in sequence on load. Default true.optional
Example payload
{
  "type": "weighted_words"
}
ARD catalog entry
{
  "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"
  ]
}
← Full ARD catalog
Deploy your own Google Apps Script renderer

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 →