@rio-cloud/uikit-mcp 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/README.md +1 -0
  2. package/dist/doc-metadata.json +97 -97
  3. package/dist/docs/components/accentBar.md +5 -5
  4. package/dist/docs/components/activity.md +7 -7
  5. package/dist/docs/components/animatedNumber.md +10 -10
  6. package/dist/docs/components/animatedTextReveal.md +42 -43
  7. package/dist/docs/components/animations.md +42 -34
  8. package/dist/docs/components/appHeader.md +20 -35
  9. package/dist/docs/components/appLayout.md +198 -221
  10. package/dist/docs/components/appNavigationBar.md +21 -21
  11. package/dist/docs/components/areaCharts.md +38 -38
  12. package/dist/docs/components/aspectRatioPlaceholder.md +4 -5
  13. package/dist/docs/components/assetTree.md +887 -614
  14. package/dist/docs/components/autosuggests.md +4 -4
  15. package/dist/docs/components/avatar.md +7 -7
  16. package/dist/docs/components/banner.md +2 -2
  17. package/dist/docs/components/barCharts.md +173 -173
  18. package/dist/docs/components/barList.md +19 -41
  19. package/dist/docs/components/basicMap.md +1 -1
  20. package/dist/docs/components/bottomSheet.md +74 -74
  21. package/dist/docs/components/button.md +161 -71
  22. package/dist/docs/components/buttonToolbar.md +3 -3
  23. package/dist/docs/components/calendarStripe.md +71 -123
  24. package/dist/docs/components/card.md +4 -4
  25. package/dist/docs/components/carousel.md +1 -1
  26. package/dist/docs/components/chartColors.md +1 -1
  27. package/dist/docs/components/chartsGettingStarted.md +1 -1
  28. package/dist/docs/components/chat.md +2 -2
  29. package/dist/docs/components/checkbox.md +56 -131
  30. package/dist/docs/components/clearableInput.md +23 -127
  31. package/dist/docs/components/collapse.md +14 -16
  32. package/dist/docs/components/composedCharts.md +31 -31
  33. package/dist/docs/components/contentLoader.md +125 -122
  34. package/dist/docs/components/dataTabs.md +103 -93
  35. package/dist/docs/components/datepickers.md +734 -764
  36. package/dist/docs/components/dialogs.md +299 -186
  37. package/dist/docs/components/divider.md +4 -4
  38. package/dist/docs/components/dropdowns.md +4555 -4498
  39. package/dist/docs/components/editableContent.md +97 -97
  40. package/dist/docs/components/expander.md +56 -56
  41. package/dist/docs/components/fade.md +41 -41
  42. package/dist/docs/components/fadeExpander.md +4 -4
  43. package/dist/docs/components/fadeUp.md +8 -10
  44. package/dist/docs/components/feedback.md +22 -21
  45. package/dist/docs/components/filePickers.md +25 -25
  46. package/dist/docs/components/formLabel.md +5 -7
  47. package/dist/docs/components/groupedItemList.md +37 -37
  48. package/dist/docs/components/iconList.md +4 -4
  49. package/dist/docs/components/imagePreloader.md +6 -6
  50. package/dist/docs/components/labeledElement.md +4 -3
  51. package/dist/docs/components/licensePlate.md +2 -2
  52. package/dist/docs/components/lineCharts.md +58 -58
  53. package/dist/docs/components/listMenu.md +63 -41
  54. package/dist/docs/components/loadMore.md +17 -17
  55. package/dist/docs/components/mainNavigation.md +1 -1
  56. package/dist/docs/components/mapCircle.md +1 -1
  57. package/dist/docs/components/mapCluster.md +1 -1
  58. package/dist/docs/components/mapContext.md +1 -1
  59. package/dist/docs/components/mapDraggableMarker.md +1 -1
  60. package/dist/docs/components/mapGettingStarted.md +1 -1
  61. package/dist/docs/components/mapInfoBubble.md +1 -1
  62. package/dist/docs/components/mapLayerGroup.md +1 -1
  63. package/dist/docs/components/mapMarker.md +339 -345
  64. package/dist/docs/components/mapPolygon.md +16 -20
  65. package/dist/docs/components/mapRoute.md +14 -20
  66. package/dist/docs/components/mapRouteGenerator.md +1 -1
  67. package/dist/docs/components/mapSettings.md +263 -274
  68. package/dist/docs/components/mapUtils.md +3 -5
  69. package/dist/docs/components/multiselects.md +1 -1
  70. package/dist/docs/components/noData.md +11 -11
  71. package/dist/docs/components/notifications.md +1 -1
  72. package/dist/docs/components/numbercontrol.md +39 -37
  73. package/dist/docs/components/onboarding.md +18 -38
  74. package/dist/docs/components/page.md +16 -16
  75. package/dist/docs/components/pager.md +8 -8
  76. package/dist/docs/components/pieCharts.md +124 -124
  77. package/dist/docs/components/popover.md +37 -53
  78. package/dist/docs/components/position.md +4 -4
  79. package/dist/docs/components/radialBarCharts.md +506 -506
  80. package/dist/docs/components/radiobutton.md +209 -191
  81. package/dist/docs/components/releaseNotes.md +9 -3
  82. package/dist/docs/components/resizer.md +7 -8
  83. package/dist/docs/components/responsiveColumnStripe.md +11 -11
  84. package/dist/docs/components/responsiveVideo.md +5 -5
  85. package/dist/docs/components/rioglyph.md +11 -11
  86. package/dist/docs/components/rules.md +118 -92
  87. package/dist/docs/components/saveableInput.md +366 -356
  88. package/dist/docs/components/selects.md +9996 -15
  89. package/dist/docs/components/sidebar.md +22 -23
  90. package/dist/docs/components/sliders.md +26 -26
  91. package/dist/docs/components/smoothScrollbars.md +61 -25
  92. package/dist/docs/components/spinners.md +32 -30
  93. package/dist/docs/components/states.md +236 -245
  94. package/dist/docs/components/statsWidgets.md +37 -28
  95. package/dist/docs/components/statusBar.md +22 -22
  96. package/dist/docs/components/stepButton.md +2 -2
  97. package/dist/docs/components/steppedProgressBars.md +45 -45
  98. package/dist/docs/components/subNavigation.md +3 -3
  99. package/dist/docs/components/supportMarker.md +1 -1
  100. package/dist/docs/components/svgImage.md +2 -38
  101. package/dist/docs/components/switch.md +11 -11
  102. package/dist/docs/components/tables.md +1 -1
  103. package/dist/docs/components/tagManager.md +40 -40
  104. package/dist/docs/components/tags.md +21 -20
  105. package/dist/docs/components/teaser.md +22 -23
  106. package/dist/docs/components/timeline.md +1 -1
  107. package/dist/docs/components/timepicker.md +17 -13
  108. package/dist/docs/components/toggleButton.md +65 -29
  109. package/dist/docs/components/tooltip.md +27 -50
  110. package/dist/docs/components/virtualList.md +75 -75
  111. package/dist/docs/foundations.md +167 -167
  112. package/dist/docs/start/changelog.md +23 -1
  113. package/dist/docs/start/goodtoknow.md +1 -1
  114. package/dist/docs/start/guidelines/color-combinations.md +1 -1
  115. package/dist/docs/start/guidelines/custom-css.md +1 -1
  116. package/dist/docs/start/guidelines/custom-rioglyph.md +1 -1
  117. package/dist/docs/start/guidelines/formatting.md +1 -1
  118. package/dist/docs/start/guidelines/iframe.md +80 -27
  119. package/dist/docs/start/guidelines/obfuscate-data.md +1 -1
  120. package/dist/docs/start/guidelines/print-css.md +1 -1
  121. package/dist/docs/start/guidelines/spinner.md +81 -81
  122. package/dist/docs/start/guidelines/supported-browsers.md +1 -1
  123. package/dist/docs/start/guidelines/writing.md +1 -1
  124. package/dist/docs/start/howto.md +9 -9
  125. package/dist/docs/start/intro.md +1 -1
  126. package/dist/docs/start/responsiveness.md +1 -1
  127. package/dist/docs/templates/common-table.md +11 -11
  128. package/dist/docs/templates/detail-views.md +2 -2
  129. package/dist/docs/templates/expandable-details.md +1 -1
  130. package/dist/docs/templates/feature-cards.md +55 -55
  131. package/dist/docs/templates/form-summary.md +22 -22
  132. package/dist/docs/templates/form-toggle.md +1 -1
  133. package/dist/docs/templates/list-blocks.md +197 -197
  134. package/dist/docs/templates/loading-progress.md +1 -1
  135. package/dist/docs/templates/options-panel.md +1 -1
  136. package/dist/docs/templates/panel-variants.md +1 -1
  137. package/dist/docs/templates/progress-cards.md +1 -1
  138. package/dist/docs/templates/progress-success.md +1 -1
  139. package/dist/docs/templates/settings-form.md +23 -23
  140. package/dist/docs/templates/stats-blocks.md +41 -41
  141. package/dist/docs/templates/table-panel.md +1 -1
  142. package/dist/docs/templates/table-row-animation.md +1 -1
  143. package/dist/docs/templates/usage-cards.md +1 -1
  144. package/dist/docs/utilities/deviceUtils.md +6 -3
  145. package/dist/docs/utilities/featureToggles.md +1 -1
  146. package/dist/docs/utilities/fuelTypeUtils.md +1 -1
  147. package/dist/docs/utilities/routeUtils.md +59 -23
  148. package/dist/docs/utilities/useAfterMount.md +1 -1
  149. package/dist/docs/utilities/useAutoAnimate.md +1 -1
  150. package/dist/docs/utilities/useAverage.md +1 -1
  151. package/dist/docs/utilities/useClickOutside.md +1 -1
  152. package/dist/docs/utilities/useClipboard.md +2 -2
  153. package/dist/docs/utilities/useCount.md +1 -1
  154. package/dist/docs/utilities/useDarkMode.md +1 -1
  155. package/dist/docs/utilities/useDebugInfo.md +4 -4
  156. package/dist/docs/utilities/useEffectOnce.md +1 -1
  157. package/dist/docs/utilities/useElapsedTime.md +1 -1
  158. package/dist/docs/utilities/useElementSize.md +1 -1
  159. package/dist/docs/utilities/useEsc.md +1 -1
  160. package/dist/docs/utilities/useEvent.md +1 -1
  161. package/dist/docs/utilities/useFocusTrap.md +1 -1
  162. package/dist/docs/utilities/useFullscreen.md +1 -1
  163. package/dist/docs/utilities/useHover.md +1 -1
  164. package/dist/docs/utilities/useIncomingPostMessages.md +1 -1
  165. package/dist/docs/utilities/useInterval.md +1 -1
  166. package/dist/docs/utilities/useIsFocusWithin.md +1 -1
  167. package/dist/docs/utilities/useKey.md +7 -5
  168. package/dist/docs/utilities/useLocalStorage.md +1 -1
  169. package/dist/docs/utilities/useLocationSuggestions.md +1 -1
  170. package/dist/docs/utilities/useMax.md +1 -1
  171. package/dist/docs/utilities/useMin.md +1 -1
  172. package/dist/docs/utilities/useMutationObserver.md +1 -1
  173. package/dist/docs/utilities/useOnScreen.md +1 -1
  174. package/dist/docs/utilities/useOnlineStatus.md +1 -1
  175. package/dist/docs/utilities/usePostMessage.md +58 -2
  176. package/dist/docs/utilities/usePostMessageSender.md +1 -1
  177. package/dist/docs/utilities/usePrevious.md +1 -1
  178. package/dist/docs/utilities/useResizeObserver.md +1 -1
  179. package/dist/docs/utilities/useScrollPosition.md +1 -1
  180. package/dist/docs/utilities/useSearch.md +1 -1
  181. package/dist/docs/utilities/useSorting.md +1 -1
  182. package/dist/docs/utilities/useStateWithValidation.md +1 -1
  183. package/dist/docs/utilities/useSum.md +1 -1
  184. package/dist/docs/utilities/useTableExport.md +54 -54
  185. package/dist/docs/utilities/useTableSelection.md +93 -93
  186. package/dist/docs/utilities/useTimeout.md +1 -1
  187. package/dist/docs/utilities/useToggle.md +1 -1
  188. package/dist/docs/utilities/useWindowResize.md +1 -1
  189. package/dist/index.mjs +8 -8
  190. package/dist/version.json +2 -2
  191. package/package.json +6 -6
