ButtonGroup
InputsSegmented single-choice control; value bound to a path.
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 | No | Short label shown with the value or control. |
| value | string | No | The value shown, or the bound value an input reads and writes. |
| options | { value, label }[] | Yes | Choices as { value, label } pairs. |
Used by templates
No fixed template uses ButtonGroup yet. The dynamic composer can still place it in any surface.