Skip to main content

Radio Group

The RadioGroup and RadioGroupItem components are reusable and customizable radio input elements. They are built with Radix's RadioGroup components.

Example​

Props​

Radio Group​

NameDescriptionType
classNameAdditional classes for styling the radio group.String
refForwarded reference to the element.React.Ref<RadioGroupPrimitive.Root>
propsAdditional properties from Radix Radio Group.RadioGroup

Radio Group Item​

NameDescriptionType
classNameAdditional classes for styling the radio group.String
refForwarded reference to the element.React.Ref<RadioGroupPrimitive.Item>
propsAdditional properties from Radix Radio Group.RadioGroup

Customization​

Customizations to this component can be made directly to the source file in the UI library package or one-off styles can be passed in as className overrides.