@@ -3,13 +3,13 @@
3
3
  *Category:* Components
4
4
  *Section:* Interaction
5
5
  *Source:* https://uikit.developers.rio.cloud/#components/radiobutton
6
- *Captured:* 2026-01-07T12:11:20.146Z
6
+ *Captured:* 2026-02-03T14:04:20.757Z
7
7
 
8
8
  NoteWhen using the custom option, make sure to wrap the children with the class name radio-text-wrapper. For using the radio tick, use an element with class name radio-text.
9
9
 
10
10
  ## RadioButton
11
11
 
12
- ### Example: Example 1
12
+ ### Example: Last selected option: nothing selected yet
13
13
 
14
14
  Option one is selected by default
15
15
  Option two can be something else and selecting it will deselect option one
@@ -17,6 +17,7 @@ Option three is disabled
17
17
  123
18
18
  Km
19
19
  Miles
20
+ Last selected option: nothing selected yet
20
21
 
21
22
  #### Summary
22
23
 
@@ -26,58 +27,73 @@ Option three is disabled
26
27
  123
27
28
  Km
28
29
  Miles
30
+ Last selected option: nothing selected yet
29
31
 
30
32
  #### React (tsx)
31
33
 
32
34
  ```tsx
33
35
  import RadioButton from '@rio-cloud/rio-uikit/RadioButton';
36
+ import { useState } from 'react';
34
37
 
35
- export default () => (
36
- <div>
37
- <div>
38
- <RadioButton name='radios' id='optionsRadios1' value='option1' defaultChecked>
39
- Option one is selected by default
40
- </RadioButton>
41
- </div>
42
- <div>
43
- <RadioButton name='radios' id='optionsRadios2' value='option2'>
44
- Option two can be something else and selecting it will deselect option one
45
- </RadioButton>
46
- </div>
47
- <div>
48
- <RadioButton name='radios' id='optionsRadios3' value='option3' disabled>
49
- Option three is disabled
50
- </RadioButton>
51
- </div>
38
+ export default () => {
39
+ const [lastSelectedOption, setLastSelectedOption] = useState('');
52
40
 
53
- <hr />
41
+ const handleClick = (event: React.MouseEvent<HTMLInputElement>) => {
42
+ console.log(event.currentTarget.value);
43
+ setLastSelectedOption(event.currentTarget.value);
44
+ };
54
45
 
46
+ return (
55
47
  <div>
56
- <RadioButton name='radiosInline' id='1' inline>
57
- 1
58
- </RadioButton>
59
- <RadioButton name='radiosInline' id='2' inline>
60
- 2
61
- </RadioButton>
62
- <RadioButton name='radiosInline' id='3' inline>
63
- 3
64
- </RadioButton>
65
- </div>
48
+ <div>
49
+ <RadioButton name='radios' value='option1' defaultChecked onClick={handleClick}>
50
+ Option one is selected by default
51
+ </RadioButton>
52
+ </div>
53
+ <div>
54
+ <RadioButton name='radios' value='option2' onClick={handleClick}>
55
+ Option two can be something else and selecting it will deselect option one
56
+ </RadioButton>
57
+ </div>
58
+ <div>
59
+ <RadioButton name='radios' value='option3' disabled onClick={handleClick}>
60
+ Option three is disabled
61
+ </RadioButton>
62
+ </div>
66
63
 
67
- <hr />
64
+ <hr />
68
65
 
69
- <div>
70
- <RadioButton name='radiosRight' id='km' right inline>
71
- Km
72
- </RadioButton>
73
- </div>
74
- <div>
75
- <RadioButton name='radiosRight' id='miles' right inline>
76
- Miles
77
- </RadioButton>
66
+ <div>
67
+ <RadioButton name='radiosInline' value='1' onClick={handleClick} inline>
68
+ 1
69
+ </RadioButton>
70
+ <RadioButton name='radiosInline' value='2' onClick={handleClick} inline>
71
+ 2
72
+ </RadioButton>
73
+ <RadioButton name='radiosInline' value='3' onClick={handleClick} inline>
74
+ 3
75
+ </RadioButton>
76
+ </div>
77
+
78
+ <hr />
79
+
80
+ <div>
81
+ <RadioButton name='radiosRight' value='km' right onClick={handleClick} inline>
82
+ Km
83
+ </RadioButton>
84
+ </div>
85
+ <div>
86
+ <RadioButton name='radiosRight' value='miles' right onClick={handleClick} inline>
87
+ Miles
88
+ </RadioButton>
89
+ </div>
90
+
91
+ <div className='margin-top-25 text-color-dark'>
92
+ Last selected option: {lastSelectedOption || <i>nothing selected yet</i>}
93
+ </div>
78
94
  </div>
79
- </div>
80
- );
95
+ );
96
+ };
81
97
  ```
