@iress-oss/ids-mcp-server 6.0.0-alpha.0 → 6.0.0-alpha.1-canary-20251204014525-3f0dce4

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 (108) hide show
  1. package/dist/searchHandlers.test.js +8 -2
  2. package/dist/toolHandler.test.js +9 -9
  3. package/dist/utils.test.js +6 -2
  4. package/package.json +32 -30
  5. package/generated/docs/components-alert-docs.md +0 -702
  6. package/generated/docs/components-autocomplete-docs.md +0 -1433
  7. package/generated/docs/components-autocomplete-recipes-docs.md +0 -104
  8. package/generated/docs/components-badge-docs.md +0 -531
  9. package/generated/docs/components-button-docs.md +0 -1442
  10. package/generated/docs/components-buttongroup-docs.md +0 -748
  11. package/generated/docs/components-card-docs.md +0 -944
  12. package/generated/docs/components-checkbox-docs.md +0 -694
  13. package/generated/docs/components-checkboxgroup-docs.md +0 -1087
  14. package/generated/docs/components-checkboxgroup-recipes-docs.md +0 -119
  15. package/generated/docs/components-col-docs.md +0 -881
  16. package/generated/docs/components-container-docs.md +0 -123
  17. package/generated/docs/components-divider-docs.md +0 -576
  18. package/generated/docs/components-expander-docs.md +0 -594
  19. package/generated/docs/components-field-docs.md +0 -2007
  20. package/generated/docs/components-filter-docs.md +0 -1322
  21. package/generated/docs/components-hide-docs.md +0 -702
  22. package/generated/docs/components-icon-docs.md +0 -816
  23. package/generated/docs/components-image-docs.md +0 -493
  24. package/generated/docs/components-inline-docs.md +0 -2003
  25. package/generated/docs/components-input-docs.md +0 -867
  26. package/generated/docs/components-input-recipes-docs.md +0 -140
  27. package/generated/docs/components-inputcurrency-docs.md +0 -689
  28. package/generated/docs/components-inputcurrency-recipes-docs.md +0 -115
  29. package/generated/docs/components-introduction-docs.md +0 -450
  30. package/generated/docs/components-label-docs.md +0 -562
  31. package/generated/docs/components-link-docs.md +0 -586
  32. package/generated/docs/components-menu-docs.md +0 -1146
  33. package/generated/docs/components-menu-menuitem-docs.md +0 -739
  34. package/generated/docs/components-modal-docs.md +0 -1346
  35. package/generated/docs/components-panel-docs.md +0 -600
  36. package/generated/docs/components-placeholder-docs.md +0 -446
  37. package/generated/docs/components-popover-docs.md +0 -1529
  38. package/generated/docs/components-popover-recipes-docs.md +0 -211
  39. package/generated/docs/components-progress-docs.md +0 -568
  40. package/generated/docs/components-provider-docs.md +0 -160
  41. package/generated/docs/components-radio-docs.md +0 -563
  42. package/generated/docs/components-radiogroup-docs.md +0 -1153
  43. package/generated/docs/components-readonly-docs.md +0 -535
  44. package/generated/docs/components-richselect-docs.md +0 -5836
  45. package/generated/docs/components-row-docs.md +0 -2354
  46. package/generated/docs/components-select-docs.md +0 -940
  47. package/generated/docs/components-skeleton-docs.md +0 -597
  48. package/generated/docs/components-skeleton-recipes-docs.md +0 -76
  49. package/generated/docs/components-skiplink-docs.md +0 -587
  50. package/generated/docs/components-slideout-docs.md +0 -1036
  51. package/generated/docs/components-slider-docs.md +0 -828
  52. package/generated/docs/components-spinner-docs.md +0 -450
  53. package/generated/docs/components-stack-docs.md +0 -923
  54. package/generated/docs/components-table-ag-grid-docs.md +0 -1444
  55. package/generated/docs/components-table-docs.md +0 -2327
  56. package/generated/docs/components-tabset-docs.md +0 -768
  57. package/generated/docs/components-tabset-tab-docs.md +0 -550
  58. package/generated/docs/components-tag-docs.md +0 -548
  59. package/generated/docs/components-text-docs.md +0 -585
  60. package/generated/docs/components-toaster-docs.md +0 -755
  61. package/generated/docs/components-toggle-docs.md +0 -614
  62. package/generated/docs/components-tooltip-docs.md +0 -747
  63. package/generated/docs/components-validationmessage-docs.md +0 -1161
  64. package/generated/docs/contact-us-docs.md +0 -27
  65. package/generated/docs/extensions-editor-docs.md +0 -1181
  66. package/generated/docs/extensions-editor-recipes-docs.md +0 -89
  67. package/generated/docs/foundations-accessibility-docs.md +0 -40
  68. package/generated/docs/foundations-consistency-docs.md +0 -52
  69. package/generated/docs/foundations-content-docs.md +0 -23
  70. package/generated/docs/foundations-grid-docs.md +0 -74
  71. package/generated/docs/foundations-introduction-docs.md +0 -19
  72. package/generated/docs/foundations-principles-docs.md +0 -70
  73. package/generated/docs/foundations-responsive-breakpoints-docs.md +0 -193
  74. package/generated/docs/foundations-tokens-colour-docs.md +0 -564
  75. package/generated/docs/foundations-tokens-elevation-docs.md +0 -155
  76. package/generated/docs/foundations-tokens-introduction-docs.md +0 -190
  77. package/generated/docs/foundations-tokens-radius-docs.md +0 -71
  78. package/generated/docs/foundations-tokens-spacing-docs.md +0 -89
  79. package/generated/docs/foundations-tokens-typography-docs.md +0 -322
  80. package/generated/docs/foundations-user-experience-docs.md +0 -63
  81. package/generated/docs/foundations-visual-design-docs.md +0 -46
  82. package/generated/docs/foundations-z-index-stacking-docs.md +0 -31
  83. package/generated/docs/frequently-asked-questions-docs.md +0 -53
  84. package/generated/docs/get-started-develop-docs.md +0 -209
  85. package/generated/docs/get-started-using-storybook-docs.md +0 -68
  86. package/generated/docs/guidelines.md +0 -2054
  87. package/generated/docs/introduction-docs.md +0 -87
  88. package/generated/docs/news-version-6-docs.md +0 -93
  89. package/generated/docs/patterns-form-docs.md +0 -3902
  90. package/generated/docs/patterns-form-recipes-docs.md +0 -1370
  91. package/generated/docs/patterns-introduction-docs.md +0 -24
  92. package/generated/docs/patterns-loading-docs.md +0 -4043
  93. package/generated/docs/resources-code-katas-docs.md +0 -29
  94. package/generated/docs/resources-introduction-docs.md +0 -38
  95. package/generated/docs/resources-mcp-server-docs.md +0 -27
  96. package/generated/docs/resources-migration-guides-from-v4-to-v5-docs.md +0 -437
  97. package/generated/docs/styling-props-colour-docs.md +0 -172
  98. package/generated/docs/styling-props-elevation-docs.md +0 -88
  99. package/generated/docs/styling-props-radius-docs.md +0 -86
  100. package/generated/docs/styling-props-reference-docs.md +0 -160
  101. package/generated/docs/styling-props-screen-readers-docs.md +0 -71
  102. package/generated/docs/styling-props-sizing-docs.md +0 -627
  103. package/generated/docs/styling-props-spacing-docs.md +0 -2282
  104. package/generated/docs/styling-props-typography-docs.md +0 -121
  105. package/generated/docs/themes-available-themes-docs.md +0 -66
  106. package/generated/docs/themes-introduction-docs.md +0 -121
  107. package/generated/docs/versions-docs.md +0 -17
  108. /package/{LICENSE.txt → LICENSE} +0 -0
