Switch
InputsOn/off toggle with label and description.
Props
Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.
| Prop | Type | Required | Description |
|---|---|---|---|
| label | string | Yes | Short label shown with the value or control. |
| value | boolean | No | The value shown, or the bound value an input reads and writes. |
| description | string | No | Supporting text under the title or label. |
Used by templates
Fixed-schema templates that include Switch. Try them in the playground.