Segmented Control

Renders a group of mutually exclusive buttons for selection, styled

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
optionslist of objects with label, valuerequired
selected_valuestringrequired
namestringrequired
Example payload
{
  "type": "segmented_control",
  "options": [
    {
      "label": "Option A",
      "value": "a"
    },
    {
      "label": "Option B",
      "value": "b"
    },
    {
      "label": "Option C",
      "value": "c"
    }
  ],
  "selected_value": "Selected value",
  "name": "Segmented Control"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:segmented_control",
  "displayName": "Segmented Control",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/segmented_control",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Renders a group of mutually exclusive buttons for selection, styled",
  "representativeQueries": [
    "show a mutually exclusive option selector strip as a single control",
    "renders a group of mutually exclusive buttons for selection, styled",
    "render a segmented control"
  ]
}
← 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 →