Skip to main content

RadioGroup

The RadioGroup.Item component is used to create radios within the group. The props used for RadioGroup.Item are the same as the props used for Checkbox (value is required and becomes the value of the RadioGroup).

Uncontrolled

Result
Loading...
Live Editor

Controlled

Result
Loading...
Live Editor

Analytics

The RadioGroup component is trackable through Kyber Analytics. This is the default analytics config.

export default {
value: 'RadioGroup',
actions: {
onChange: { type: 'RADIOGROUP_CHANGE', payload: 'Change' },
},
};

Props

RadioGroup

RadioGroup.Item