EEnterUI
DocsComponentsThemesDonation
Get Started
      • Checkbox
      • RadioGroup
      • Switch
EnterUIDocsInputsForm ControlsChoice ControlsRadioGroup
InputsUpdated 6 May 2026

RadioGroup

Single selection with keyboard navigation.

RadioGroup defines how EnterUI handles single selection with keyboard navigation, including default structure, accessible states, and token-driven styling.

#Default usage

Radio group

Use horizontal orientation for compact settings.

Code
<RadioGroup defaultValue="stable" orientation="horizontal" aria-label="Release channel">
  <RadioGroupItem value="alpha">Alpha</RadioGroupItem>
  <RadioGroupItem value="beta">Beta</RadioGroupItem>
  <RadioGroupItem value="stable">Stable</RadioGroupItem>
</RadioGroup>

#Import

Code
import { RadioGroup, RadioGroupItem } from "@froggdesign/enter-ui-react";

#Patterns

Vertical group

Vertical orientation reads better for longer labels.

#Accessibility

RadioGroup uses a radiogroup role and supports arrow key navigation. Provide an accessible name with a label or aria-label.

#API

  • RadioGroup: value, defaultValue, onValueChange, orientation, and native div props.
  • RadioGroupItem: requires value and supports disabled state.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousCheckbox
NextSwitch

On this page

  1. Default usage
  2. Import
  3. Patterns
  4. Accessibility
  5. API
  6. Styling