Renders a visual on/off switch.
| Field | Type | |
|---|---|---|
| label | string | required |
| is_checked | boolean | required |
| name | string | required |
{
"type": "toggle_switch",
"label": "Toggle Switch",
"is_checked": true,
"name": "Toggle Switch"
}
{
"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"
]
}
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 →