EnterUI
DocsComponentsThemesExamplesDonation
Get Started
      • Checkbox
      • RadioGroup
      • Switch

Default usage

  1. EnterUI
  2. /Docs
  3. /Inputs
  4. /Form Controls
  5. /Choice Controls
  6. /RadioGroup
Updated 3 October 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
  • Default usage
  • Import
  • Patterns
  • Accessibility
  • API
  • Styling