Radio Group

A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.

Notify me about...

Current: all

Installation

CLI

Install the component using the StarUI CLI:

star add radio-group

Examples

Horizontal Layout

Radio buttons arranged in a row with helper text

Choose the appropriate size

States

Disabled, required, and error states

Please select an option to continue

Form Integration

Contact preference form with conditional submit button

Contact Preference

How should we reach you?

Custom Cards

Hidden indicators with custom card labels and selection styling

Deploy to

Region: us-east

Plan Selector

Detail panel updates with price and features per selection [match(), data_text]

API Reference

Component Description
RadioGroup Container that manages a single selection across contained items
RadioGroupItem Individual option; provide a unique value and label content
RadioGroupWithLabel Convenience wrapper that renders a labelled group from an options list