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.

Choose the appropriate size for your needs

Installation

CLI

Install the component using the StarUI CLI:

star add radio-group

Examples

Subscription Plans

Rich radio options with proper RadioGroup semantics and CSS peer selectors

Choose Your Plan

Select the plan that best fits your needs

Subscription Plans

Selected plan: free

Payment Method

Payment selection with contextual information

Payment Method

How would you like to pay?

Secure payment processing

Interactive Survey

Multi-step survey with progress tracking and validation

Web Development Survey

Settings Panel

Multiple radio groups for configuration

Display Settings

Customize your viewing experience

Choose your preferred color scheme

Adjust text size for better readability

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