RadioGroup

Exclusive selection group.

Quick Preview

Pay in equal monthly installments.

Pay every three months.

Composition

Use this public composition when building RadioGroup:

RadioGroup
└── Field
    ├── RadioGroupItem
    └── FieldContent

Usage

<RadioGroup defaultValue="monthly"><RadioGroupItem value="monthly" /></RadioGroup>

Examples

Sizes

Use size directly or through Field to keep radio items aligned with form density.

Props

Prop/APITypeDefaultDescription
size on RadioGroupItem`"sm""md""lg"`
classNamestring-Local layout or spacing overrides.
native/root propsReact component props-Passed through to the underlying root or primitive.

Accessibility

  • Preserve the documented RadioGroup composition so labels, triggers, content, and controls remain connected.
  • Provide visible labels or accessible names for interactive controls.
  • Preserve the component-provided focus, keyboard, disabled, and invalid-state behavior.
  • Do not communicate state with color alone; include text, icons, or helper copy.

On this page