RadioButton
Radio buttons are used to represent a group or category of choices whereby users can only select one option - the main difference from checkboxes that allow users to select multiple options.
RadioButton
Please select your age:
No label
Disabled
Checked
Props for RadioButton component
Name | Type | Required | Default | Description |
---|---|---|---|---|
id | string | No | - | Unique element's identifier |
label | JSX.Element | string | No | - | Represent a caption for an item |
ariaLabel | string | No | - | Defines a string value that labels the current element |
disabled | boolean | No | false | A Boolean indicating whether or not this radio button is desabled |
checked | boolean | No | false | A Boolean indicating whether or not this radio button is the default-selected item in the group |
onClick | - | No | - | Event handler |