Radio Group

A set of mutually exclusive options. Only one option can be selected at a time. Built on Radix UI Radio Group.

Installation

Props

PropTypeDefaultDescription
value
string—Controlled selected value.
onValueChange
(value: string) => void—Callback when selection changes.
defaultValue
string—Uncontrolled default selected value.
disabled
booleanfalseDisables all radio items.
orientation
"horizontal" | "vertical""vertical"Orientation of the group.