Radio Group

A group of radio buttons.

Usage

Size

Disabled

Props

PropTypeDefaultDescription
defaultValuestring-The default selected value
valuestring-The controlled value
onValueChange(value: string) => void-Callback when the value changes
size'sm' | 'md' | 'lg''md'Size of the radio buttons (for RadioGroupItem)
disabledbooleanfalseWhether the radio button is disabled (for RadioGroupItem)