Components / UI components / Forms
FormsExperimental alpha

RadioGroup

A named group of mutually exclusive native radio choices.

RadioGroup preview

Loading example…

Interactions use local sample data.

Usage and props

Supply stable option values and use Field labelAs="span" for the group label. Empty options need an explicit explanation.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

options · value? · onValueChange? · name? · orientation? · disabled? · emptyMessage?
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard