Toggle Switch

Renders a visual on/off switch.

Surfaces
webgoogle-meet-stagegoogle-apps-script-webmcp-apps
Live preview
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",
    "google-meet-stage",
    "google-apps-script-web",
    "mcp-apps"
  ],
  "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
Deploy your own Google Apps Script renderer

The renderer is an open-source Google Apps Script web app. 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 a2ui/apps-script-surface/gas-wired-renderer
clasp push && clasp deploy
Full deploy guide →