Choice List
Present multiple options to users, allowing either single selections with radio buttons or multiple selections with checkboxes.
Anchor to propertiesProperties
Additional text to provide context or guidance for the field. This text is displayed along with the field and its label to offer more information or instructions to the user.
This will also be exposed to screen reader users.
Disables the field, disallowing any interaction.
disabled
on any child choices is ignored when this is true.
Indicate an error to the user. The field will be given a specific stylistic treatment to communicate problems that have to be resolved immediately.
Content to use as the field label.
Changes the visibility of the component's label.
visible
: the label is visible to all users.exclusive
: the label is visually hidden but remains in the accessibility tree.
Whether multiple choices can be selected.
An identifier for the field that is unique within the nearest containing form.
An array of the value
s of the selected options.
This is a convenience prop for setting the selected
prop on child options.
Anchor to choiceChoice
Create options that let users select one or multiple items from a list of choices.
A label used for users using assistive technologies like screen readers. When set, any children or label
supplied will not be announced. This can also be used to display a control without a visual label, while still providing context to users using screen readers.
Whether the control is active by default.
Additional text to provide context or guidance for the input.
This text is displayed along with the input and its label to offer more information or instructions to the user.
Disables the control, disallowing any interaction.
Content to use as the choice label.
Whether the control is active.
The value used in form data when the control is checked.
Anchor to eventsEvents
Learn more about registering events.