Gradient Text

Heading text rendered with an animated shifting gradient fill using CSS background-clip:text and a background-position keyframe. The gradient flows continuously between the from/to colours, creating a shimmer effect on titles and hero text.

Surfaces
webmeet-stageapps-script-web
Degraded on
SurfaceNote
pdfRenders as flat-coloured text (first gradient stop)
googlechatCSS background-clip not supported; renders as plain bold text
Fields
FieldType
textstring. The heading text to display.required
fromstring. Gradient start colour. Default "#4f46e5".optional
tostring. Gradient end colour. Default "#06b6d4".optional
viastring. Optional midpoint colour.optional
sizestring. Font size. Default "2rem".optional
weightstring. Font weight. Default "800".optional
durationnumber. Cycle duration in seconds. Default 4.optional
Example payload
{
  "type": "gradient_text",
  "text": "A concise description of the content."
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:gradient_text",
  "displayName": "Gradient Text",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/gradient_text",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Heading text rendered with an animated shifting gradient fill using CSS background-clip:text and a background-position keyframe. The gradient flows continuously between the from/to colours, creating a shimmer effect on titles and hero text.",
  "representativeQueries": [
    "show a Animated gradient-fill heading text via CSS background-clip",
    "heading text rendered with an animated shifting gradient fill using css background-clip:text and a b",
    "render a gradient text"
  ]
}
← 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 →