TrademarkTrademark
Docs
Ctrl k
Search docs...
Form Controls

RadioGroup

Updated: October 18, 2026
View on GitHub
Soon
Not released yet. This is on main and is not in any published version yet. It will not install today.

RadioGroup draws a RadioButton for each item in options and keeps one of them on. It can take a label and a description for the whole group. See the web RadioGroup for the same component in the browser.

Uncontrolled

Pass defaultValue to pick the first choice. onChange gets the new value.

Controlled

Horizontal and disabled

orientation="horizontal" lays the options out in a row that wraps. disabled turns off every option.

Custom layout

For radios options cannot describe, put RadioButtons with a value inside the group, in any layout. The group checks the one whose value it holds, as on the web. They render after any options.

Differences from the web

  • There is no name, form submission or arrow-key navigation.

API reference

Prop
Type
Default
Description
optionsRadioGroupOption[][]The choices.
valuestringThe chosen value, when the screen owns it.
defaultValuestringThe first choice when the group keeps its own state.
onChange(value: string) => voidCalled with the newly chosen value.
labelReactNodeA label for the group.
descriptionReactNodeA line under the group label.
disabledbooleanfalseTurns off every option.
orientation"horizontal" | "vertical""vertical"horizontal lays the options out in a wrapping row.
childrenReactNodeRadioButtons with a value, in any layout. They render after the options.
styleViewStyleStyle for the group.

RadioGroupOption

Prop
Type
Default
Description
valuestringWhat onChange reports. Required.
labelReactNodeText beside the radio. Required.
descriptionReactNodeA line under the label.
disabledbooleanTurns off this option.
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club