Skip to content

ButtonGroup

Inputs

Segmented 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.

PropTypeRequiredDescription
labelstringNoShort label shown with the value or control.
valuestringNoThe value shown, or the bound value an input reads and writes.
options{ value, label }[]YesChoices as { value, label } pairs.

Used by templates

No fixed template uses ButtonGroup yet. The dynamic composer can still place it in any surface.