Color Swatch Grid

Displays a grid of color swatches with labels and hex values for design system palettes.

Surfaces
webmeet-stageapps-script-web
Degraded on
SurfaceNote
emailCSS grid collapses; falls back to inline color names.
Fields
FieldType
colorsarray of {name, hex}. Color entries to display.required
Example payload
{
  "type": "color_swatch_grid",
  "colors": [
    "#3b82f6",
    "#10b981",
    "#f59e0b",
    "#ef4444"
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:color_swatch_grid",
  "displayName": "Color Swatch Grid",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/color_swatch_grid",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Displays a grid of color swatches with labels and hex values for design system palettes.",
  "representativeQueries": [
    "show a grid of named color swatches with hex values",
    "displays a grid of color swatches with labels and hex values for design system palettes.",
    "render a color swatch grid"
  ]
}
← 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 →