Skip to content

Radio Group

A set of interactive radio buttons where only one option can be selected at a time. Fully accessible and keyboard navigable.

$cookest-ui add radio-group

Dietary Preference

Use Radio Group when the user must choose exactly one from a list.

Selected: omnivore

Pricing Plans

Use card-style radio groups for feature-rich plan selection.

PropTypeDefaultDescription
valuestringThe controlled selected value.
onValueChange(value: string) => voidCallback when selection changes.
defaultValuestringDefault selected value (uncontrolled).
disabledbooleanfalseDisables the entire radio group.
orientation"horizontal" | "vertical""vertical"Layout direction of the items.