Gradient Hero

Full-width light/pastel gradient hero with badge, large title, subtitle, and optional CTA. Pure CSS — no images. Works on all surfaces. Use when dark_hero is too heavy.

Surfaces
webapps-script-webpdf
Fields
FieldType
titlestring (required, alias heading)required
subtitlestring (optional, alias subtext)optional
badgestring (optional, label above title)optional
accentstring (optional, hex, default "#6366f1")optional
accent2string (optional, second gradient hex, default "#8b5cf6")optional
gradientstring (optional, css gradient override)optional
alignstring (optional, "left"|"center", default "left")optional
cta_labelstringoptional
cta_urlstringoptional
Example payload
{
  "type": "gradient_hero",
  "title": "Gradient Hero"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:gradient_hero",
  "displayName": "Gradient Hero",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/gradient_hero",
  "capabilities": [
    "web",
    "apps-script-web",
    "pdf"
  ],
  "description": "Full-width light/pastel gradient hero with badge, large title, subtitle, and optional CTA. Pure CSS \u2014 no images. Works on all surfaces. Use when dark_hero is too heavy.",
  "representativeQueries": [
    "show a light gradient hero \u2014 badge, large title, subtitle, CTA button",
    "full-width light/pastel gradient hero with badge, large title, subtitle, and optional cta. pure css",
    "render a gradient hero"
  ]
}
← 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 →