Radio Group

Group of radio buttons for selecting a single option from multiple choices

Primitive

A radio group lets the user pick exactly one option from a small, visible set. Use it when every choice should stay on screen, like a plan tier or a shipping speed. For more than a handful of options, or when the choices can stay collapsed, use Select instead.

Preview

Installation

Usage

Composition

RadioGroup owns the selected value; each RadioGroupItem carries its own value and renders the indicator.

Examples

Controlled

Use value and onValueChange on RadioGroup to drive the selection yourself.

Selected: comfortable

With Descriptions

Pair each item with a label and helper text for richer options.

Disabled Options

Set disabled on a RadioGroupItem to take a single option out of play.

Color

Use color="primary" on RadioGroupItem to fill the selected radio with the brand color instead of the default emphasis grey. Set the same color on every item in a group.

Form Integration

Use Field and Fieldset with the render prop. See the Forms guide for more patterns.

Select a plan

API Reference

The RadioGroup component is built on top of Base UI's RadioGroup. All Base UI props are supported. The documentation below only covers custom props specific to our implementation.

Props

RadioGroupItem

Upgrading

If you're reinstalling over an earlier version, check these changes:

BeforeNow
variant="elevated"Removed. The default works on any surface, so drop the prop.
Checked fill in the primary blueNeutral emphasis grey. Pass color="primary" for the brand fill.