RadioGroup

Radio button group with proximity hover and animated selection.

Installation

Installs the Base UI flavor. Switch in the right panel.

Basic

Inspect

API Reference — RadioGroup

PropTypeDefaultDescription
selectedIndexnumber—Index of the currently selected item.
childrenReactNode—RadioItem children.

API Reference — RadioItem

PropTypeDefaultDescription
labelstring—Text label for the radio item.
indexnumber—Position index within the group.
selectedboolean—Whether this item is selected.
onSelect() => void—Called when this item is selected.
valuestring—Optional Radix value for form integration.