Color Section

Renders child atom blocks inside a colored background container. Use to visually group content with tint, solid, or dark style.

Surfaces
webapps-script-web
Fields
FieldType
accentstring (optional, hex, default "#6366f1")optional
stylestring (optional, "tint"|"solid"|"dark"|"light", default "tint")optional
paddingstring (optional, css, default "24px")optional
blocksarray (required, atom blocks rendered inside)required
Example payload
{
  "type": "color_section",
  "blocks": [
    {
      "type": "body",
      "text": "Example content."
    }
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:color_section",
  "displayName": "Color Section",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/color_section",
  "capabilities": [
    "web",
    "apps-script-web"
  ],
  "description": "Renders child atom blocks inside a colored background container. Use to visually group content with tint, solid, or dark style.",
  "representativeQueries": [
    "show a colored background wrapper \u2014 tint/solid/dark, renders child atom blocks",
    "renders child atom blocks inside a colored background container. use to visually group content with",
    "render a color section"
  ]
}
← 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 →