@@ -1,1161 +0,0 @@
1
- [](#validation-message)Validation message
2
- =========================================
3
-
4
- Overview
5
- --------
6
-
7
- A validation message is used to inform the user of the status of a form input. If there are multiple messages, they can be combined using the `IressValidationSummary` component.
8
-
9
- * * *
10
-
11
- Updated
12
-
13
- **Recently updated**
14
-
15
- This component has been recently updated with new props. The props have been marked as beta. Please tell us if there are any issues.
16
-
17
- Error:
18
-
19
- Validation message
20
-
21
- Hide code
22
-
23
- \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
24
-
25
- <IressValidationMessage\>
26
- Validation message
27
- </IressValidationMessage\>
28
-
29
- Copy
30
-
31
- [](#props)Props
32
- ---------------
33
-
34
- | Name | Description | Default | Control |
35
- | --- | --- | --- | --- |
36
- | bg |
37
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
38
-
39
- We recommend using the following token values for best background contrast:
40
-
41
- * `colour.primary.fill` for primary backgrounds that need to stand out
42
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
43
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
44
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
45
- * `colour.system.danger.fill` for error backgrounds that need to stand out
46
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
47
- * `colour.system.success.fill` for success backgrounds that need to stand out
48
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
49
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
50
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
51
- * `colour.system.info.fill` for info backgrounds that need to stand out
52
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
53
-
54
- "colorPalette""colour.primary.fill""colour.primary.fillHover""colour.primary.onFill""colour.primary.surface""colour.primary.surfaceHover""colour.primary.text"... 33 more ...Show 1 more...
55
-
56
-
57
-
58
- | \- | Set object |
59
- | borderRadius |
60
-
61
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
62
-
63
- | Chrome | Firefox | Safari | Edge | IE |
64
- | --- | --- | --- | --- | --- |
65
- | **4** | **4** | **5** | **12** | **9** |
66
- | 1 _\-x-_ | | 3 _\-x-_ | | |
67
-
68
- "none" | "radius.000" | "radius.025" | "radius.050" | "radius.075" | "radius.100" | "radius.system.badge" | "radius.system.button" | "radius.system.form" | "radius.system.layout" | Partial<...> | undefined
69
-
70
- | \- | Set object |
71
- | children |
72
-
73
- string
74
-
75
-
76
-
77
- | \- | Validation message |
78
- | color |
79
-
80
- The **`color`** CSS property sets the foreground color value of an element's text and text decorations using the colour tokens from the design system. It also sets the `currentcolor` value. `currentcolor` may be used as an indirect value on _other_ properties and is the default for other color properties, such as `border-color`.
81
-
82
- We recommend using the following token values for best color contrast:
83
-
84
- * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
85
- * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
86
- * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
87
- * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
88
- * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
89
- * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
90
- * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
91
- * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
92
- * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
93
- * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
94
- * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
95
- * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
96
-
97
- "colorPalette""colour.primary.fill""colour.primary.fillHover""colour.primary.onFill""colour.primary.surface""colour.primary.surfaceHover""colour.primary.text"... 33 more ...Show 1 more...
98
-
99
-
100
-
101
- | \- | Set object |
102
- | element |
103
-
104
- The HTML element that should be rendered.
105
-
106
- "div""a"undefined
107
-
108
-
109
-
110
- | \- | Set object |
111
- | focusable |
112
-
113
- The `focusable` prop is used to apply the focus elevation when focused. It can be set to `true` to apply focus styles on focus, or `'within'` to apply focus styles when the element or any of its children are focused.
114
-
115
- "true""within"undefined
116
-
117
-
118
-
119
- | \- | Set object |
120
- | hide |
121
-
122
- Set **`hide`** to hide an element completely using `display: none`. It can also be set to an object of breakpoints to hide the element at specific breakpoints.
123
-
124
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
125
-
126
- Notes:
127
-
128
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
129
- * Consider if you can conditionally render the element instead of hiding it.
130
-
131
- boolean | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", boolean>> | undefined
132
-
133
- | \- | Set object |
134
- | layerStyle |
135
-
136
- Elevate a layer by using a **`layerStyle`**. These are connected to the elevation tokens in the design system. They can be combined to create hierarchy and structure.
137
-
138
- * `elevation.raised`: Raised elevations sit slightly higher than other content. They are reserved for cards that can be moved, such as Jira issue cards and Trello cards. In special circumstances, they can be used for cards as a way to provide additional heirarchy or emphasis.
139
- * `elevation.floating`: Floating is the highest elevation available. It is reserved for a UI that sits over another UI, such as modals, dialogs, dropdown menus, floating toolbars, and floating single-action buttons.
140
- * `elevation.overflow`: Overflow is a shadow indicating content has scrolled outside a view. It can be used for vertical or horizontal scroll. An example of overflow shadows is the horizontal scroll in tables on a Confluence page.
141
-
142
- "elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "elevation.raised" | ... 3 more ... | "elevation.focusCompact">> | undefined
143
-
144
- | \- | Set object |
145
- | linkToTarget |
146
-
147
- ID of element the message is describing. If nothing is supplied a link will not render.
148
-
149
- stringundefined
150
-
151
-
152
-
153
- | \- | Set object |
154
- | m |
155
-
156
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
157
-
158
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
159
-
160
- | Chrome | Firefox | Safari | Edge | IE |
161
- | --- | --- | --- | --- | --- |
162
- | **1** | **1** | **1** | **12** | **3** |
163
-
164
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
165
-
166
-
167
-
168
- | \- | Set object |
169
- | maxWidth |
170
-
171
- The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`.
172
-
173
- | Chrome | Firefox | Safari | Edge | IE |
174
- | --- | --- | --- | --- | --- |
175
- | **1** | **1** | **1** | **12** | **7** |
176
-
177
- "slider.tick""auto""container.xs""container.sm""container.md""container.lg""container.xl""container.xxl"Show 6 more...
178
-
179
-
180
-
181
- | \- | Set object |
182
- | mb |
183
-
184
- The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
185
-
186
- It uses the spacing tokens in the design system.
187
-
188
- | Chrome | Firefox | Safari | Edge | IE |
189
- | --- | --- | --- | --- | --- |
190
- | **1** | **1** | **1** | **12** | **3** |
191
-
192
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
193
-
194
-
195
-
196
- | \- | Set object |
197
- | ml |
198
-
199
- The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
200
-
201
- It uses the spacing tokens in the design system.
202
-
203
- | Chrome | Firefox | Safari | Edge | IE |
204
- | --- | --- | --- | --- | --- |
205
- | **1** | **1** | **1** | **12** | **3** |
206
-
207
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
208
-
209
-
210
-
211
- | \- | Set object |
212
- | mr |
213
-
214
- The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
215
-
216
- It uses the spacing tokens in the design system.
217
-
218
- | Chrome | Firefox | Safari | Edge | IE |
219
- | --- | --- | --- | --- | --- |
220
- | **1** | **1** | **1** | **12** | **3** |
221
-
222
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
223
-
224
-
225
-
226
- | \- | Set object |
227
- | mt |
228
-
229
- The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
230
-
231
- It uses the spacing tokens in the design system.
232
-
233
- | Chrome | Firefox | Safari | Edge | IE |
234
- | --- | --- | --- | --- | --- |
235
- | **1** | **1** | **1** | **12** | **3** |
236
-
237
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
238
-
239
-
240
-
241
- | \- | Set object |
242
- | mx |
243
-
244
- The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
245
-
246
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
247
-
248
- | Chrome | Firefox | Safari | Edge | IE |
249
- | --- | --- | --- | --- | --- |
250
- | **1** | **1** | **1** | **12** | **3** |
251
-
252
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
253
-
254
-
255
-
256
- | \- | Set object |
257
- | my |
258
-
259
- The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
260
-
261
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
262
-
263
- | Chrome | Firefox | Safari | Edge | IE |
264
- | --- | --- | --- | --- | --- |
265
- | **1** | **1** | **1** | **12** | **3** |
266
-
267
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
268
-
269
-
270
-
271
- | \- | Set object |
272
- | noGutter |
273
-
274
- The **`noGutter`** property is used to remove the bottom margin from the last child of a component. This is useful when you want to avoid extra spacing at the end of a layout.
275
-
276
- booleanundefined
277
-
278
-
279
-
280
- | \- | Set object |
281
- | p |
282
-
283
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
284
-
285
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
286
-
287
- | Chrome | Firefox | Safari | Edge | IE |
288
- | --- | --- | --- | --- | --- |
289
- | **1** | **1** | **1** | **12** | **3** |
290
-
291
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
292
-
293
-
294
-
295
- | \- | Set object |
296
- | pb |
297
-
298
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
299
-
300
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
301
-
302
- | Chrome | Firefox | Safari | Edge | IE |
303
- | --- | --- | --- | --- | --- |
304
- | **1** | **1** | **1** | **12** | **3** |
305
-
306
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
307
-
308
-
309
-
310
- | \- | Set object |
311
- | pl |
312
-
313
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
314
-
315
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
316
-
317
- | Chrome | Firefox | Safari | Edge | IE |
318
- | --- | --- | --- | --- | --- |
319
- | **1** | **1** | **1** | **12** | **3** |
320
-
321
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
322
-
323
-
324
-
325
- | \- | Set object |
326
- | pr |
327
-
328
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
329
-
330
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
331
-
332
- | Chrome | Firefox | Safari | Edge | IE |
333
- | --- | --- | --- | --- | --- |
334
- | **1** | **1** | **1** | **12** | **3** |
335
-
336
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
337
-
338
-
339
-
340
- | \- | Set object |
341
- | prefix |
342
-
343
- Prefix to the validation message. Will be `status` prop if nothing is provided.
344
-
345
- ReactNode
346
-
347
-
348
-
349
- | \- | Set object |
350
- | pt |
351
-
352
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
353
-
354
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
355
-
356
- | Chrome | Firefox | Safari | Edge | IE |
357
- | --- | --- | --- | --- | --- |
358
- | **1** | **1** | **1** | **12** | **3** |
359
-
360
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
361
-
362
-
363
-
364
- | \- | Set object |
365
- | px |
366
-
367
- The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
368
-
369
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
370
-
371
- | Chrome | Firefox | Safari | Edge | IE |
372
- | --- | --- | --- | --- | --- |
373
- | **1** | **1** | **1** | **12** | **3** |
374
-
375
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
376
-
377
-
378
-
379
- | \- | Set object |
380
- | py |
381
-
382
- The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
383
-
384
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
385
-
386
- | Chrome | Firefox | Safari | Edge | IE |
387
- | --- | --- | --- | --- | --- |
388
- | **1** | **1** | **1** | **12** | **3** |
389
-
390
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
391
-
392
-
393
-
394
- | \- | Set object |
395
- | rowGap |
396
-
397
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
398
-
399
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
400
-
401
- | Chrome | Firefox | Safari | Edge | IE |
402
- | --- | --- | --- | --- | --- |
403
- | **47** | **52** | **10.1** | **16** | No |
404
-
405
- "xs""sm""md""lg""xl""none""spacing.000""spacing.050"Show 9 more...
406
-
407
-
408
-
409
- | \- | Set object |
410
- | srOnly |
411
-
412
- Set **`srOnly`** to hide an element visually but still make it accessible to screen readers. It can also be set to an object of breakpoints to hide the element at specific breakpoints.
413
-
414
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
415
-
416
- boolean | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", boolean>> | undefined
417
-
418
- | \- | Set object |
419
- | status |
420
-
421
- Whether message is danger, warning, success or info. **Note**: danger is translated to Error when used as the prefix.
422
-
423
- "danger""info""success""warning"undefined
424
-
425
-
426
-
427
- |
428
-
429
- danger
430
-
431
- | Set object |
432
- | stretch |
433
-
434
- The **`stretch`** property is used to stretch an element to fill the available space in its parent container. It sets the `height` property to `100%` and `alignSelf` to `stretch`, allowing the element to expand and contract based on the size of its parent.
435
-
436
- booleanundefined
437
-
438
-
439
-
440
- | \- | Set object |
441
- | textAlign |
442
-
443
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
444
-
445
- | Chrome | Firefox | Safari | Edge | IE |
446
- | --- | --- | --- | --- | --- |
447
- | **1** | **1** | **1** | **12** | **3** |
448
-
449
- "center" | "left" | "right" | "inherit" | "justify" | Partial<Record<"base" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl", "center" | "left" | "right" | "inherit" | "justify">> | undefined
450
-
451
- | \- | Set object |
452
- | textStyle |
453
-
454
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
455
-
456
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
457
- * `typography.body.md` - The most commonly used body text size, used for most text content in the product and the default state of all components in the design system.
458
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
459
- * `typography.heading.1` - Use for the main page title to establish a clear hierarchy. There is typically only one H1 per screen, emphasising the primary purpose or context of the page.
460
- * `typography.heading.2` - Use for primary section headings within a page to organise content and guide the user through key areas. Also suitable for large components—such as modals—where space allows and where it pairs well with body.md or body.lg.
461
- * `typography.heading.3` - Use for sub-sections under H2s to further structure content and maintain a clear visual hierarchy. Ideal for breaking down complex sections into manageable parts.
462
- * `typography.heading.4` - Use for supporting headings within content blocks or small components where space is limited—such as table headers, cards, or side panels. Provides structure without overwhelming the layout.
463
- * `typography.heading.5` - Use for minor labels or titles in compact UI elements, such as cards, sidebars, or inline labels. Best used to emphasise supplementary information without drawing too much attention. Works well with body.sm and is ideal for subtle content like fine print. Use sparingly to preserve typographic hierarchy.
464
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
465
-
466
- "typography.heading.1""typography.heading.2""typography.heading.3""typography.heading.4""typography.heading.5""typography.body.sm""typography.body.sm.regular"... 12 more ...Show 1 more...
467
-
468
-
469
-
470
- | \- | Set object |
471
- | visiblePrefix |
472
-
473
- If set to true, the prefix will be visually displayed (default is only available to screen readers)
474
-
475
- booleanundefined
476
-
477
-
478
-
479
- |
480
-
481
- false
482
-
483
- | Set object |
484
- | width |
485
-
486
- The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area.
487
-
488
- This prop only allows widths available throughout the component library. To use a custom width, you need to use the `style` prop, or add a custom class to the element and use CSS.
489
-
490
- | Chrome | Firefox | Safari | Edge | IE |
491
- | --- | --- | --- | --- | --- |
492
- | **1** | **1** | **1** | **12** | **4** |
493
-
494
- "slider.tick""auto""container.xs""container.sm""container.md""container.lg""container.xl""container.xxl"Show 6 more...
495
-
496
-
497
-
498
- | \- | Set object |
499
-
500
- [](#examples)Examples
501
- ---------------------
502
-
503
- ### [](#status)Status
504
-
505
- Validation status is controled by the status prop. It defaults to `error`.
506
-
507
- Error:
508
-
509
- Something is wrong.
510
-
511
- Info:
512
-
513
- Something you should know.
514
-
515
- Success:
516
-
517
- Something went right.
518
-
519
- Warning:
520
-
521
- Something could go wrong.
522
-
523
- Hide code
524
-
525
- \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
526
-
527
- <IressStack\>
528
- <IressValidationMessage status\="danger"\>
529
- Something is wrong. </IressValidationMessage\>
530
- <IressValidationMessage status\="info"\>
531
- Something you should know. </IressValidationMessage\>
532
- <IressValidationMessage status\="success"\>
533
- Something went right. </IressValidationMessage\>
534
- <IressValidationMessage status\="warning"\>
535
- Something could go wrong. </IressValidationMessage\>
536
- </IressStack\>
537
-
538
- Copy
539
-
540
- ### [](#prefix)Prefix
541
-
542
- You can add a prefix to the message. If not provided, it uses the `status` prop to determine the prefix.
543
-
544
- It is hidden by default, but can be shown by setting the `visiblePrefix` prop to `true`.
545
-
546
- Prefix:
547
-
548
- Something is wrong.
549
-
550
- Prefix:
551
-
552
- Something you should know.
553
-
554
- Prefix:
555
-
556
- Something went right.
557
-
558
- Prefix:
559
-
560
- Something could go wrong.
561
-
562
- Hide code
563
-
564
- \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
565
-
566
- <IressStack\>
567
- <IressValidationMessage
568
- prefix\="Prefix: "
569
- status\="danger"
570
- visiblePrefix
571
- \>
572
- Something is wrong. </IressValidationMessage\>
573
- <IressValidationMessage
574
- prefix\="Prefix: "
575
- status\="info"
576
- visiblePrefix
577
- \>
578
- Something you should know. </IressValidationMessage\>
579
- <IressValidationMessage
580
- prefix\="Prefix: "
581
- status\="success"
582
- visiblePrefix
583
- \>
584
- Something went right. </IressValidationMessage\>
585
- <IressValidationMessage
586
- prefix\="Prefix: "
587
- status\="warning"
588
- visiblePrefix
589
- \>
590
- Something could go wrong. </IressValidationMessage\>
591
- </IressStack\>
592
-
593
- Copy
594
-
595
- ### [](#link-to-target)Link to target
596
-
597
- You can use the `linkToTarget` prop to link the message to a specific target in the DOM. This is useful to take the user to a specific part of the form when they click on the message.
598
-
599
- [
600
-
601
- Error:
602
-
603
- Something is wrong.
604
-
605
- ](#input)[
606
-
607
- Info:
608
-
609
- Something you should know.
610
-
611
- ](#input)[
612
-
613
- Success:
614
-
615
- Something went right.
616
-
617
- ](#input)[
618
-
619
- Warning:
620
-
621
- Something could go wrong.
622
-
623
- ](#input)
624
-
625
- * * *
626
-
627
- Hide code
628
-
629
- \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
630
-
631
- <IressStack gap\="md"\>
632
- <IressStack\>
633
- <IressValidationMessage
634
- linkToTarget\="input"
635
- status\="danger"
636
- \>
637
- Something is wrong. </IressValidationMessage\>
638
- <IressValidationMessage
639
- linkToTarget\="input"
640
- status\="info"
641
- \>
642
- Something you should know. </IressValidationMessage\>
643
- <IressValidationMessage
644
- linkToTarget\="input"
645
- status\="success"
646
- \>
647
- Something went right. </IressValidationMessage\>
648
- <IressValidationMessage
649
- linkToTarget\="input"
650
- status\="warning"
651
- \>
652
- Something could go wrong. </IressValidationMessage\>
653
- </IressStack\>
654
- <IressDivider />
655
- <IressInput id\="input" />
656
- </IressStack\>
657
-
658
- Copy
659
-
660
- [](#iressvalidationsummary)`IressValidationSummary`
661
- ---------------------------------------------------
662
-
663
- Messages can be passed programmatically as a `ValidationMessageObj[]` using the `messages` prop of the `IressValidationSummary` component.
664
-
665
- * Info:
666
-
667
- Something you should know.
668
-
669
- * Error:
670
-
671
- Something is wrong.
672
-
673
- * Warning:
674
-
675
- Something could go wrong.
676
-
677
- * Success:
678
-
679
- Something went right.
680
-
681
-
682
- Hide code
683
-
684
- \[data-radix-scroll-area-viewport\] { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } \[data-radix-scroll-area-viewport\]::-webkit-scrollbar { display: none; } :where(\[data-radix-scroll-area-viewport\]) { display: flex; flex-direction: column; align-items: stretch; } :where(\[data-radix-scroll-area-content\]) { flex-grow: 1; }
685
-
686
- <IressValidationSummary
687
- messages\={\[
688
- {
689
- message: 'Something you should know.',
690
- status: 'info'
691
- },
692
- {
693
- message: 'Something is wrong.',
694
- status: 'danger'
695
- },
696
- {
697
- message: 'Something could go wrong.',
698
- status: 'warning'
699
- },
700
- {
701
- message: 'Something went right.',
702
- status: 'success'
703
- }
704
- \]}
705
- />
706
-
707
- Copy
708
-
709
- #### [](#summary-api)Props
710
-
711
- | Name | Description | Default | Control |
712
- | --- | --- | --- | --- |
713
- | bg |
714
- **`bg`** sets the background color of an element using the `background-color` css property using the color tokens in the design system.
715
-
716
- We recommend using the following token values for best background contrast:
717
-
718
- * `colour.primary.fill` for primary backgrounds that need to stand out
719
- * `colour.primary.surface` for primary backgrounds that need to be less prominent
720
- * `colour.neutral.10` for the base background color, normally white in light mode or shade of grey in dark mode
721
- * `colour.neutral.20` for a slightly darker background color, used in neutral state components
722
- * `colour.system.danger.fill` for error backgrounds that need to stand out
723
- * `colour.system.danger.surface` for error backgrounds that need to be less prominent
724
- * `colour.system.success.fill` for success backgrounds that need to stand out
725
- * `colour.system.success.surface` for success backgrounds that need to be less prominent
726
- * `colour.system.warning.fill` for warning backgrounds that need to stand out
727
- * `colour.system.warning.surface` for warning backgrounds that need to be less prominent
728
- * `colour.system.info.fill` for info backgrounds that need to stand out
729
- * `colour.system.info.surface` for info backgrounds that need to be less prominent
730
-
731
- ResponsiveProp<ColorToken> | undefined
732
-
733
- | \- | Set object |
734
- | borderRadius |
735
-
736
- The **`border-radius`** CSS property rounds the corners of an element's outer border edge using the radius tokens in the design system.
737
-
738
- | Chrome | Firefox | Safari | Edge | IE |
739
- | --- | --- | --- | --- | --- |
740
- | **4** | **4** | **5** | **12** | **9** |
741
- | 1 _\-x-_ | | 3 _\-x-_ | | |
742
-
743
- ResponsiveProp<RadiusToken> | undefined
744
-
745
- | \- | Set object |
746
- | color |
747
-
748
- The **`color`** CSS property sets the foreground color value of an element's text and text decorations using the colour tokens from the design system. It also sets the `currentcolor` value. `currentcolor` may be used as an indirect value on _other_ properties and is the default for other color properties, such as `border-color`.
749
-
750
- We recommend using the following token values for best color contrast:
751
-
752
- * `colour.primary.onFill` used on top of `colour.primary.fill` for primary text that needs to stand out
753
- * `colour.primary.text` used on top of `colour.primary.surface` or `colour.neutral.10` for primary text that needs to be less prominent
754
- * `colour.neutral.70` used on top of `colour.neutral.10` or `colour.neutral.20` for muted text
755
- * `colour.neutral.80` used on top of `colour.neutral.10` or `colour.neutral.20` for standard text
756
- * `colour.system.danger.onFill` used on top of `colour.system.danger.fill` for error text that needs to stand out
757
- * `colour.system.danger.text` used on top of `colour.system.danger.surface` for error text that needs to be less prominent
758
- * `colour.system.success.onFill` used on top of `colour.system.success.fill` for success text that needs to stand out
759
- * `colour.system.success.text` used on top of `colour.system.success.surface` for success text that needs to be less prominent
760
- * `colour.system.warning.onFill` used on top of `colour.system.warning.fill` for warning text that needs to stand out
761
- * `colour.system.warning.text` used on top of `colour.system.warning.surface` for warning text that needs to be less prominent
762
- * `colour.system.info.onFill` used on top of `colour.system.info.fill` for informative text that needs to stand out
763
- * `colour.system.info.text` used on top of `colour.system.info.surface` for informative text that needs to be less prominent
764
-
765
- ResponsiveProp<ColorToken> | undefined
766
-
767
- | \- | Set object |
768
- | focusable |
769
-
770
- The `focusable` prop is used to apply the focus elevation when focused. It can be set to `true` to apply focus styles on focus, or `'within'` to apply focus styles when the element or any of its children are focused.
771
-
772
- "true""within"undefined
773
-
774
-
775
-
776
- | \- | Set object |
777
- | hide |
778
-
779
- Set **`hide`** to hide an element completely using `display: none`. It can also be set to an object of breakpoints to hide the element at specific breakpoints.
780
-
781
- Hide on all breakpoints: `hide: true` Hide on specific breakpoints: `hide: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
782
-
783
- Notes:
784
-
785
- * If you need to hide an element but allow it to be visible to screen readers, use the `srOnly` prop instead.
786
- * Consider if you can conditionally render the element instead of hiding it.
787
-
788
- ResponsiveProp<boolean> | undefined
789
-
790
- | \- | Set object |
791
- | itemStyle |
792
-
793
- Add additional styles to each item in the list.
794
-
795
- IressCustomiseSlotundefined
796
-
797
-
798
-
799
- | \- | Set object |
800
- | layerStyle |
801
-
802
- Elevate a layer by using a **`layerStyle`**. These are connected to the elevation tokens in the design system. They can be combined to create hierarchy and structure.
803
-
804
- * `elevation.raised`: Raised elevations sit slightly higher than other content. They are reserved for cards that can be moved, such as Jira issue cards and Trello cards. In special circumstances, they can be used for cards as a way to provide additional heirarchy or emphasis.
805
- * `elevation.floating`: Floating is the highest elevation available. It is reserved for a UI that sits over another UI, such as modals, dialogs, dropdown menus, floating toolbars, and floating single-action buttons.
806
- * `elevation.overflow`: Overflow is a shadow indicating content has scrolled outside a view. It can be used for vertical or horizontal scroll. An example of overflow shadows is the horizontal scroll in tables on a Confluence page.
807
-
808
- ResponsiveProp<"elevation.raised" | "elevation.floating" | "elevation.overflow" | "elevation.focus" | "elevation.focusCompact"> | undefined
809
-
810
- | \- | Set object |
811
- | linkToTarget |
812
-
813
- Renders validation messages as links pointing at the field it relates to, specified as a string Only works when used with the `messages` prop.
814
-
815
- stringundefined
816
-
817
-
818
-
819
- | \- | Set object |
820
- | m |
821
-
822
- The **`m`** property is short for `margin`, and sets the margin area on all four sides of an element.
823
-
824
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
825
-
826
- | Chrome | Firefox | Safari | Edge | IE |
827
- | --- | --- | --- | --- | --- |
828
- | **1** | **1** | **1** | **12** | **3** |
829
-
830
- ResponsiveProp<SpacingToken | "auto"> | undefined
831
-
832
- | \- | Set object |
833
- | maxWidth |
834
-
835
- The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`.
836
-
837
- | Chrome | Firefox | Safari | Edge | IE |
838
- | --- | --- | --- | --- | --- |
839
- | **1** | **1** | **1** | **12** | **7** |
840
-
841
- ResponsiveProp<"auto" | SizeToken | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | ... 8 more ... | "11/12"> | undefined
842
-
843
- | \- | Set object |
844
- | mb |
845
-
846
- The **`mb`** property is short for `margin-bottom` and sets the margin area on the bottom side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
847
-
848
- It uses the spacing tokens in the design system.
849
-
850
- | Chrome | Firefox | Safari | Edge | IE |
851
- | --- | --- | --- | --- | --- |
852
- | **1** | **1** | **1** | **12** | **3** |
853
-
854
- ResponsiveProp<SpacingToken | "auto"> | undefined
855
-
856
- | \- | Set object |
857
- | messages |
858
-
859
- ValidationMessage Array containing the `id` of the field and the validation message
860
-
861
- ValidationMessageObj\[\]
862
-
863
- | \[\] |
864
-
865
- RAW
866
-
867
- messages : \[
868
-
869
- 0 : {...} 2 keys
870
-
871
- 1 : {...} 2 keys
872
-
873
- 2 : {...} 2 keys
874
-
875
- 3 : {...} 2 keys
876
-
877
- \]
878
-
879
-
880
-
881
-
882
-
883
- |
884
- | ml |
885
-
886
- The **`ml`** property is short for `margin-left` and sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
887
-
888
- It uses the spacing tokens in the design system.
889
-
890
- | Chrome | Firefox | Safari | Edge | IE |
891
- | --- | --- | --- | --- | --- |
892
- | **1** | **1** | **1** | **12** | **3** |
893
-
894
- ResponsiveProp<SpacingToken | "auto"> | undefined
895
-
896
- | \- | Set object |
897
- | mr |
898
-
899
- The **`mr`** property is short for `margin-right` and sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
900
-
901
- It uses the spacing tokens in the design system.
902
-
903
- | Chrome | Firefox | Safari | Edge | IE |
904
- | --- | --- | --- | --- | --- |
905
- | **1** | **1** | **1** | **12** | **3** |
906
-
907
- ResponsiveProp<SpacingToken | "auto"> | undefined
908
-
909
- | \- | Set object |
910
- | mt |
911
-
912
- The **`mt`** property is short for `margin-top` and sets the margin area on the top side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
913
-
914
- It uses the spacing tokens in the design system.
915
-
916
- | Chrome | Firefox | Safari | Edge | IE |
917
- | --- | --- | --- | --- | --- |
918
- | **1** | **1** | **1** | **12** | **3** |
919
-
920
- ResponsiveProp<SpacingToken | "auto"> | undefined
921
-
922
- | \- | Set object |
923
- | mx |
924
-
925
- The **`mx`** property is short for `margin-inline`. It is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
926
-
927
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
928
-
929
- | Chrome | Firefox | Safari | Edge | IE |
930
- | --- | --- | --- | --- | --- |
931
- | **1** | **1** | **1** | **12** | **3** |
932
-
933
- ResponsiveProp<SpacingToken | "auto"> | undefined
934
-
935
- | \- | Set object |
936
- | my |
937
-
938
- The **`my`** property is short for `margin-block`. It defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
939
-
940
- It uses the spacing tokens in the design system. You can also use the negative values to overlap elements or ignore padding based on the design requirements.
941
-
942
- | Chrome | Firefox | Safari | Edge | IE |
943
- | --- | --- | --- | --- | --- |
944
- | **1** | **1** | **1** | **12** | **3** |
945
-
946
- ResponsiveProp<SpacingToken | "auto"> | undefined
947
-
948
- | \- | Set object |
949
- | noGutter |
950
-
951
- The **`noGutter`** property is used to remove the bottom margin from the last child of a component. This is useful when you want to avoid extra spacing at the end of a layout.
952
-
953
- booleanundefined
954
-
955
-
956
-
957
- | \- | Set object |
958
- | p |
959
-
960
- The **`p`** property is short for `padding`, and sets the padding area on all four sides of an element at once.
961
-
962
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
963
-
964
- | Chrome | Firefox | Safari | Edge | IE |
965
- | --- | --- | --- | --- | --- |
966
- | **1** | **1** | **1** | **12** | **3** |
967
-
968
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
969
-
970
- | \- | Set object |
971
- | pb |
972
-
973
- The **`pb`** property is short for `padding-bottom` and sets the padding area on the bottom side of an element.
974
-
975
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
976
-
977
- | Chrome | Firefox | Safari | Edge | IE |
978
- | --- | --- | --- | --- | --- |
979
- | **1** | **1** | **1** | **12** | **3** |
980
-
981
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
982
-
983
- | \- | Set object |
984
- | pl |
985
-
986
- The **`pl`** property is short for `padding-left` and sets the padding area on the left side of an element.
987
-
988
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
989
-
990
- | Chrome | Firefox | Safari | Edge | IE |
991
- | --- | --- | --- | --- | --- |
992
- | **1** | **1** | **1** | **12** | **3** |
993
-
994
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
995
-
996
- | \- | Set object |
997
- | pr |
998
-
999
- The **`pr`** property is short for `padding-right` and sets the padding area on the right side of an element.
1000
-
1001
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
1002
-
1003
- | Chrome | Firefox | Safari | Edge | IE |
1004
- | --- | --- | --- | --- | --- |
1005
- | **1** | **1** | **1** | **12** | **3** |
1006
-
1007
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
1008
-
1009
- | \- | Set object |
1010
- | prefix |
1011
-
1012
- Prefix to all validation messages. Will be `status` prop if nothing is provided.
1013
-
1014
- ReactNode
1015
-
1016
-
1017
-
1018
- | \- | Set object |
1019
- | pt |
1020
-
1021
- The **`pt`** property is short for `padding-top` and sets the padding area on the top side of an element.
1022
-
1023
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
1024
-
1025
- | Chrome | Firefox | Safari | Edge | IE |
1026
- | --- | --- | --- | --- | --- |
1027
- | **1** | **1** | **1** | **12** | **3** |
1028
-
1029
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
1030
-
1031
- | \- | Set object |
1032
- | px |
1033
-
1034
- The **`px`** property is short for `padding-inline`. It is a shorthand property that defines both the logical inline start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
1035
-
1036
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
1037
-
1038
- | Chrome | Firefox | Safari | Edge | IE |
1039
- | --- | --- | --- | --- | --- |
1040
- | **1** | **1** | **1** | **12** | **3** |
1041
-
1042
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
1043
-
1044
- | \- | Set object |
1045
- | py |
1046
-
1047
- The **`py`** property is short for `padding-block`. It defines the logical block start and end paddings of an element, which maps to physical paddings depending on the element's writing mode, directionality, and text orientation.
1048
-
1049
- It uses the spacing tokens in the design system. Padding cannot use negative values, if you need to overlap elements or ignore padding, use the margin property instead.
1050
-
1051
- | Chrome | Firefox | Safari | Edge | IE |
1052
- | --- | --- | --- | --- | --- |
1053
- | **1** | **1** | **1** | **12** | **3** |
1054
-
1055
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
1056
-
1057
- | \- | Set object |
1058
- | rowGap |
1059
-
1060
- The **`row-gap`** CSS property sets the size of the gap (gutter) between an element's rows.
1061
-
1062
- Note: It only has an effect when used as a direct child of a layout component, such as IressRow, IressStack or IressInline.
1063
-
1064
- | Chrome | Firefox | Safari | Edge | IE |
1065
- | --- | --- | --- | --- | --- |
1066
- | **47** | **52** | **10.1** | **16** | No |
1067
-
1068
- ResponsiveProp<"xs" | "sm" | "md" | "lg" | "xl" | "none" | "spacing.000" | "spacing.050" | "spacing.100" | "spacing.150" | "spacing.200" | "spacing.250" | "spacing.300" | "spacing.350" | ... 9 more ... | "slider.tick"> | undefined
1069
-
1070
- | \- | Set object |
1071
- | srOnly |
1072
-
1073
- Set **`srOnly`** to hide an element visually but still make it accessible to screen readers. It can also be set to an object of breakpoints to hide the element at specific breakpoints.
1074
-
1075
- Hide on all breakpoints: `srOnly: true` Hide on specific breakpoints: `srOnly: { xs: false, sm: true, md: false, lg: true, xl: false, xxl: true }`
1076
-
1077
- ResponsiveProp<boolean> | undefined
1078
-
1079
- | \- | Set object |
1080
- | status |
1081
-
1082
- Status for all child ValidationMessage components
1083
-
1084
- "danger""info""success""warning"undefined
1085
-
1086
-
1087
-
1088
- |
1089
-
1090
- danger
1091
-
1092
- | Set object |
1093
- | stretch |
1094
-
1095
- The **`stretch`** property is used to stretch an element to fill the available space in its parent container. It sets the `height` property to `100%` and `alignSelf` to `stretch`, allowing the element to expand and contract based on the size of its parent.
1096
-
1097
- booleanundefined
1098
-
1099
-
1100
-
1101
- | \- | Set object |
1102
- | textAlign |
1103
-
1104
- The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box.
1105
-
1106
- | Chrome | Firefox | Safari | Edge | IE |
1107
- | --- | --- | --- | --- | --- |
1108
- | **1** | **1** | **1** | **12** | **3** |
1109
-
1110
- ResponsiveProp<"center" | "left" | "right" | "inherit" | "justify"> | undefined
1111
-
1112
- | \- | Set object |
1113
- | textStyle |
1114
-
1115
- Select the typography to be used using the **`textStyle`** prop. These are connected to the typography tokens in the design system.'
1116
-
1117
- * `typography.body.sm` - Use for small components such as badges and disclaimers, as well as compact variations of tables and lists.
1118
- * `typography.body.md` - The most commonly used body text size, used for most text content in the product and the default state of all components in the design system.
1119
- * `typography.body.lg` - Use for tag lines, subtitles, and other large text content in the product.
1120
- * `typography.heading.1` - Use for the main page title to establish a clear hierarchy. There is typically only one H1 per screen, emphasising the primary purpose or context of the page.
1121
- * `typography.heading.2` - Use for primary section headings within a page to organise content and guide the user through key areas. Also suitable for large components—such as modals—where space allows and where it pairs well with body.md or body.lg.
1122
- * `typography.heading.3` - Use for sub-sections under H2s to further structure content and maintain a clear visual hierarchy. Ideal for breaking down complex sections into manageable parts.
1123
- * `typography.heading.4` - Use for supporting headings within content blocks or small components where space is limited—such as table headers, cards, or side panels. Provides structure without overwhelming the layout.
1124
- * `typography.heading.5` - Use for minor labels or titles in compact UI elements, such as cards, sidebars, or inline labels. Best used to emphasise supplementary information without drawing too much attention. Works well with body.sm and is ideal for subtle content like fine print. Use sparingly to preserve typographic hierarchy.
1125
- * `typography.code` - Used to display code snippets in the product, such as in the API documentation.
1126
-
1127
- ResponsiveProp<"typography.heading.1" | "typography.heading.2" | "typography.heading.3" | "typography.heading.4" | "typography.heading.5" | "typography.body.sm" | "typography.body.sm.regular" | ... 10 more ... | "typography.code"> | undefined
1128
-
1129
- | \- | Set object |
1130
- | visiblePrefix |
1131
-
1132
- If set to true, the prefix will be visually displayed (default is only available to screen readers)
1133
-
1134
- booleanundefined
1135
-
1136
-
1137
-
1138
- | \- | Set object |
1139
- | width |
1140
-
1141
- The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area.
1142
-
1143
- This prop only allows widths available throughout the component library. To use a custom width, you need to use the `style` prop, or add a custom class to the element and use CSS.
1144
-
1145
- | Chrome | Firefox | Safari | Edge | IE |
1146
- | --- | --- | --- | --- | --- |
1147
- | **1** | **1** | **1** | **12** | **4** |
1148
-
1149
- ResponsiveProp<"auto" | SizeToken | "screen" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | ... 8 more ... | "11/12"> | undefined
1150
-
1151
- | \- | Set object |
1152
-
1153
- On this page
1154
-
1155
- * [Overview](#overview)
1156
- * [Props](#props)
1157
- * [Examples](#examples)
1158
- * [Status](#status)
1159
- * [Prefix](#prefix)
1160
- * [Link to target](#link-to-target)
1161
- * [IressValidationSummary](#iressvalidationsummary)