Skip to content
GitHub

Radio Group

Allows single selection from multiple options.

Installation

Usage

Controlled

Use the value and onValueChange props to control the radio group.

Select the option comfortable

State

Invalid

Use the invalid prop on <RadioGroup /> to indicate an invalid state.

Disabled

Use the disabled on <RadioGroup /> to disable all the radio group items or on <RadioGroupItem /> to disable a single item.

Examples

With Description

Use <FieldDescription /> to add a description to the radio group.

Standard spacing for most use cases.

More space between elements.

Minimal spacing for dense layouts.

Card Style

Use <FieldLabel /> to wrap the entire <Field /> for a clickable card-style selection.

API Reference

RadioGroup

Root component. Manages single selection from options.

RadioGroupItem

Single radio option. Use value for selection.


For a complete list of props, see the Ark UI documentation.