82
98
 
83
99
  #### HTML (html)
@@ -85,7 +101,7 @@ export default () => (
85
101
  ```html
86
102
  <div>
87
103
  <div>
88
- <label id="optionsRadios1" class="radio" tabindex="0">
104
+ <label class="radio" tabindex="0">
89
105
  <input type="radio" class="" name="radios" value="option1" checked="">
90
106
  <span class="radio-text">
91
107
  <span>Option one is selected by default</span>
@@ -93,7 +109,7 @@ export default () => (
93
109
  </label>
94
110
  </div>
95
111
  <div>
96
- <label id="optionsRadios2" class="radio" tabindex="0">
112
+ <label class="radio" tabindex="0">
97
113
  <input type="radio" class="" name="radios" value="option2">
98
114
  <span class="radio-text">
99
115
  <span>Option two can be something else and selecting it will deselect option one</span>
@@ -101,7 +117,7 @@ export default () => (
101
117
  </label>
102
118
  </div>
103
119
  <div>
104
- <label id="optionsRadios3" class="radio" tabindex="0">
120
+ <label class="radio" tabindex="0">
105
121
  <input type="radio" disabled="" class="" name="radios" value="option3">
106
122
  <span class="radio-text">
107
123
  <span>Option three is disabled</span>
@@ -110,20 +126,20 @@ export default () => (
110
126
  </div>
111
127
  <hr>
112
128
  <div>
113
- <label id="1" class="radio radio-inline" tabindex="0">
114
- <input type="radio" class="" name="radiosInline" value="">
129
+ <label class="radio radio-inline" tabindex="0">
130
+ <input type="radio" class="" name="radiosInline" value="1">
115
131
  <span class="radio-text">
116
132
  <span>1</span>
117
133
  </span>
118
134
  </label>
119
- <label id="2" class="radio radio-inline" tabindex="0">
120
- <input type="radio" class="" name="radiosInline" value="">
135
+ <label class="radio radio-inline" tabindex="0">
136
+ <input type="radio" class="" name="radiosInline" value="2">
121
137
  <span class="radio-text">
122
138
  <span>2</span>
123
139
  </span>
124
140
  </label>
125
- <label id="3" class="radio radio-inline" tabindex="0">
126
- <input type="radio" class="" name="radiosInline" value="">
141
+ <label class="radio radio-inline" tabindex="0">
142
+ <input type="radio" class="" name="radiosInline" value="3">
127
143
  <span class="radio-text">
128
144
  <span>3</span>
129
145
  </span>
@@ -131,21 +147,23 @@ export default () => (
131
147
  </div>
132
148
  <hr>
133
149
  <div>
134
- <label id="km" class="radio radio-inline" tabindex="0">
135
- <input type="radio" class="icon-right" name="radiosRight" value="">
150
+ <label class="radio radio-inline" tabindex="0">
151
+ <input type="radio" class="icon-right" name="radiosRight" value="km">
136
152
  <span class="radio-text">
137
153
  <span>Km</span>
138
154
  </span>
139
155
  </label>
140
156
  </div>
141
157
  <div>
142
- <label id="miles" class="radio radio-inline" tabindex="0">
143
- <input type="radio" class="icon-right" name="radiosRight" value="">
158
+ <label class="radio radio-inline" tabindex="0">
159
+ <input type="radio" class="icon-right" name="radiosRight" value="miles">
144
160
  <span class="radio-text">
145
161
  <span>Miles</span>
146
162
  </span>
147
163
  </label>
148
164
  </div>
165
+ <div class="margin-top-25 text-color-dark">Last selected option: <i>nothing selected yet</i>
166
+ </div>
149
167
  </div>
150
168
  ```
151
169
 
@@ -153,23 +171,23 @@ export default () => (
153
171
 
154
172
  | Name | Type | Default | Description |
155
173
  | --- | --- | --- | --- |
156
- | label | String / Node | — | Defines the label text. |
157
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
158
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
159
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
160
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
161
- | right | Boolean | false | Displays the icon on the right side of the text. |
162
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
163
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
164
- | inputRef | Ref | | Ref which is added to the input element. |
165
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
166
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
167
- | className | String | | Additional classes to be set on the input element. |
168
- | children | any | | Any element to be rendered inside the text element. |
169
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
170
- | iconSize | Number | — | The icon Size in px. |
171
- | name | String | | Name to be given to the input element. |
172
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
174
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
175
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
176
+ | iconSize | number | 16 | The icon Size in px. |
177
+ | label | string \| ReactNode | | Defines the label text. |
178
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
179
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
180
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
181
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
182
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
183
+ | className | string | | Additional classes to be set on the input element. |
184
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
185
+ | right | boolean | false | Displays the icon on the right side of the text. |
186
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
187
+ | name | string | — | Name to be given to the input element. |
188
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
189
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
190
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |
173
191
 
174
192
  ## Controlled example
175
193
 
@@ -238,23 +256,23 @@ export default () => {
238
256
 
239
257
  | Name | Type | Default | Description |
240
258
  | --- | --- | --- | --- |
241
- | label | String / Node | — | Defines the label text. |
242
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
243
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
244
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
245
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
246
- | right | Boolean | false | Displays the icon on the right side of the text. |
247
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
248
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
249
- | inputRef | Ref | | Ref which is added to the input element. |
250
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
251
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
252
- | className | String | | Additional classes to be set on the input element. |
253
- | children | any | | Any element to be rendered inside the text element. |
254
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
255
- | iconSize | Number | — | The icon Size in px. |
256
- | name | String | | Name to be given to the input element. |
257
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
259
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
260
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
261
+ | iconSize | number | 16 | The icon Size in px. |
262
+ | label | string \| ReactNode | | Defines the label text. |
263
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
264
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
265
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
266
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
267
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
268
+ | className | string | | Additional classes to be set on the input element. |
269
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
270
+ | right | boolean | false | Displays the icon on the right side of the text. |
271
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
272
+ | name | string | — | Name to be given to the input element. |
273
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
274
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
275
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |
258
276
 
259
277
  ## RadioButton with FormData
260
278
 
@@ -348,23 +366,23 @@ export default () => {
348
366
 
349
367
  | Name | Type | Default | Description |
350
368
  | --- | --- | --- | --- |
351
- | label | String / Node | — | Defines the label text. |
352
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
353
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
354
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
355
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
356
- | right | Boolean | false | Displays the icon on the right side of the text. |
357
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
358
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
359
- | inputRef | Ref | | Ref which is added to the input element. |
360
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
361
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
362
- | className | String | | Additional classes to be set on the input element. |
363
- | children | any | | Any element to be rendered inside the text element. |
364
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
365
- | iconSize | Number | — | The icon Size in px. |
366
- | name | String | | Name to be given to the input element. |
367
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
369
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
370
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
371
+ | iconSize | number | 16 | The icon Size in px. |
372
+ | label | string \| ReactNode | | Defines the label text. |
373
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
374
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
375
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
376
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
377
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
378
+ | className | string | | Additional classes to be set on the input element. |
379
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
380
+ | right | boolean | false | Displays the icon on the right side of the text. |
381
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
382
+ | name | string | — | Name to be given to the input element. |
383
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
384
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
385
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |
368
386
 
369
387
  ## Custom cards example
370
388
 
@@ -503,23 +521,23 @@ export default () => {
503
521
 
504
522
  | Name | Type | Default | Description |
505
523
  | --- | --- | --- | --- |
506
- | label | String / Node | — | Defines the label text. |
507
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
508
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
509
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
510
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
511
- | right | Boolean | false | Displays the icon on the right side of the text. |
512
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
513
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
514
- | inputRef | Ref | | Ref which is added to the input element. |
515
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
516
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
517
- | className | String | | Additional classes to be set on the input element. |
518
- | children | any | | Any element to be rendered inside the text element. |
519
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
520
- | iconSize | Number | — | The icon Size in px. |
521
- | name | String | | Name to be given to the input element. |
522
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
524
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
525
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
526
+ | iconSize | number | 16 | The icon Size in px. |
527
+ | label | string \| ReactNode | | Defines the label text. |
528
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
529
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
530
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
531
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
532
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
533
+ | className | string | | Additional classes to be set on the input element. |
534
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
535
+ | right | boolean | false | Displays the icon on the right side of the text. |
536
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
537
+ | name | string | — | Name to be given to the input element. |
538
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
539
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
540
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |
523
541
 
524
542
  ## Custom stacked example
525
543
 
@@ -661,23 +679,23 @@ export default () => {
661
679
 
662
680
  | Name | Type | Default | Description |
663
681
  | --- | --- | --- | --- |
664
- | label | String / Node | — | Defines the label text. |
665
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
666
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
667
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
668
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
669
- | right | Boolean | false | Displays the icon on the right side of the text. |
670
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
671
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
672
- | inputRef | Ref | | Ref which is added to the input element. |
673
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
674
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
675
- | className | String | | Additional classes to be set on the input element. |
676
- | children | any | | Any element to be rendered inside the text element. |
677
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
678
- | iconSize | Number | — | The icon Size in px. |
679
- | name | String | | Name to be given to the input element. |
680
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
682
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
683
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
684
+ | iconSize | number | 16 | The icon Size in px. |
685
+ | label | string \| ReactNode | | Defines the label text. |
686
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
687
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
688
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
689
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
690
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
691
+ | className | string | | Additional classes to be set on the input element. |
692
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
693
+ | right | boolean | false | Displays the icon on the right side of the text. |
694
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
695
+ | name | string | — | Name to be given to the input element. |
696
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
697
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
698
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |
681
699
 
682
700
  ## Custom list example
683
701
 
@@ -820,23 +838,23 @@ export default () => {
820
838
 
821
839
  | Name | Type | Default | Description |
822
840
  | --- | --- | --- | --- |
823
- | label | String / Node | — | Defines the label text. |
824
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
825
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
826
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
827
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
828
- | right | Boolean | false | Displays the icon on the right side of the text. |
829
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
830
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
831
- | inputRef | Ref | | Ref which is added to the input element. |
832
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
833
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
834
- | className | String | | Additional classes to be set on the input element. |
835
- | children | any | | Any element to be rendered inside the text element. |
836
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
837
- | iconSize | Number | — | The icon Size in px. |
838
- | name | String | | Name to be given to the input element. |
839
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
841
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
842
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
843
+ | iconSize | number | 16 | The icon Size in px. |
844
+ | label | string \| ReactNode | | Defines the label text. |
845
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
846
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
847
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
848
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
849
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
850
+ | className | string | | Additional classes to be set on the input element. |
851
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
852
+ | right | boolean | false | Displays the icon on the right side of the text. |
853
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
854
+ | name | string | — | Name to be given to the input element. |
855
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
856
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
857
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |
840
858
 
841
859
  ## Custom example without the tick
842
860
 
@@ -955,23 +973,23 @@ export default () => {
955
973
 
956
974
  | Name | Type | Default | Description |
957
975
  | --- | --- | --- | --- |
958
- | label | String / Node | — | Defines the label text. |
959
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
960
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
961
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
962
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
963
- | right | Boolean | false | Displays the icon on the right side of the text. |
964
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
965
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
966
- | inputRef | Ref | | Ref which is added to the input element. |
967
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
968
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
969
- | className | String | | Additional classes to be set on the input element. |
970
- | children | any | | Any element to be rendered inside the text element. |
971
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
972
- | iconSize | Number | — | The icon Size in px. |
973
- | name | String | | Name to be given to the input element. |
974
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
976
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
977
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
978
+ | iconSize | number | 16 | The icon Size in px. |
979
+ | label | string \| ReactNode | | Defines the label text. |
980
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
981
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
982
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
983
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
984
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
985
+ | className | string | | Additional classes to be set on the input element. |
986
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
987
+ | right | boolean | false | Displays the icon on the right side of the text. |
988
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
989
+ | name | string | — | Name to be given to the input element. |
990
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
991
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
992
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |
975
993
 
976
994
  ## RadioButton with custom icon
977
995
 
@@ -1252,20 +1270,20 @@ export default () => {
1252
1270
 
1253
1271
  | Name | Type | Default | Description |
1254
1272
  | --- | --- | --- | --- |
1255
- | label | String / Node | — | Defines the label text. |
1256
- | defaultChecked | Boolean | | Defines whether the radio is initially checked or not (state can be changed on click). |
1257
- | checked | Boolean | | Defines whether the radio is checked or not (for controlled usage). |
1258
- | disabled | Boolean | false | Defines whether the checkbox is disabled or not. |
1259
- | inline | Boolean | false | Defines whether the radio button is applying an inline style. Use this in combinationwith other radio buttons. |
1260
- | right | Boolean | false | Displays the icon on the right side of the text. |
1261
- | custom | Boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
1262
- | tabIndex | Number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
1263
- | inputRef | Ref | | Ref which is added to the input element. |
1264
- | onClick | Function | () => {} | Callback function that is invoked when the radio button is clicked. |
1265
- | onChange | Function | () => {} | Callback function that is invoked when the radio button is clicked and the state changes (for controlled usage). |
1266
- | className | String | | Additional classes to be set on the input element. |
1267
- | children | any | | Any element to be rendered inside the text element. |
1268
- | icon | String | — | Define any rioglyph icon like "rioglyph-truck". |
1269
- | iconSize | Number | — | The icon Size in px. |
1270
- | name | String | | Name to be given to the input element. |
1271
- | iconLabelPosition | String | — | The label position. Possible values are: "horizontal" or "vertical". |
1273
+ | icon | string | — | Define any rioglyph icon like "rioglyph-truck". |
1274
+ | iconLabelPosition | 'vertical' \| 'horizontal' | 'vertical' | The label position. Possible values are: 'horizontal' or 'vertical'. |
1275
+ | iconSize | number | 16 | The icon Size in px. |
1276
+ | label | string \| ReactNode | | Defines the label text. |
1277
+ | onClick | MouseEventHandler<{ value: string \| string[] \| number; }> | () => {} | Callback function that is invoked when the radio button is clicked. |
1278
+ | onChange | ChangeEventHandler | () => {} | Callback function that is invoked when the radio button is toggled and the state should change (for controlled usage). |
1279
+ | checked | boolean | | Defines whether the radio is checked (for controlled usage). |
1280
+ | defaultChecked | boolean | | Defines whether the radio is initially checked (state can be changed on click). |
1281
+ | disabled | boolean | false | Defines whether the checkbox is disabled. |
1282
+ | className | string | | Additional classes to be set on the input element. |
1283
+ | inline | boolean | false | Defines whether the radio button is applying an inline style. Use this in combination with other radio buttons. |
1284
+ | right | boolean | false | Displays the icon on the right side of the text. |
1285
+ | custom | boolean | false | Allows for rendering a completely different layout with or without a radio tick. |
1286
+ | name | string | — | Name to be given to the input element. |
1287
+ | value | string | — | The value attribute is a string containing the radio button's value but it is never shown to the user. It serves a special purpose for inputs of type radio: when a form is submitted, only radio buttons which are currently checked are submitted, and the reported value is the value of the value attribute. If the value is not otherwise specified, it is the string on by default. This is useful when using native FormData when submitting a form to get the selected radio button value. |
1288
+ | tabIndex | number | 0 | The tabindex attribute allows developers to make HTML elements focusable, allow or prevent them from being sequentially focusable (usually with the Tab key, hence the name) and determine their relative ordering for sequential focus navigation. See tabIndex |
1289
+ | inputRef | Ref<HTMLInputElement> | — | Ref which is added to the input element. |