@iress-oss/ids-mcp-server 6.0.0-alpha.1-canary-20251204032753-fe18cab → 6.0.0-alpha.1-canary-20251204040305-3639454
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.
- package/generated/docs/components_components-alert-docs.md +1054 -0
- package/generated/docs/components_components-autocomplete-docs.md +3304 -0
- package/generated/docs/components_components-autocomplete-recipes-docs.md +98 -0
- package/generated/docs/components_components-badge-docs.md +312 -0
- package/generated/docs/components_components-button-docs.md +2339 -0
- package/generated/docs/components_components-buttongroup-docs.md +980 -0
- package/generated/docs/components_components-card-docs.md +1970 -0
- package/generated/docs/components_components-checkbox-docs.md +1083 -0
- package/generated/docs/components_components-checkboxgroup-docs.md +1597 -0
- package/generated/docs/components_components-checkboxgroup-recipes-docs.md +209 -0
- package/generated/docs/components_components-col-docs.md +755 -0
- package/generated/docs/components_components-container-docs.md +172 -0
- package/generated/docs/components_components-divider-docs.md +235 -0
- package/generated/docs/components_components-expander-docs.md +428 -0
- package/generated/docs/components_components-field-docs.md +3345 -0
- package/generated/docs/components_components-filter-docs.md +4091 -0
- package/generated/docs/components_components-hide-docs.md +450 -0
- package/generated/docs/components_components-icon-docs.md +1017 -0
- package/generated/docs/components_components-image-docs.md +168 -0
- package/generated/docs/components_components-inline-docs.md +1962 -0
- package/generated/docs/components_components-input-docs.md +1388 -0
- package/generated/docs/components_components-input-recipes-docs.md +349 -0
- package/generated/docs/components_components-inputcurrency-docs.md +636 -0
- package/generated/docs/components_components-inputcurrency-recipes-docs.md +208 -0
- package/generated/docs/components_components-introduction-docs.md +448 -0
- package/generated/docs/components_components-label-docs.md +229 -0
- package/generated/docs/components_components-link-docs.md +454 -0
- package/generated/docs/components_components-menu-docs.md +2219 -0
- package/generated/docs/components_components-menu-menuitem-docs.md +1455 -0
- package/generated/docs/components_components-modal-docs.md +2002 -0
- package/generated/docs/components_components-panel-docs.md +342 -0
- package/generated/docs/components_components-placeholder-docs.md +98 -0
- package/generated/docs/components_components-popover-docs.md +1631 -0
- package/generated/docs/components_components-popover-recipes-docs.md +537 -0
- package/generated/docs/components_components-progress-docs.md +128 -0
- package/generated/docs/components_components-provider-docs.md +123 -0
- package/generated/docs/components_components-radio-docs.md +499 -0
- package/generated/docs/components_components-radiogroup-docs.md +1573 -0
- package/generated/docs/components_components-readonly-docs.md +277 -0
- package/generated/docs/components_components-richselect-docs.md +6101 -0
- package/generated/docs/components_components-row-docs.md +2172 -0
- package/generated/docs/components_components-select-docs.md +1110 -0
- package/generated/docs/components_components-skeleton-docs.md +467 -0
- package/generated/docs/components_components-skeleton-recipes-docs.md +110 -0
- package/generated/docs/components_components-skiplink-docs.md +220 -0
- package/generated/docs/components_components-slideout-docs.md +1910 -0
- package/generated/docs/components_components-slider-docs.md +1284 -0
- package/generated/docs/components_components-spinner-docs.md +90 -0
- package/generated/docs/components_components-stack-docs.md +730 -0
- package/generated/docs/components_components-table-docs.md +4038 -0
- package/generated/docs/components_components-tabset-docs.md +955 -0
- package/generated/docs/components_components-tabset-tab-docs.md +342 -0
- package/generated/docs/components_components-tag-docs.md +410 -0
- package/generated/docs/components_components-text-docs.md +593 -0
- package/generated/docs/components_components-toaster-docs.md +451 -0
- package/generated/docs/components_components-toggle-docs.md +513 -0
- package/generated/docs/components_components-tooltip-docs.md +564 -0
- package/generated/docs/components_components-validationmessage-docs.md +608 -0
- package/generated/docs/components_contact-us-docs.md +9 -0
- package/generated/docs/components_foundations-accessibility-docs.md +33 -0
- package/generated/docs/components_foundations-consistency-docs.md +44 -0
- package/generated/docs/components_foundations-content-docs.md +18 -0
- package/generated/docs/components_foundations-introduction-docs.md +17 -0
- package/generated/docs/components_foundations-principles-docs.md +60 -0
- package/generated/docs/components_foundations-responsive-layout-docs.md +2692 -0
- package/generated/docs/components_foundations-user-experience-docs.md +53 -0
- package/generated/docs/components_foundations-visual-design-docs.md +39 -0
- package/generated/docs/components_foundations-z-index-stacking-docs.md +288 -0
- package/generated/docs/components_frequently-asked-questions-docs.md +44 -0
- package/generated/docs/components_get-started-develop-docs.md +47 -0
- package/generated/docs/components_get-started-using-storybook-docs.md +55 -0
- package/generated/docs/components_introduction-docs.md +85 -0
- package/generated/docs/components_patterns-form-docs.md +2469 -0
- package/generated/docs/components_patterns-form-recipes-docs.md +1597 -0
- package/generated/docs/components_patterns-introduction-docs.md +31 -0
- package/generated/docs/components_patterns-loading-docs.md +1908 -0
- package/generated/docs/components_patterns-shadow-docs.md +195 -0
- package/generated/docs/components_resources-code-katas-docs.md +25 -0
- package/generated/docs/components_resources-introduction-docs.md +28 -0
- package/generated/docs/components_resources-mcp-server-docs.md +23 -0
- package/generated/docs/components_resources-migration-guides-from-v4-to-v5-docs.md +142 -0
- package/generated/docs/components_styling-props-colour-docs.md +91 -0
- package/generated/docs/components_styling-props-elevation-docs.md +69 -0
- package/generated/docs/components_styling-props-radius-docs.md +63 -0
- package/generated/docs/components_styling-props-reference-docs.md +160 -0
- package/generated/docs/components_styling-props-screen-readers-docs.md +66 -0
- package/generated/docs/components_styling-props-sizing-docs.md +217 -0
- package/generated/docs/components_styling-props-spacing-docs.md +545 -0
- package/generated/docs/components_styling-props-typography-docs.md +66 -0
- package/generated/docs/components_versions-docs.md +14 -0
- package/generated/docs/guidelines.md +3083 -0
- package/generated/docs/introduction-docs.md +37 -0
- package/generated/docs/tokens_colour-docs.md +479 -0
- package/generated/docs/tokens_elevation-docs.md +39 -0
- package/generated/docs/tokens_introduction-docs.md +150 -0
- package/generated/docs/tokens_radius-docs.md +67 -0
- package/generated/docs/tokens_spacing-docs.md +87 -0
- package/generated/docs/tokens_typography-docs.md +305 -0
- package/package.json +2 -2
|
@@ -0,0 +1,1017 @@
|
|
|
1
|
+
Icon
|
|
2
|
+
====
|
|
3
|
+
|
|
4
|
+
Overview
|
|
5
|
+
--------
|
|
6
|
+
|
|
7
|
+
Icons enhance experiences by visually communicating meaning, actions, status, and feedback.
|
|
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
|
+
[](./iframe.html?id=components-icon--default)
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
<IressIcon name\="home" />
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Props
|
|
26
|
+
-----
|
|
27
|
+
|
|
28
|
+
| Name | Description | Default | Control |
|
|
29
|
+
| --- | --- | --- | --- |
|
|
30
|
+
| fixedWidth |
|
|
31
|
+
Adds fixed width class for Font Awesome icons - fa-fw
|
|
32
|
+
|
|
33
|
+
boolean
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
| \- | Set boolean |
|
|
38
|
+
| flip |
|
|
39
|
+
|
|
40
|
+
Flip the icon horizontally, vertically or both axes.
|
|
41
|
+
|
|
42
|
+
union
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
| \- |
|
|
47
|
+
|
|
48
|
+
horizontalverticalboth
|
|
49
|
+
|
|
50
|
+
|
|
|
51
|
+
| name\* |
|
|
52
|
+
|
|
53
|
+
The name of the icon
|
|
54
|
+
|
|
55
|
+
IconName
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
| \- |
|
|
60
|
+
|
|
61
|
+
"home"
|
|
62
|
+
|
|
63
|
+
|
|
|
64
|
+
| rotate |
|
|
65
|
+
|
|
66
|
+
Amount of degrees to rotate the icon.
|
|
67
|
+
|
|
68
|
+
union
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
| \- |
|
|
73
|
+
|
|
74
|
+
90180270
|
|
75
|
+
|
|
76
|
+
|
|
|
77
|
+
| screenreaderText |
|
|
78
|
+
|
|
79
|
+
Adds screen reader text if the icon needs to be visible to screen reader users
|
|
80
|
+
|
|
81
|
+
string
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
| \- | Set string |
|
|
86
|
+
| set |
|
|
87
|
+
|
|
88
|
+
The icon set to be used:
|
|
89
|
+
|
|
90
|
+
* `fal`: Font Awesome Light
|
|
91
|
+
* `fab`: Font Awesome Brand
|
|
92
|
+
|
|
93
|
+
union
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
|
98
|
+
|
|
99
|
+
'fal'
|
|
100
|
+
|
|
101
|
+
|
|
|
102
|
+
|
|
103
|
+
falfab
|
|
104
|
+
|
|
105
|
+
|
|
|
106
|
+
| spin |
|
|
107
|
+
|
|
108
|
+
Accepts a numeric value for speed for one rotation.
|
|
109
|
+
|
|
110
|
+
union
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
| \- |
|
|
115
|
+
|
|
116
|
+
123half
|
|
117
|
+
|
|
118
|
+
|
|
|
119
|
+
|
|
120
|
+
Installation
|
|
121
|
+
------------
|
|
122
|
+
|
|
123
|
+
If you are planning to include the `<IressIcon />` component in your application, you need to include the Font Awesome CSS.
|
|
124
|
+
|
|
125
|
+
The easiest way to import the Font Awesome CSS is to use the `combined.css` file and add it to the `<head />` if your application. This file includes both the [Pro Light](https://fontawesome.com/v5/search?o=r&s=light) and [Brand](https://fontawesome.com/v5/search?o=r&f=brands) icon sets.
|
|
126
|
+
|
|
127
|
+
Microfrontends
|
|
128
|
+
--------------
|
|
129
|
+
|
|
130
|
+
If you are using a Microfrontend, you need to include the Font Awesome CSS in the parent application as well as the Microfrontend. This is because `@font-face` declarations are not supported inside the Shadow DOM.
|
|
131
|
+
|
|
132
|
+
<link
|
|
133
|
+
href\="https://cdn.iress.com/icons/5.15.4/css/combined.min.css"
|
|
134
|
+
rel\="stylesheet"
|
|
135
|
+
/>
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Supported library sets and names
|
|
140
|
+
--------------------------------
|
|
141
|
+
|
|
142
|
+
`IressIcon` currently supports Font Awesome (V5) [Light](https://fontawesome.com/v5/search?o=r&s=light) and [Brand](https://fontawesome.com/v5/search?o=r&f=brands) sets. The library sets are controlled by the `set` prop and it defaults to the Light set (`fal`).
|
|
143
|
+
|
|
144
|
+
The `name` prop controls which icon is shown, and needs to match the icon name exactly as displayed on the [Font Awesome website](https://fontawesome.com/v5/search). Icon names should be lower case, and separated by hyphens where required; for example `home-alt` or `check-circle.` Icon names should not include the `fa-` prefix.
|
|
145
|
+
|
|
146
|
+
Behaviour
|
|
147
|
+
---------
|
|
148
|
+
|
|
149
|
+
### Screen Reader Text
|
|
150
|
+
|
|
151
|
+
By default icons are hidden from screen readers. The `screenreaderText` prop makes icons visible to screen readers users, providing a description of the icon.
|
|
152
|
+
|
|
153
|
+
If you use an icon to improve the visual appeal of content, for example by replacing the default list icons with tick marks when listing product features, you don't need to add any screen reader text.
|
|
154
|
+
|
|
155
|
+
If you use an icon to convey meaning, for example using an icon as the only content inside a button, you do need to supply a value for the `screenreaderText`; if you don't the button meaning will be completely lost for screen reader users.
|
|
156
|
+
|
|
157
|
+
[](./iframe.html?id=components-icon--screen-reader-text)
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
<IressIcon
|
|
162
|
+
name\="home"
|
|
163
|
+
screenreaderText\="Home"
|
|
164
|
+
/>
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
#### Props
|
|
169
|
+
|
|
170
|
+
| Name | Description | Default | Control |
|
|
171
|
+
| --- | --- | --- | --- |
|
|
172
|
+
| fixedWidth |
|
|
173
|
+
Adds fixed width class for Font Awesome icons - fa-fw
|
|
174
|
+
|
|
175
|
+
boolean
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
| \- | Set boolean |
|
|
180
|
+
| flip |
|
|
181
|
+
|
|
182
|
+
Flip the icon horizontally, vertically or both axes.
|
|
183
|
+
|
|
184
|
+
union
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
| \- |
|
|
189
|
+
|
|
190
|
+
horizontalverticalboth
|
|
191
|
+
|
|
192
|
+
|
|
|
193
|
+
| name\* |
|
|
194
|
+
|
|
195
|
+
The name of the icon
|
|
196
|
+
|
|
197
|
+
IconName
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
| \- |
|
|
202
|
+
|
|
203
|
+
"home"
|
|
204
|
+
|
|
205
|
+
|
|
|
206
|
+
| rotate |
|
|
207
|
+
|
|
208
|
+
Amount of degrees to rotate the icon.
|
|
209
|
+
|
|
210
|
+
union
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
| \- |
|
|
215
|
+
|
|
216
|
+
90180270
|
|
217
|
+
|
|
218
|
+
|
|
|
219
|
+
| screenreaderText |
|
|
220
|
+
|
|
221
|
+
Adds screen reader text if the icon needs to be visible to screen reader users
|
|
222
|
+
|
|
223
|
+
string
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
| \- | Home |
|
|
228
|
+
| set |
|
|
229
|
+
|
|
230
|
+
The icon set to be used:
|
|
231
|
+
|
|
232
|
+
* `fal`: Font Awesome Light
|
|
233
|
+
* `fab`: Font Awesome Brand
|
|
234
|
+
|
|
235
|
+
union
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
|
240
|
+
|
|
241
|
+
'fal'
|
|
242
|
+
|
|
243
|
+
|
|
|
244
|
+
|
|
245
|
+
falfab
|
|
246
|
+
|
|
247
|
+
|
|
|
248
|
+
| spin |
|
|
249
|
+
|
|
250
|
+
Accepts a numeric value for speed for one rotation.
|
|
251
|
+
|
|
252
|
+
union
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
| \- |
|
|
257
|
+
|
|
258
|
+
123half
|
|
259
|
+
|
|
260
|
+
|
|
|
261
|
+
|
|
262
|
+
### Size
|
|
263
|
+
|
|
264
|
+
The `size` prop has been removed. It will now inherit the size of the parent component.
|
|
265
|
+
|
|
266
|
+
For larger icons, it is recommended to use `IressImage` with stylised illustrations.
|
|
267
|
+
|
|
268
|
+
### Mode
|
|
269
|
+
|
|
270
|
+
Mode has been removed. Please use the `color` prop instead.
|
|
271
|
+
|
|
272
|
+
[](/?path=/docs/styling-props-colour--docs#color)
|
|
273
|
+
|
|
274
|
+
[Learn more](/?path=/docs/styling-props-colour--docs#color)
|
|
275
|
+
|
|
276
|
+
### Flip
|
|
277
|
+
|
|
278
|
+
The `flip` prop can be set to horizontal, vertical or both.
|
|
279
|
+
|
|
280
|
+
[](./iframe.html?id=components-icon--flip)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
(default)
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
horizontal
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
vertical
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
both
|
|
293
|
+
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
<IressInline gap\="md"\>
|
|
297
|
+
<IressText textAlign\="center"\>
|
|
298
|
+
<IressIcon
|
|
299
|
+
name\="home"
|
|
300
|
+
textStyle\="typography.heading.1"
|
|
301
|
+
/>
|
|
302
|
+
<br />
|
|
303
|
+
(default) </IressText\>
|
|
304
|
+
<IressText textAlign\="center"\>
|
|
305
|
+
<IressIcon
|
|
306
|
+
flip\="horizontal"
|
|
307
|
+
name\="home"
|
|
308
|
+
textStyle\="typography.heading.1"
|
|
309
|
+
/>
|
|
310
|
+
<br />
|
|
311
|
+
horizontal </IressText\>
|
|
312
|
+
<IressText textAlign\="center"\>
|
|
313
|
+
<IressIcon
|
|
314
|
+
flip\="vertical"
|
|
315
|
+
name\="home"
|
|
316
|
+
textStyle\="typography.heading.1"
|
|
317
|
+
/>
|
|
318
|
+
<br />
|
|
319
|
+
vertical </IressText\>
|
|
320
|
+
<IressText textAlign\="center"\>
|
|
321
|
+
<IressIcon
|
|
322
|
+
flip\="both"
|
|
323
|
+
name\="home"
|
|
324
|
+
textStyle\="typography.heading.1"
|
|
325
|
+
/>
|
|
326
|
+
<br />
|
|
327
|
+
both </IressText\>
|
|
328
|
+
</IressInline\>
|
|
329
|
+
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
#### Props
|
|
333
|
+
|
|
334
|
+
| Name | Description | Default | Control |
|
|
335
|
+
| --- | --- | --- | --- |
|
|
336
|
+
| fixedWidth |
|
|
337
|
+
Adds fixed width class for Font Awesome icons - fa-fw
|
|
338
|
+
|
|
339
|
+
boolean
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
| \- | Set boolean |
|
|
344
|
+
| flip |
|
|
345
|
+
|
|
346
|
+
Flip the icon horizontally, vertically or both axes.
|
|
347
|
+
|
|
348
|
+
union
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
| \- | \- |
|
|
353
|
+
| name\* |
|
|
354
|
+
|
|
355
|
+
The name of the icon
|
|
356
|
+
|
|
357
|
+
IconName
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
| \- |
|
|
362
|
+
|
|
363
|
+
"home"
|
|
364
|
+
|
|
365
|
+
|
|
|
366
|
+
| rotate |
|
|
367
|
+
|
|
368
|
+
Amount of degrees to rotate the icon.
|
|
369
|
+
|
|
370
|
+
union
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
| \- |
|
|
375
|
+
|
|
376
|
+
90180270
|
|
377
|
+
|
|
378
|
+
|
|
|
379
|
+
| screenreaderText |
|
|
380
|
+
|
|
381
|
+
Adds screen reader text if the icon needs to be visible to screen reader users
|
|
382
|
+
|
|
383
|
+
string
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
| \- | Set string |
|
|
388
|
+
| set |
|
|
389
|
+
|
|
390
|
+
The icon set to be used:
|
|
391
|
+
|
|
392
|
+
* `fal`: Font Awesome Light
|
|
393
|
+
* `fab`: Font Awesome Brand
|
|
394
|
+
|
|
395
|
+
union
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
|
400
|
+
|
|
401
|
+
'fal'
|
|
402
|
+
|
|
403
|
+
|
|
|
404
|
+
|
|
405
|
+
falfab
|
|
406
|
+
|
|
407
|
+
|
|
|
408
|
+
| spin |
|
|
409
|
+
|
|
410
|
+
Accepts a numeric value for speed for one rotation.
|
|
411
|
+
|
|
412
|
+
union
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
| \- |
|
|
417
|
+
|
|
418
|
+
123half
|
|
419
|
+
|
|
420
|
+
|
|
|
421
|
+
| textStyle |
|
|
422
|
+
|
|
423
|
+
string
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
| \- | typography.heading.1 |
|
|
428
|
+
|
|
429
|
+
### Rotate
|
|
430
|
+
|
|
431
|
+
The `rotate` prop can be set to 90, 180 or 270 degrees.
|
|
432
|
+
|
|
433
|
+
[](./iframe.html?id=components-icon--rotate)
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
(default)
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
90
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
180
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
270
|
|
446
|
+
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
<IressInline gap\="md"\>
|
|
450
|
+
<IressText textAlign\="center"\>
|
|
451
|
+
<IressIcon
|
|
452
|
+
name\="home"
|
|
453
|
+
textStyle\="typography.heading.1"
|
|
454
|
+
/>
|
|
455
|
+
<br />
|
|
456
|
+
(default) </IressText\>
|
|
457
|
+
<IressText textAlign\="center"\>
|
|
458
|
+
<IressIcon
|
|
459
|
+
name\="home"
|
|
460
|
+
rotate\={90}
|
|
461
|
+
textStyle\="typography.heading.1"
|
|
462
|
+
/>
|
|
463
|
+
<br />
|
|
464
|
+
90 </IressText\>
|
|
465
|
+
<IressText textAlign\="center"\>
|
|
466
|
+
<IressIcon
|
|
467
|
+
name\="home"
|
|
468
|
+
rotate\={180}
|
|
469
|
+
textStyle\="typography.heading.1"
|
|
470
|
+
/>
|
|
471
|
+
<br />
|
|
472
|
+
180 </IressText\>
|
|
473
|
+
<IressText textAlign\="center"\>
|
|
474
|
+
<IressIcon
|
|
475
|
+
name\="home"
|
|
476
|
+
rotate\={270}
|
|
477
|
+
textStyle\="typography.heading.1"
|
|
478
|
+
/>
|
|
479
|
+
<br />
|
|
480
|
+
270 </IressText\>
|
|
481
|
+
</IressInline\>
|
|
482
|
+
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
#### Props
|
|
486
|
+
|
|
487
|
+
| Name | Description | Default | Control |
|
|
488
|
+
| --- | --- | --- | --- |
|
|
489
|
+
| fixedWidth |
|
|
490
|
+
Adds fixed width class for Font Awesome icons - fa-fw
|
|
491
|
+
|
|
492
|
+
boolean
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
| \- | Set boolean |
|
|
497
|
+
| flip |
|
|
498
|
+
|
|
499
|
+
Flip the icon horizontally, vertically or both axes.
|
|
500
|
+
|
|
501
|
+
union
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
| \- |
|
|
506
|
+
|
|
507
|
+
horizontalverticalboth
|
|
508
|
+
|
|
509
|
+
|
|
|
510
|
+
| name\* |
|
|
511
|
+
|
|
512
|
+
The name of the icon
|
|
513
|
+
|
|
514
|
+
IconName
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
| \- |
|
|
519
|
+
|
|
520
|
+
"home"
|
|
521
|
+
|
|
522
|
+
|
|
|
523
|
+
| rotate |
|
|
524
|
+
|
|
525
|
+
Amount of degrees to rotate the icon.
|
|
526
|
+
|
|
527
|
+
union
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
| \- | \- |
|
|
532
|
+
| screenreaderText |
|
|
533
|
+
|
|
534
|
+
Adds screen reader text if the icon needs to be visible to screen reader users
|
|
535
|
+
|
|
536
|
+
string
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
| \- | Set string |
|
|
541
|
+
| set |
|
|
542
|
+
|
|
543
|
+
The icon set to be used:
|
|
544
|
+
|
|
545
|
+
* `fal`: Font Awesome Light
|
|
546
|
+
* `fab`: Font Awesome Brand
|
|
547
|
+
|
|
548
|
+
union
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
|
553
|
+
|
|
554
|
+
'fal'
|
|
555
|
+
|
|
556
|
+
|
|
|
557
|
+
|
|
558
|
+
falfab
|
|
559
|
+
|
|
560
|
+
|
|
|
561
|
+
| spin |
|
|
562
|
+
|
|
563
|
+
Accepts a numeric value for speed for one rotation.
|
|
564
|
+
|
|
565
|
+
union
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
| \- |
|
|
570
|
+
|
|
571
|
+
123half
|
|
572
|
+
|
|
573
|
+
|
|
|
574
|
+
| textStyle |
|
|
575
|
+
|
|
576
|
+
string
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
| \- | typography.heading.1 |
|
|
581
|
+
|
|
582
|
+
### Spin
|
|
583
|
+
|
|
584
|
+
The `spin` prop can be set to half (fastest), 1, 2 or 3 (slowest) to control the speed of the icon spin animation, useful for loading spinners.
|
|
585
|
+
|
|
586
|
+
[](./iframe.html?id=components-icon--spin)
|
|
587
|
+
|
|
588
|
+
half
|
|
589
|
+
|
|
590
|
+
1
|
|
591
|
+
|
|
592
|
+
2
|
|
593
|
+
|
|
594
|
+
3
|
|
595
|
+
|
|
596
|
+
```
|
|
597
|
+
|
|
598
|
+
<IressInline gap\="md"\>
|
|
599
|
+
<IressText\>
|
|
600
|
+
<IressIcon
|
|
601
|
+
name\="spinner"
|
|
602
|
+
screenreaderText\="Loading..."
|
|
603
|
+
spin\="half"
|
|
604
|
+
/>
|
|
605
|
+
{' '}half
|
|
606
|
+
</IressText\>
|
|
607
|
+
<IressText\>
|
|
608
|
+
<IressIcon
|
|
609
|
+
name\="spinner"
|
|
610
|
+
screenreaderText\="Loading..."
|
|
611
|
+
spin\={1}
|
|
612
|
+
/>
|
|
613
|
+
{' '}1
|
|
614
|
+
</IressText\>
|
|
615
|
+
<IressText\>
|
|
616
|
+
<IressIcon
|
|
617
|
+
name\="spinner"
|
|
618
|
+
screenreaderText\="Loading..."
|
|
619
|
+
spin\={2}
|
|
620
|
+
/>
|
|
621
|
+
{' '}2
|
|
622
|
+
</IressText\>
|
|
623
|
+
<IressText\>
|
|
624
|
+
<IressIcon
|
|
625
|
+
name\="spinner"
|
|
626
|
+
screenreaderText\="Loading..."
|
|
627
|
+
spin\={3}
|
|
628
|
+
/>
|
|
629
|
+
{' '}3
|
|
630
|
+
</IressText\>
|
|
631
|
+
</IressInline\>
|
|
632
|
+
|
|
633
|
+
```
|
|
634
|
+
|
|
635
|
+
#### Props
|
|
636
|
+
|
|
637
|
+
| Name | Description | Default | Control |
|
|
638
|
+
| --- | --- | --- | --- |
|
|
639
|
+
| fixedWidth |
|
|
640
|
+
Adds fixed width class for Font Awesome icons - fa-fw
|
|
641
|
+
|
|
642
|
+
boolean
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
| \- | Set boolean |
|
|
647
|
+
| flip |
|
|
648
|
+
|
|
649
|
+
Flip the icon horizontally, vertically or both axes.
|
|
650
|
+
|
|
651
|
+
union
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
| \- |
|
|
656
|
+
|
|
657
|
+
horizontalverticalboth
|
|
658
|
+
|
|
659
|
+
|
|
|
660
|
+
| name\* |
|
|
661
|
+
|
|
662
|
+
The name of the icon
|
|
663
|
+
|
|
664
|
+
IconName
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
| \- |
|
|
669
|
+
|
|
670
|
+
"spinner"
|
|
671
|
+
|
|
672
|
+
|
|
|
673
|
+
| rotate |
|
|
674
|
+
|
|
675
|
+
Amount of degrees to rotate the icon.
|
|
676
|
+
|
|
677
|
+
union
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
| \- |
|
|
682
|
+
|
|
683
|
+
90180270
|
|
684
|
+
|
|
685
|
+
|
|
|
686
|
+
| screenreaderText |
|
|
687
|
+
|
|
688
|
+
Adds screen reader text if the icon needs to be visible to screen reader users
|
|
689
|
+
|
|
690
|
+
string
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
| \- | Loading... |
|
|
695
|
+
| set |
|
|
696
|
+
|
|
697
|
+
The icon set to be used:
|
|
698
|
+
|
|
699
|
+
* `fal`: Font Awesome Light
|
|
700
|
+
* `fab`: Font Awesome Brand
|
|
701
|
+
|
|
702
|
+
union
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
|
707
|
+
|
|
708
|
+
'fal'
|
|
709
|
+
|
|
710
|
+
|
|
|
711
|
+
|
|
712
|
+
falfab
|
|
713
|
+
|
|
714
|
+
|
|
|
715
|
+
| spin |
|
|
716
|
+
|
|
717
|
+
Accepts a numeric value for speed for one rotation.
|
|
718
|
+
|
|
719
|
+
union
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
| \- | \- |
|
|
724
|
+
|
|
725
|
+
### Fixed Width
|
|
726
|
+
|
|
727
|
+
Because of the wide variety of Font Awesome icons, not every icon is the same size. This can cause alignment issued when the icons stack vertically, so you can use the `fixedWidth` prop to ensure each icon is the same width. Very useful when using icons in menus.
|
|
728
|
+
|
|
729
|
+
[](./iframe.html?id=components-icon--fixed-width)
|
|
730
|
+
|
|
731
|
+
Default width
|
|
732
|
+
-------------
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
Fixed width
|
|
737
|
+
-----------
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
```
|
|
742
|
+
|
|
743
|
+
<IressInline gap\="md"\>
|
|
744
|
+
<div\>
|
|
745
|
+
<IressText
|
|
746
|
+
element\="h2"
|
|
747
|
+
textStyle\="typography.heading.5"
|
|
748
|
+
\>
|
|
749
|
+
Default width </IressText\>
|
|
750
|
+
<IressIcon
|
|
751
|
+
bg\="colour.neutral.30"
|
|
752
|
+
name\="space-shuttle"
|
|
753
|
+
textStyle\="typography.heading.1"
|
|
754
|
+
/>
|
|
755
|
+
<br />
|
|
756
|
+
<IressIcon
|
|
757
|
+
bg\="colour.neutral.30"
|
|
758
|
+
name\="wine-glass-alt"
|
|
759
|
+
textStyle\="typography.heading.1"
|
|
760
|
+
/>
|
|
761
|
+
</div\>
|
|
762
|
+
<div\>
|
|
763
|
+
<IressText
|
|
764
|
+
element\="h2"
|
|
765
|
+
textStyle\="typography.heading.5"
|
|
766
|
+
\>
|
|
767
|
+
Fixed width </IressText\>
|
|
768
|
+
<IressIcon
|
|
769
|
+
bg\="colour.neutral.30"
|
|
770
|
+
fixedWidth
|
|
771
|
+
name\="space-shuttle"
|
|
772
|
+
textStyle\="typography.heading.1"
|
|
773
|
+
/>
|
|
774
|
+
<br />
|
|
775
|
+
<IressIcon
|
|
776
|
+
bg\="colour.neutral.30"
|
|
777
|
+
fixedWidth
|
|
778
|
+
name\="wine-glass-alt"
|
|
779
|
+
textStyle\="typography.heading.1"
|
|
780
|
+
/>
|
|
781
|
+
</div\>
|
|
782
|
+
</IressInline\>
|
|
783
|
+
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
#### Props
|
|
787
|
+
|
|
788
|
+
| Name | Description | Default | Control |
|
|
789
|
+
| --- | --- | --- | --- |
|
|
790
|
+
| bg |
|
|
791
|
+
string
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
| \- | colour.neutral.30 |
|
|
796
|
+
| fixedWidth |
|
|
797
|
+
|
|
798
|
+
Adds fixed width class for Font Awesome icons - fa-fw
|
|
799
|
+
|
|
800
|
+
boolean
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
| \- | \- |
|
|
805
|
+
| flip |
|
|
806
|
+
|
|
807
|
+
Flip the icon horizontally, vertically or both axes.
|
|
808
|
+
|
|
809
|
+
union
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
| \- |
|
|
814
|
+
|
|
815
|
+
horizontalverticalboth
|
|
816
|
+
|
|
817
|
+
|
|
|
818
|
+
| name\* |
|
|
819
|
+
|
|
820
|
+
The name of the icon
|
|
821
|
+
|
|
822
|
+
IconName
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
| \- | \- |
|
|
827
|
+
| rotate |
|
|
828
|
+
|
|
829
|
+
Amount of degrees to rotate the icon.
|
|
830
|
+
|
|
831
|
+
union
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
| \- |
|
|
836
|
+
|
|
837
|
+
90180270
|
|
838
|
+
|
|
839
|
+
|
|
|
840
|
+
| screenreaderText |
|
|
841
|
+
|
|
842
|
+
Adds screen reader text if the icon needs to be visible to screen reader users
|
|
843
|
+
|
|
844
|
+
string
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
| \- | Set string |
|
|
849
|
+
| set |
|
|
850
|
+
|
|
851
|
+
The icon set to be used:
|
|
852
|
+
|
|
853
|
+
* `fal`: Font Awesome Light
|
|
854
|
+
* `fab`: Font Awesome Brand
|
|
855
|
+
|
|
856
|
+
union
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
|
861
|
+
|
|
862
|
+
'fal'
|
|
863
|
+
|
|
864
|
+
|
|
|
865
|
+
|
|
866
|
+
falfab
|
|
867
|
+
|
|
868
|
+
|
|
|
869
|
+
| spin |
|
|
870
|
+
|
|
871
|
+
Accepts a numeric value for speed for one rotation.
|
|
872
|
+
|
|
873
|
+
union
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
| \- |
|
|
878
|
+
|
|
879
|
+
123half
|
|
880
|
+
|
|
881
|
+
|
|
|
882
|
+
| textStyle |
|
|
883
|
+
|
|
884
|
+
string
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
| \- | typography.heading.1 |
|
|
889
|
+
|
|
890
|
+
Examples
|
|
891
|
+
--------
|
|
892
|
+
|
|
893
|
+
### External link
|
|
894
|
+
|
|
895
|
+
Icons now inherit the size of the parent component. This means you can use them inside buttons, links and other components without needing to set a size.
|
|
896
|
+
|
|
897
|
+
[](./iframe.html?id=components-icon--external-link)
|
|
898
|
+
|
|
899
|
+
[Go to this link](https://www.iress.com/)
|
|
900
|
+
|
|
901
|
+
```
|
|
902
|
+
|
|
903
|
+
<IressText\>
|
|
904
|
+
<a
|
|
905
|
+
href\="https://www.iress.com/"
|
|
906
|
+
rel\="noreferrer"
|
|
907
|
+
target\="\_blank"
|
|
908
|
+
\>
|
|
909
|
+
Go to this link <IressIcon
|
|
910
|
+
name\="external-link"
|
|
911
|
+
pl\="spacing.150"
|
|
912
|
+
/>
|
|
913
|
+
</a\>
|
|
914
|
+
</IressText\>
|
|
915
|
+
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
#### Props
|
|
919
|
+
|
|
920
|
+
| Name | Description | Default | Control |
|
|
921
|
+
| --- | --- | --- | --- |
|
|
922
|
+
| fixedWidth |
|
|
923
|
+
Adds fixed width class for Font Awesome icons - fa-fw
|
|
924
|
+
|
|
925
|
+
boolean
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
| \- | Set boolean |
|
|
930
|
+
| flip |
|
|
931
|
+
|
|
932
|
+
Flip the icon horizontally, vertically or both axes.
|
|
933
|
+
|
|
934
|
+
union
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
| \- |
|
|
939
|
+
|
|
940
|
+
horizontalverticalboth
|
|
941
|
+
|
|
942
|
+
|
|
|
943
|
+
| name\* |
|
|
944
|
+
|
|
945
|
+
The name of the icon
|
|
946
|
+
|
|
947
|
+
IconName
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
| \- |
|
|
952
|
+
|
|
953
|
+
"external-link"
|
|
954
|
+
|
|
955
|
+
|
|
|
956
|
+
| pl |
|
|
957
|
+
|
|
958
|
+
string
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
| \- | spacing.150 |
|
|
963
|
+
| rotate |
|
|
964
|
+
|
|
965
|
+
Amount of degrees to rotate the icon.
|
|
966
|
+
|
|
967
|
+
union
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
| \- |
|
|
972
|
+
|
|
973
|
+
90180270
|
|
974
|
+
|
|
975
|
+
|
|
|
976
|
+
| screenreaderText |
|
|
977
|
+
|
|
978
|
+
Adds screen reader text if the icon needs to be visible to screen reader users
|
|
979
|
+
|
|
980
|
+
string
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
| \- | Set string |
|
|
985
|
+
| set |
|
|
986
|
+
|
|
987
|
+
The icon set to be used:
|
|
988
|
+
|
|
989
|
+
* `fal`: Font Awesome Light
|
|
990
|
+
* `fab`: Font Awesome Brand
|
|
991
|
+
|
|
992
|
+
union
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
|
997
|
+
|
|
998
|
+
'fal'
|
|
999
|
+
|
|
1000
|
+
|
|
|
1001
|
+
|
|
1002
|
+
falfab
|
|
1003
|
+
|
|
1004
|
+
|
|
|
1005
|
+
| spin |
|
|
1006
|
+
|
|
1007
|
+
Accepts a numeric value for speed for one rotation.
|
|
1008
|
+
|
|
1009
|
+
union
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
| \- |
|
|
1014
|
+
|
|
1015
|
+
123half
|
|
1016
|
+
|
|
1017
|
+
|
|