Skip to content
Forms

Radio Group

A set of mutually exclusive options. Built on Base UI primitives with keyboard navigation and focus management.

Import

import {
  RadioGroup,
  RadioGroupItem,
} from "@mikenotthepope/substrateui"

Composition

RadioGroup
└── RadioGroupItem

API Reference

PropTypeDefaultDescription
valuestringThe controlled value of the selected radio item.
onValueChange(value: string) => voidCallback fired when the selected value changes.
defaultValuestringThe default value when uncontrolled.
disabledbooleanfalseWhen true, disables all radio items in the group.