Toggle Switch

Renders a visual on/off switch.

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
labelstringrequired
is_checkedbooleanrequired
namestringrequired
Example payload
{
  "type": "toggle_switch",
  "label": "Toggle Switch",
  "is_checked": true,
  "name": "Toggle Switch"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:toggle_switch",
  "displayName": "Toggle Switch",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/toggle_switch",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Renders a visual on/off switch.",
  "representativeQueries": [
    "show a CSS toggle switch input",
    "renders a visual on/off switch.",
    "render a toggle switch"
  ]
}
← 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 →