Components/RadioGroup

RadioGroup

Radix RadioGroup with per-option labels and descriptions.

Installation

Examples

Billing plan

Radio options with label and description.

Horizontal layout

Options laid out side-by-side.

API Reference

PropTypeDefaultDescription
valuestringControlled selected value.
onValueChange(v: string) => voidCalled on selection change.
orientation'horizontal'|'vertical''vertical'Layout of options.
disabledbooleanfalseDisables all radio buttons.