name
Description
Specifies. Sets the name of a group a radio button belongs toUsage
name?: string;
Example
// Group radio buttons by providing the same `name` prop
<RadioButton label="Option 1" value={true} name="group1" />
<RadioButton label="Option 2" value={false} name="group1" />
Related article: Grouping radio buttons via the name property
Related sample: Radio Button