@fundamental-styles/mcp 0.41.7-rc.8 → 0.41.7

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 (215) hide show
  1. package/data/AI_USAGE.md +425 -0
  2. package/data/CHANGELOG.md +53 -3
  3. package/data/component-catalog.json +62 -209
  4. package/data/components/README.md +281 -0
  5. package/data/components/action-bar.md +443 -0
  6. package/data/components/ai-busy-indicator.md +79 -0
  7. package/data/components/ai-loading-bar.md +66 -0
  8. package/data/components/avatar-btp.md +198 -0
  9. package/data/components/avatar-group.md +2660 -0
  10. package/data/components/avatar-product-switch.md +476 -0
  11. package/data/components/avatar.md +993 -0
  12. package/data/components/bar.md +574 -0
  13. package/data/components/border-radius.md +148 -0
  14. package/data/components/border.md +412 -0
  15. package/data/components/breadcrumb.md +546 -0
  16. package/data/components/button-2.md +440 -0
  17. package/data/components/button-action-sheet.md +292 -0
  18. package/data/components/button-ai.md +730 -0
  19. package/data/components/button-btp.md +223 -0
  20. package/data/components/button-button.md +233 -0
  21. package/data/components/button-counter.md +176 -0
  22. package/data/components/button-patterns.md +731 -0
  23. package/data/components/button-split.md +459 -0
  24. package/data/components/button.md +469 -0
  25. package/data/components/calendar.md +5784 -0
  26. package/data/components/card-card-media.md +707 -0
  27. package/data/components/card-card.md +2426 -0
  28. package/data/components/card-layouts.md +1201 -0
  29. package/data/components/card.md +2404 -0
  30. package/data/components/carousel.md +1506 -0
  31. package/data/components/code.md +139 -0
  32. package/data/components/component-reset.md +272 -0
  33. package/data/components/components-icons-businesssuiteinappsymbol-icons.md +85 -0
  34. package/data/components/components-icons-sap-icons.md +147 -0
  35. package/data/components/components-icons-tnt-icons.md +85 -0
  36. package/data/components/container-queries.md +221 -0
  37. package/data/components/container.md +227 -0
  38. package/data/components/dialog-docs-static-busy-indicator.md +165 -0
  39. package/data/components/dialog-docs-static-dialog.md +949 -0
  40. package/data/components/dialog-docs-static-patterns.md +147 -0
  41. package/data/components/dialog-docs-static-settings.md +528 -0
  42. package/data/components/dialog-docs-static.md +982 -0
  43. package/data/components/dialog.md +606 -0
  44. package/data/components/dynamic-page-dynamic-page.md +1914 -0
  45. package/data/components/dynamic-page.md +973 -0
  46. package/data/components/dynamic-side.md +197 -0
  47. package/data/components/elevation.md +110 -0
  48. package/data/components/feed-input.md +346 -0
  49. package/data/components/feed-list.md +580 -0
  50. package/data/components/fieldset-2.md +292 -0
  51. package/data/components/fieldset-forms.md +169 -0
  52. package/data/components/fieldset.md +381 -0
  53. package/data/components/flexible-column-layout.md +205 -0
  54. package/data/components/form-group.md +287 -0
  55. package/data/components/form-header.md +71 -0
  56. package/data/components/form-item-2.md +98 -0
  57. package/data/components/form-item-3.md +134 -0
  58. package/data/components/form-item-4.md +556 -0
  59. package/data/components/form-item-5.md +182 -0
  60. package/data/components/form-item-6.md +539 -0
  61. package/data/components/form-item-7.md +239 -0
  62. package/data/components/form-item-ai.md +158 -0
  63. package/data/components/form-item-file-uploader.md +445 -0
  64. package/data/components/form-item-forms.md +234 -0
  65. package/data/components/form-item-patterns.md +426 -0
  66. package/data/components/form-item.md +464 -0
  67. package/data/components/form-label-ai.md +126 -0
  68. package/data/components/form-label-layouts.md +306 -0
  69. package/data/components/form-label-patterns.md +1175 -0
  70. package/data/components/form-label-status-indicator.md +1083 -0
  71. package/data/components/form-label-step-input.md +620 -0
  72. package/data/components/form-label.md +2876 -0
  73. package/data/components/generic-tag.md +747 -0
  74. package/data/components/grid-list-grid-list.md +1185 -0
  75. package/data/components/grid-list.md +1449 -0
  76. package/data/components/heading.md +66 -0
  77. package/data/components/horizontal-navigation.md +568 -0
  78. package/data/components/icon-tab-bar-dev.md +190 -0
  79. package/data/components/icon-tab-bar.md +2620 -0
  80. package/data/components/icon.md +171 -0
  81. package/data/components/iconBusinessSuite.md +92 -0
  82. package/data/components/iconTnt.md +92 -0
  83. package/data/components/illustrated-message.md +439 -0
  84. package/data/components/info-label.md +348 -0
  85. package/data/components/input-group.md +2068 -0
  86. package/data/components/label.md +66 -0
  87. package/data/components/layout-grid.md +447 -0
  88. package/data/components/layout-panel.md +261 -0
  89. package/data/components/layouts-layout-grid.md +608 -0
  90. package/data/components/layouts-paddings.md +133 -0
  91. package/data/components/layouts-section.md +287 -0
  92. package/data/components/list-2.md +148 -0
  93. package/data/components/list-3.md +735 -0
  94. package/data/components/list-list.md +790 -0
  95. package/data/components/list-object-list.md +1225 -0
  96. package/data/components/list.md +1286 -0
  97. package/data/components/media-queries.md +168 -0
  98. package/data/components/menu.md +946 -0
  99. package/data/components/message-box-docs-static-ai.md +149 -0
  100. package/data/components/message-box-docs-static.md +527 -0
  101. package/data/components/message-page-upload-collection.md +678 -0
  102. package/data/components/message-page.md +256 -0
  103. package/data/components/message-strip.md +977 -0
  104. package/data/components/message-toast.md +119 -0
  105. package/data/components/micro-process-flow.md +991 -0
  106. package/data/components/navigation-menu.md +366 -0
  107. package/data/components/navigation-navigation.md +1245 -0
  108. package/data/components/navigation.md +2604 -0
  109. package/data/components/numeric-content.md +317 -0
  110. package/data/components/object-attribute.md +96 -0
  111. package/data/components/object-identifier.md +227 -0
  112. package/data/components/object-marker.md +202 -0
  113. package/data/components/object-number.md +327 -0
  114. package/data/components/object-status.md +1538 -0
  115. package/data/components/off-screen.md +87 -0
  116. package/data/components/overflow.md +97 -0
  117. package/data/components/padding.md +122 -0
  118. package/data/components/paddings.md +130 -0
  119. package/data/components/page.md +300 -0
  120. package/data/components/pagination.md +672 -0
  121. package/data/components/panel-layouts.md +345 -0
  122. package/data/components/panel.md +514 -0
  123. package/data/components/patterns-label.md +74 -0
  124. package/data/components/popover-2.md +906 -0
  125. package/data/components/popover-ai.md +466 -0
  126. package/data/components/popover-btp.md +886 -0
  127. package/data/components/popover-deprecated.md +308 -0
  128. package/data/components/popover-message-popover.md +683 -0
  129. package/data/components/popover-notification.md +1511 -0
  130. package/data/components/popover-patterns.md +1100 -0
  131. package/data/components/popover-popover.md +1862 -0
  132. package/data/components/popover-quick-view.md +385 -0
  133. package/data/components/popover-timepicker.md +1836 -0
  134. package/data/components/popover-user-menu.md +1303 -0
  135. package/data/components/popover.md +1938 -0
  136. package/data/components/progress-indicator.md +351 -0
  137. package/data/components/prompt-input-ai.md +226 -0
  138. package/data/components/prompt-input.md +226 -0
  139. package/data/components/rating-indicator.md +1469 -0
  140. package/data/components/resizable-card-layout.md +951 -0
  141. package/data/components/scrollbar.md +86 -0
  142. package/data/components/search-field.md +287 -0
  143. package/data/components/section.md +250 -0
  144. package/data/components/segmented-button.md +324 -0
  145. package/data/components/shellbar.md +2183 -0
  146. package/data/components/side-nav.md +1562 -0
  147. package/data/components/skeleton.md +243 -0
  148. package/data/components/slider.md +395 -0
  149. package/data/components/splitter.md +353 -0
  150. package/data/components/table.md +2749 -0
  151. package/data/components/tabs.md +658 -0
  152. package/data/components/text-text.md +380 -0
  153. package/data/components/text.md +253 -0
  154. package/data/components/tile.md +1132 -0
  155. package/data/components/time.md +818 -0
  156. package/data/components/title.md +153 -0
  157. package/data/components/titles.md +83 -0
  158. package/data/components/token.md +311 -0
  159. package/data/components/tokenizer.md +398 -0
  160. package/data/components/tool-header.md +1352 -0
  161. package/data/components/tool-layout.md +199 -0
  162. package/data/components/toolbar-ai.md +174 -0
  163. package/data/components/toolbar-btp.md +526 -0
  164. package/data/components/toolbar-title-bar.md +473 -0
  165. package/data/components/toolbar.md +432 -0
  166. package/data/components/tree.md +1031 -0
  167. package/data/components/typography.md +435 -0
  168. package/data/components/variant-management.md +360 -0
  169. package/data/components/vertical-nav.md +589 -0
  170. package/data/components/wizard.md +1429 -0
  171. package/data/examples/Components/dialog/device-specifications.example.html +39 -30
  172. package/data/examples/Components/shellbar/optional-items.example.html +210 -157
  173. package/data/examples/Components/shellbar/overflow-toolbar.example.html +202 -177
  174. package/data/examples/Components/shellbar/responsive-paddings.example.html +217 -146
  175. package/data/examples/Components/shellbar/responsiveness.example.html +825 -613
  176. package/data/examples/Components/user-menu/default.example.html +241 -83
  177. package/data/schemas/badge.schema.json +1 -1
  178. package/data/schemas/button-split.schema.json +1 -1
  179. package/data/schemas/component-frontmatter.schema.json +123 -0
  180. package/data/schemas/component-markdown.schema.json +81 -0
  181. package/data/schemas/counter.schema.json +1 -1
  182. package/data/schemas/dynamic-page.schema.json +1 -1
  183. package/data/schemas/dynamic-side-content.schema.json +1 -1
  184. package/data/schemas/facet.schema.json +1 -1
  185. package/data/schemas/fieldset.schema.json +1 -1
  186. package/data/schemas/flexible-column-layout.schema.json +1 -1
  187. package/data/schemas/form-group.schema.json +3 -2
  188. package/data/schemas/form-header.schema.json +1 -1
  189. package/data/schemas/form-label.schema.json +1 -0
  190. package/data/schemas/form-message.schema.json +1 -1
  191. package/data/schemas/grid-list.schema.json +1 -1
  192. package/data/schemas/input-group.schema.json +1 -1
  193. package/data/schemas/layout-panel.schema.json +1 -1
  194. package/data/schemas/page.schema.json +1 -1
  195. package/data/schemas/quick-view.schema.json +2 -1
  196. package/data/schemas/section.schema.json +1 -1
  197. package/data/schemas/side-nav.schema.json +1 -1
  198. package/data/schemas/splitter.schema.json +1 -1
  199. package/data/schemas/tabs.schema.json +1 -1
  200. package/data/schemas/tile.schema.json +1 -1
  201. package/data/schemas/tool-layout.schema.json +1 -1
  202. package/data/schemas/user-menu.schema.json +10 -0
  203. package/data/schemas/wizard.schema.json +1 -1
  204. package/package.json +1 -1
  205. package/src/data/load-catalog.d.ts +2 -0
  206. package/src/data/load-catalog.js +5 -1
  207. package/src/data/load-catalog.js.map +1 -1
  208. package/src/data/load-markdown-docs.d.ts +44 -0
  209. package/src/data/load-markdown-docs.js +179 -0
  210. package/src/data/load-markdown-docs.js.map +1 -0
  211. package/src/data/markdown-cache.d.ts +60 -0
  212. package/src/data/markdown-cache.js +218 -0
  213. package/src/data/markdown-cache.js.map +1 -0
  214. package/src/server.js +72 -1
  215. package/src/server.js.map +1 -1
@@ -0,0 +1,735 @@
1
+ ---
2
+ component: fd-list
3
+ title: Components/List/Standard
4
+ category: Components
5
+ selector: fd-list
6
+ cssFile: list.css
7
+ sourcePath: packages/styles/stories/Components/List/list/standard/standard-list.stories.js
8
+ tags: []
9
+ dependencies: []
10
+ relatedComponents: []
11
+ stability: stable
12
+ generatedAt: 2026-06-09T18:29:01.604Z
13
+ ---
14
+
15
+ # Components/List/Standard
16
+
17
+ In SAP, we distinguish between tables and lists. Both usually contain homogeneous data, but lists generally have rather basic data, while the data in tables tend to be more complex. Lists are mostly used in the master list for a master-detail scenario using the flexible column layout, as well as in **Popovers** or **Dialogs**.
18
+
19
+ ##Usage
20
+ **Use the standard list if:**
21
+
22
+ - You want to display a homogeneous set of basic data.
23
+ - You need to sort, group, or filter simple datasets.
24
+ - You need to display a single-level hierarchy rather than using a complex tree table to support this simple use case.
25
+
26
+
27
+ **Do not use the standard list if:**
28
+
29
+ - You want to manage complex datasets that need to be extensively sorted, grouped, filtered, or edited. In this case, use a **Table**.
30
+ - You work with complex hierarchies. In this case, use a **Tree**.
31
+
32
+ ## Usage Guidelines
33
+
34
+ **Use the standard list if:**
35
+
36
+ - You want to display a homogeneous set of basic data.
37
+ - You need to sort, group, or filter simple datasets.
38
+ - You need to display a single-level hierarchy rather than using a complex tree table to support this simple use case.
39
+
40
+ ## When Not To Use
41
+
42
+ - You want to manage complex datasets that need to be extensively sorted, grouped, filtered, or edited. In this case, use a **Table**.
43
+ - You work with complex hierarchies. In this case, use a **Tree**.
44
+
45
+ ## Installation
46
+
47
+ ```bash
48
+ npm install fundamental-styles
49
+ ```
50
+
51
+ ```html
52
+ <!-- Include theme -->
53
+ <link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
54
+
55
+ <!-- Include component CSS -->
56
+ <link href="node_modules/fundamental-styles/dist/list.css" rel="stylesheet">
57
+
58
+ ```
59
+
60
+ ## Basic Usage
61
+
62
+ ```html
63
+ <ul class="fd-list" role="list">
64
+ <li role="listitem" tabindex="0" class="fd-list__item">
65
+ <span class="fd-list__title">List item 1</span>
66
+ </li>
67
+ <li role="listitem" tabindex="0" class="fd-list__item">
68
+ <span class="fd-list__title">List item 2</span>
69
+ </li>
70
+ <li role="listitem" tabindex="0" class="fd-list__item">
71
+ <span class="fd-list__title">List item 3</span>
72
+ </li>
73
+ <li role="listitem" tabindex="0" class="fd-list__item">
74
+ <span class="fd-list__title">List item 4</span>
75
+ </li>
76
+ </ul>
77
+ ```
78
+
79
+ ## Modifiers
80
+
81
+ | Class | Description |
82
+ |-------|-------------|
83
+ | `fd-list--navigation` | Standard list items can contain navigation links |
84
+ | `fd-list--navigation-indication` | Style variant |
85
+ | `fd-list--no-border` | Style variant |
86
+ | `fd-list--search-results` | To be used in a popover containing sophisticated search results. |
87
+ | `fd-list--selection` | Standard list items can display checkboxes that users can select from |
88
+
89
+ ## States
90
+
91
+ | Class | Description |
92
+ |-------|-------------|
93
+ | `is-active` | Active state |
94
+ | `is-focus` | Focus state |
95
+ | `is-hover` | Hover state |
96
+ | `is-navigated` | Navigated state |
97
+ | `is-selected` | Selected state |
98
+
99
+ ## BEM Elements
100
+
101
+ This component uses the following BEM elements:
102
+
103
+ - `fd-list__button`
104
+ - `fd-list__content`
105
+ - `fd-list__footer`
106
+ - `fd-list__form-item`
107
+ - `fd-list__group-header`
108
+ - `fd-list__icon`
109
+ - `fd-list__infinite-scroll`
110
+ - `fd-list__info-label`
111
+ - `fd-list__item`
112
+ - `fd-list__item--action`
113
+ - `fd-list__item--byline`
114
+ - `fd-list__item--growing`
115
+ - `fd-list__item--inactive`
116
+ - `fd-list__item--interractive`
117
+ - `fd-list__item--link`
118
+ - `fd-list__item--suggestion`
119
+ - `fd-list__item--unread`
120
+ - `fd-list__item-counter`
121
+ - `fd-list__link`
122
+ - `fd-list__link--navigation-indicator`
123
+ - `fd-list__secondary`
124
+ - `fd-list__secondary--critical`
125
+ - `fd-list__secondary--informative`
126
+ - `fd-list__secondary--negative`
127
+ - `fd-list__secondary--positive`
128
+ - `fd-list__subline`
129
+ - `fd-list__thumbnail`
130
+ - `fd-list__title`
131
+ - `fd-list__title--scope`
132
+ - `fd-list__title-text`
133
+
134
+ ## Examples
135
+
136
+ ### Default
137
+
138
+ The default standard list displays list items in the standard size, which is ideal for mobile. To display the standard list in compact mode (for desktop), add the \
139
+
140
+ ```html
141
+ <ul class="fd-list" role="list">
142
+ <li role="listitem" tabindex="0" class="fd-list__item">
143
+ <span class="fd-list__title">List item 1</span>
144
+ </li>
145
+ <li role="listitem" tabindex="0" class="fd-list__item">
146
+ <span class="fd-list__title">List item 2</span>
147
+ </li>
148
+ <li role="listitem" tabindex="0" class="fd-list__item">
149
+ <span class="fd-list__title">List item 3</span>
150
+ </li>
151
+ <li role="listitem" tabindex="0" class="fd-list__item">
152
+ <span class="fd-list__title">List item 4</span>
153
+ </li>
154
+ </ul>
155
+ ```
156
+
157
+ ### Unread
158
+
159
+ The \
160
+
161
+ ```html
162
+ <h4>Unread Options</h4>
163
+ <ul class="fd-list" role="list">
164
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--unread">
165
+ <span class="fd-list__title">List item 1 Unread</span>
166
+ </li>
167
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--unread">
168
+ <span class="fd-list__title">List item 2 Unread</span>
169
+ </li>
170
+ <li role="listitem" tabindex="0" class="fd-list__item">
171
+ <span class="fd-list__title">List item 3 Read</span>
172
+ </li>
173
+ <li role="listitem" tabindex="0" class="fd-list__item">
174
+ <span class="fd-list__title">List item 4 Read</span>
175
+ </li>
176
+ </ul>
177
+ ```
178
+
179
+ ### Interactive
180
+
181
+ The \
182
+
183
+ ```html
184
+ <h4>Interactive Items</h4>
185
+ <ul class="fd-list" role="list">
186
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--interractive">
187
+ <span class="fd-list__title">Regular State</span>
188
+ </li>
189
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--interractive is-hover">
190
+ <span class="fd-list__title">Hover State</span>
191
+ </li>
192
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--interractive is-active">
193
+ <span class="fd-list__title">Down/Active State</span>
194
+ </li>
195
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--interractive is-selected">
196
+ <span class="fd-list__title">Selected State</span>
197
+ </li>
198
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--interractive is-hover is-selected">
199
+ <span class="fd-list__title">Hover on Selected State</span>
200
+ </li>
201
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--interractive is-focus">
202
+ <span class="fd-list__title">Focus State</span>
203
+ </li>
204
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--interractive is-focus is-selected">
205
+ <span class="fd-list__title">Focus Selected State</span>
206
+ </li>
207
+ </ul>
208
+ ```
209
+
210
+ ### Navigation
211
+
212
+ Standard list items can contain navigation links. To add navigation, add the \
213
+
214
+ ```html
215
+ <ul class="fd-list fd-list--navigation" role="list">
216
+ <li tabindex="-1" role="listitem" class="fd-list__item fd-list__item--link">
217
+ <a tabindex="0" class="fd-list__link">
218
+ <span class="fd-list__title">List item 1</span>
219
+ </a>
220
+ </li>
221
+ <li tabindex="-1" role="listitem" class="fd-list__item fd-list__item--link">
222
+ <a tabindex="0" class="fd-list__link">
223
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
224
+ <span class="fd-list__title">List item 2</span>
225
+ </a>
226
+ </li>
227
+ <li tabindex="-1" role="listitem" class="fd-list__item fd-list__item--link">
228
+ <a tabindex="0" class="fd-list__link">
229
+ <span class="fd-list__title">List item 3</span>
230
+ <i role="presentation" class="fd-list__icon sap-icon--map"></i>
231
+ </a>
232
+ </li>
233
+ </ul>
234
+ ```
235
+
236
+ ### Buttons
237
+
238
+ ```html
239
+ <ul class="fd-list" role="list">
240
+ <li tabindex="-1" role="listitem" class="fd-list__item">
241
+ <span class="fd-list__title">List item 1</span>
242
+ <button class="fd-button fd-button--transparent fd-list__button">
243
+ <i class="sap-icon--edit"></i>
244
+ </button>
245
+ </li>
246
+ <li tabindex="-1" role="listitem" class="fd-list__item">
247
+ <span class="fd-list__title">List item 1</span>
248
+ <button class="fd-button fd-button--transparent fd-list__button">
249
+ <i class="sap-icon--decline"></i>
250
+ </button>
251
+ </li>
252
+ <li tabindex="-1" role="listitem" class="fd-list__item">
253
+ <span class="fd-list__title">List item 2</span>
254
+ <button class="fd-button fd-button--transparent fd-list__button">
255
+ <i class="sap-icon--edit"></i>
256
+ </button>
257
+ <button class="fd-button fd-button--transparent fd-list__button">
258
+ <i class="sap-icon--decline"></i>
259
+ </button>
260
+ </li>
261
+ </ul>
262
+ ```
263
+
264
+ ### Navigation indicators
265
+
266
+ If only a subset of the list items is navigable you should indicate them with an arrow icon. To display navigation indicators, add the \
267
+
268
+ ```html
269
+ <ul class="fd-list fd-list--navigation fd-list--navigation-indication" role="list">
270
+ <li tabindex="-1" role="listitem" class="fd-list__item fd-list__item--link">
271
+ <a tabindex="0" class="fd-list__link fd-list__link--navigation-indicator" href="#">
272
+ <span class="fd-list__title">List item 1</span>
273
+ </a>
274
+ </li>
275
+ <li tabindex="-1" role="listitem" class="fd-list__item fd-list__item--link">
276
+ <a tabindex="0" class="fd-list__link fd-list__link--navigation-indicator is-selected" href="#">
277
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
278
+ <span class="fd-list__title">List item 2</span>
279
+ </a>
280
+ </li>
281
+ <li tabindex="0" role="listitem" class="fd-list__item">
282
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
283
+ <span class="fd-list__title">List item 3</span>
284
+ </li>
285
+ <li tabindex="0" role="listitem" class="fd-list__item">
286
+ <span class="fd-list__title">List item 4</span>
287
+ <i role="presentation" class="fd-list__icon sap-icon--map"></i>
288
+ </li>
289
+ <li tabindex="-1" role="listitem" class="fd-list__item fd-list__item--link">
290
+ <a tabindex="0" class="fd-list__link fd-list__link--navigation-indicator is-navigated" href="#">
291
+ <span class="fd-list__title">List item 5</span>
292
+ <i role="presentation" class="fd-list__icon sap-icon--map"></i>
293
+ </a>
294
+ </li>
295
+ <li tabindex="-1" role="listitem" class="fd-list__item fd-list__item--link is-selected">
296
+ <a tabindex="0" class="fd-list__link fd-list__link--navigation-indicator is-navigated" href="#">
297
+ <span class="fd-list__title">List item 5</span>
298
+ <i role="presentation" class="fd-list__icon sap-icon--map"></i>
299
+ </a>
300
+ </li>
301
+ </ul>
302
+ ```
303
+
304
+ ### Action
305
+
306
+ Standard list items can display actions that users can choose from. To display actions, add the \
307
+
308
+ ```html
309
+ <h4>Standard</h4>
310
+ <ul class="fd-list" role="list">
311
+ <li role="listitem" class="fd-list__item fd-list__item--action">
312
+ <button class="fd-list__title">Forward</button>
313
+ </li>
314
+ <li role="listitem" class="fd-list__item fd-list__item--action">
315
+ <button class="fd-list__title">Save</button>
316
+ </li>
317
+ <li role="listitem" class="fd-list__item fd-list__item--action">
318
+ <button class="fd-list__title">Action</button>
319
+ </li>
320
+ </ul>
321
+
322
+ <h4>Action List item with other list items </h4>
323
+ <ul class="fd-list" role="list">
324
+ <li role="listitem" class="fd-list__item">
325
+ <span class="fd-list__title">List Item 1</span>
326
+ </li>
327
+ <li role="listitem" class="fd-list__item">
328
+ <span class="fd-list__title">List Item 2</span>
329
+ </li>
330
+ <li role="listitem" class="fd-list__item">
331
+ <span class="fd-list__title">List Item 3</span>
332
+ </li>
333
+ <li role="listitem" class="fd-list__item fd-list__item--action">
334
+ <button class="fd-list__title">Action</button>
335
+ </li>
336
+ </ul>
337
+
338
+ <h4>Growing List Item with Busy Indicator </h4>
339
+ <ul class="fd-list" role="list">
340
+ <li role="listitem" class="fd-list__item">
341
+ <span class="fd-list__title">List Item 1</span>
342
+ </li>
343
+ <li role="listitem" class="fd-list__item">
344
+ <span class="fd-list__title">List Item 2</span>
345
+ </li>
346
+ <li role="listitem" class="fd-list__item">
347
+ <span class="fd-list__title">List Item 3</span>
348
+ </li>
349
+ <li role="listitem" class="fd-list__item fd-list__item--action fd-list__item--growing">
350
+ <button class="fd-list__title">
351
+ <span class="fd-busy-indicator--m" aria-hidden="false" aria-label="Loading">
352
+ <span class="fd-busy-indicator__circle"></span>
353
+ <span class="fd-busy-indicator__circle"></span>
354
+ <span class="fd-busy-indicator__circle"></span>
355
+ </span>
356
+ <span class="fd-list__title-text">More</span>
357
+ </button>
358
+ </li>
359
+ </ul>
360
+ ```
361
+
362
+ ### Secondary data
363
+
364
+ To display secondary data in standard list items, add a span element with \
365
+
366
+ ```html
367
+ <ul class="fd-list" role="list">
368
+ <li role="listitem" tabindex="0" class="fd-list__item">
369
+ <span class="fd-list__title">List item 1</span>
370
+ <span class="fd-list__secondary">Neutral Status</span>
371
+ </li>
372
+ <li role="listitem" tabindex="0" class="fd-list__item">
373
+ <span class="fd-list__title">List item 2</span>
374
+ <span class="fd-list__secondary fd-list__secondary--positive">Positive Status</span>
375
+ </li>
376
+ <li role="listitem" tabindex="0" class="fd-list__item">
377
+ <span class="fd-list__title">List item 3</span>
378
+ <span class="fd-list__secondary fd-list__secondary--critical">Critical Status</span>
379
+ </li>
380
+ <li role="listitem" tabindex="0" class="fd-list__item">
381
+ <span class="fd-list__title">List item 4</span>
382
+ <span class="fd-list__secondary fd-list__secondary--negative">Negative Status</span>
383
+ </li>
384
+ <li role="listitem" tabindex="0" class="fd-list__item">
385
+ <span class="fd-list__title">Wrapping Rules for Long Text lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</span>
386
+ <span class="fd-list__secondary fd-list__secondary--informative">Informative Status Wrapping Rules for Long Text lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</span>
387
+ </li>
388
+ </ul>
389
+ ```
390
+
391
+ ### ItemCounter
392
+
393
+ The item counter is vertically aligned within the list item, to the right. The maximum number of digits is 5. In case of more digits, the formatting and the transformation is left to the applications. It's recommended to avoid combining item counter to other list variations and status texts.
394
+
395
+ ```html
396
+ <ul class="fd-list" role="list">
397
+ <li role="listitem" tabindex="0" class="fd-list__item">
398
+ <span class="fd-list__title">List item 1</span>
399
+ <span class="fd-list__item-counter">12345</span>
400
+ </li>
401
+ <li role="listitem" tabindex="0" class="fd-list__item">
402
+ <span class="fd-list__title">List item 2</span>
403
+ <span class="fd-list__item-counter">12345</span>
404
+ </li>
405
+ <li role="listitem" tabindex="0" class="fd-list__item">
406
+ <i role="presentation" class="fd-list__icon sap-icon--lightbulb"></i>
407
+ <span class="fd-list__title">List item 3</span>
408
+ <span class="fd-list__item-counter">12345</span>
409
+ </li>
410
+ <li role="listitem" tabindex="0" class="fd-list__item">
411
+ <i role="presentation" class="fd-list__icon sap-icon--cart"></i>
412
+ <span class="fd-list__title">List item 4</span>
413
+ <span class="fd-list__item-counter">12345</span>
414
+ </li>
415
+ </ul>
416
+ ```
417
+
418
+ ### Icon
419
+
420
+ To display an icon inside standard list items, add the \
421
+
422
+ ```html
423
+ <ul class="fd-list" role="list">
424
+ <li role="listitem" tabindex="0" class="fd-list__item">
425
+ <i role="presentation" class="fd-list__icon sap-icon--cart"></i>
426
+ <span class="fd-list__title">List item 1</span>
427
+ </li>
428
+ <li role="listitem" tabindex="0" class="fd-list__item">
429
+ <i role="presentation" class="fd-list__icon sap-icon--wrench"></i>
430
+ <span class="fd-list__title">List item 2</span>
431
+ </li>
432
+ <li role="listitem" tabindex="0" class="fd-list__item">
433
+ <span class="fd-list__title">List item 3</span>
434
+ <i role="presentation" class="fd-list__icon sap-icon--lightbulb"></i>
435
+ </li>
436
+ <li role="listitem" tabindex="0" class="fd-list__item">
437
+ <span class="fd-list__title">List item 4</span>
438
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
439
+ </li>
440
+ </ul>
441
+ ```
442
+
443
+ ### Group
444
+
445
+ Standard list items can be displayed with headers, separating the items into groups. To add group headers, add the \
446
+
447
+ ```html
448
+ <ul class="fd-list" role="list">
449
+ <li role="listitem" class="fd-list__group-header">
450
+ <span class="fd-list__title">Group header 1</span>
451
+ </li>
452
+ <li role="listitem" tabindex="0" class="fd-list__item">
453
+ <span class="fd-list__title">List item 1</span>
454
+ </li>
455
+ <li role="listitem" tabindex="0" class="fd-list__item">
456
+ <span class="fd-list__title">List item 2</span>
457
+ </li>
458
+ <li role="listitem" tabindex="0" class="fd-list__item">
459
+ <span class="fd-list__title">List item 3</span>
460
+ </li>
461
+ <li role="listitem" class="fd-list__group-header">
462
+ <span class="fd-list__title">Group header 2</span>
463
+ </li>
464
+ <li role="listitem" tabindex="0" class="fd-list__item">
465
+ <span class="fd-list__title">List item 4</span>
466
+ </li>
467
+ <li role="listitem" tabindex="0" class="fd-list__item">
468
+ <span class="fd-list__title">List item 5</span>
469
+ </li>
470
+ <li role="listitem" tabindex="0" class="fd-list__item">
471
+ <span class="fd-list__title">List item 6</span>
472
+ </li>
473
+ </ul>
474
+ ```
475
+
476
+ ### Footer
477
+
478
+ The standard list can display a footer by adding a span element with an \
479
+
480
+ ```html
481
+ <ul class="fd-list" role="list">
482
+ <li role="listitem" tabindex="0" class="fd-list__item">
483
+ <span class="fd-list__title">List item 1</span>
484
+ </li>
485
+ <li role="listitem" tabindex="0" class="fd-list__item">
486
+ <span class="fd-list__title">List item 2</span>
487
+ </li>
488
+ <li role="listitem" tabindex="0" class="fd-list__item">
489
+ <span class="fd-list__title">List item 3</span>
490
+ </li>
491
+ <li role="listitem" tabindex="0" class="fd-list__item">
492
+ <span class="fd-list__title">List item 4</span>
493
+ </li>
494
+ </ul>
495
+ <span class="fd-list__footer">
496
+ Footer text
497
+ </span>
498
+ ```
499
+
500
+ ### Borderless
501
+
502
+ To display a borderless standard list, add the \
503
+
504
+ ```html
505
+ <ul class="fd-list fd-list--no-border" role="list">
506
+ <li role="listitem" tabindex="0" class="fd-list__item">
507
+ <span class="fd-list__title">List item 1</span>
508
+ </li>
509
+ <li role="listitem" tabindex="0" class="fd-list__item">
510
+ <span class="fd-list__title">List item 2</span>
511
+ </li>
512
+ <li role="listitem" tabindex="0" class="fd-list__item">
513
+ <span class="fd-list__title">List item 3</span>
514
+ </li>
515
+ <li role="listitem" tabindex="0" class="fd-list__item">
516
+ <span class="fd-list__title">List item 4</span>
517
+ </li>
518
+ </ul>
519
+ ```
520
+
521
+ ### Selection
522
+
523
+ Standard list items can display checkboxes that users can select from. To display standard list items with selection, add the \
524
+
525
+ ```html
526
+ <ul class="fd-list fd-list--selection" role="listbox" aria-labelledby="XezW11">
527
+ <li role="option" tabindex="0" class="fd-list__item">
528
+ <div class="fd-form-item fd-list__form-item">
529
+ <input type="checkbox" class="fd-checkbox" id="Ai4ez1" aria-labelledby="Az0bg1">
530
+ <label tabindex="-1" class="fd-checkbox__label" for="Ai4ez1">
531
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
532
+ </label>
533
+ </div>
534
+ <span class="fd-list__title" id="Az0bg1">List item 1</span>
535
+ </li>
536
+ <li role="option" tabindex="0" class="fd-list__item is-selected" aria-selected="true">
537
+ <div class="fd-form-item fd-list__form-item">
538
+ <input type="checkbox" class="fd-checkbox" id="Ai4ez2" checked aria-labelledby="Az0bg2">
539
+ <label tabindex="-1" class="fd-checkbox__label" for="Ai4ez2">
540
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
541
+ </label>
542
+ </div>
543
+ <span class="fd-list__title" id="Az0bg2">List item 2</span>
544
+ </li>
545
+ <li role="option" tabindex="0" class="fd-list__item">
546
+ <div class="fd-form-item fd-list__form-item">
547
+ <input type="checkbox" class="fd-checkbox" id="Ai4ez3" aria-labelledby="Az0bg3">
548
+ <label tabindex="-1" class="fd-checkbox__label" for="Ai4ez3">
549
+ <span class="fd-checkbox__checkmark" aria-hidden="true"></span>
550
+ </label>
551
+ </div>
552
+ <span class="fd-list__title" id="Az0bg3">List item 3</span>
553
+ </li>
554
+ </ul>
555
+ ```
556
+
557
+ ### Inactive
558
+
559
+ Some list item can be made inactive, to make it non-clickable.
560
+
561
+ ```html
562
+ <ul class="fd-list fd-list--navigation" role="list">
563
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--link fd-list__item--inactive">
564
+ <a tabindex="0" class="fd-list__link">
565
+ <span class="fd-list__title">List item 1 - Inactive</span>
566
+ </a>
567
+ </li>
568
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--link">
569
+ <a tabindex="0" class="fd-list__link">
570
+ <span class="fd-list__title">List item 2</span>
571
+ </a>
572
+ </li>
573
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--link">
574
+ <a tabindex="0" class="fd-list__link">
575
+ <span class="fd-list__title">List item 3</span>
576
+ </a>
577
+ </li>
578
+ <li role="listitem" tabindex="0" class="fd-list__item fd-list__item--link">
579
+ <a tabindex="0" class="fd-list__link">
580
+ <span class="fd-list__title">List item 4</span>
581
+ </a>
582
+ </li>
583
+ </ul>
584
+ ```
585
+
586
+ ### Infinite scroll
587
+
588
+ If height for list is fixed and there are more list otem to show, then we should be able to scroll to next list items.
589
+
590
+ ```html
591
+ <ul class="fd-list fd-list__infinite-scroll fddocs-list-height" role="list">
592
+ <li role="listitem" tabindex="0" class="fd-list__item">
593
+ <span class="fd-list__title">List item 1</span>
594
+ </li>
595
+ <li role="listitem" tabindex="0" class="fd-list__item">
596
+ <span class="fd-list__title">List item 2</span>
597
+ </li>
598
+ <li role="listitem" tabindex="0" class="fd-list__item">
599
+ <span class="fd-list__title">List item 3</span>
600
+ </li>
601
+ <li role="listitem" tabindex="0" class="fd-list__item">
602
+ <span class="fd-list__title">List item 4</span>
603
+ </li>
604
+ <li role="listitem" tabindex="0" class="fd-list__item">
605
+ <span class="fd-list__title">List item 5</span>
606
+ </li>
607
+ <li role="listitem" tabindex="0" class="fd-list__item">
608
+ <span class="fd-list__title">List item 6</span>
609
+ </li>
610
+ <li role="listitem" tabindex="0" class="fd-list__item">
611
+ <span class="fd-list__title">List item 7</span>
612
+ </li>
613
+ <li role="listitem" tabindex="0" class="fd-list__item">
614
+ <span class="fd-list__title">List item 8</span>
615
+ </li>
616
+ <li role="listitem" tabindex="0" class="fd-list__item">
617
+ <span class="fd-list__title">List item 9</span>
618
+ </li>
619
+ <li role="listitem" tabindex="0" class="fd-list__item">
620
+ <span class="fd-list__title">List item 10</span>
621
+ </li>
622
+ <li role="listitem" tabindex="0" class="fd-list__item">
623
+ <span class="fd-list__title">List item 11</span>
624
+ </li>
625
+ <li role="listitem" tabindex="0" class="fd-list__item">
626
+ <span class="fd-list__title">List item 12</span>
627
+ </li>
628
+ </ul>
629
+ ```
630
+
631
+ ### SearchResults
632
+
633
+ To be used in a popover containing sophisticated search results.
634
+
635
+ ```html
636
+ <div class="fd-popover__body fd-popover__body--no-arrow" role="dialog" aria-modal="false" aria-label="Suggestions">
637
+ <div class="fd-popover__body-header">
638
+ <div class="fd-bar fd-bar--header-with-subheader fd-bar--initial-suggestion-title">
639
+ <div class="fd-bar__left">
640
+ <span class="fd-title fd-title--h6 fd-title--two-line-clamp">Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! Try this! </span>
641
+ </div>
642
+ <div class="fd-bar fd-bar--subheader fd-bar--initial-suggestion-subline">
643
+ <div class="fd-bar__left">
644
+ <span class="fd-text fd-text--subline">Search for example "All my open Objects" Search for example "All my open Objects" Search for example "All my open Objects" Search for example "All my open Objects" Search for example "All my open Objects" Search for example "All my open Objects" Search for example "All my open Objects"</span>
645
+ </div>
646
+ </div>
647
+ </div>
648
+ <div role="listbox" aria-label="Nine results are available in two groups.">
649
+ <ul class="fd-list fd-list--navigation fd-list--search-results" role="group" aria-label="Recently Entered Elements / Top Rated">
650
+ <li role="option" id="search-result-option-1" tabindex="0" aria-selected="true" aria-label="Viewed Element - Selected" class="fd-list__item is-selected fd-list__item--interractive fd-list__item--suggestion">
651
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
652
+ <span class="fd-list__title">Viewed Element</span>
653
+ </li>
654
+ <li role="option" id="search-result-option-2" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
655
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
656
+ <span class="fd-list__title">Viewed Element - To Be Deleted</span>
657
+ <button class="fd-button fd-button--transparent fd-list__button" aria-label="Refresh" title="Refresh">
658
+ <i class="sap-icon--refresh"></i>
659
+ </button>
660
+ <button class="fd-button fd-button--transparent fd-list__button" aria-label="Delete" title="Remove Suggestion">
661
+ <i class="sap-icon--decline"></i>
662
+ </button>
663
+ </li>
664
+ <li role="option" id="search-result-option-3" aria-label="Prefix + Viewed Element" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
665
+ <span class="fd-list__thumbnail">
666
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
667
+ </span>
668
+ <span class="fd-list__info-label fd-info-label fd-info-label--accent-color-10">
669
+ <span class="fd-info-label__sr-only">Prefix Info Label</span>
670
+ <span class="fd-info-label__text">Prefix: </span>
671
+ </span>
672
+ <span class="fd-list__title">Viewed Element</span>
673
+ </li>
674
+ <li role="option" id="search-result-option-4" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
675
+ <i role="presentation" class="fd-list__icon sap-icon--search"></i>
676
+ <span class="fd-list__title">Search Term</span>
677
+ </li>
678
+ <li role="option" id="search-result-option-5" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
679
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
680
+ <span class="fd-list__title">Viewed Element</span>
681
+ </li>
682
+ </ul>
683
+ <ul class="fd-list fd-list--navigation fd-list--search-results" role="group">
684
+ <li role="heading" aria-roledescription="Group Header" tabindex="0" class="fd-list__group-header" aria-owns="search-result-option-6 search-result-option-7 search-result-option-8 search-result-option-9">
685
+ <span class="fd-list__title">Group header</span>
686
+ </li>
687
+ <li role="option" id="search-result-option-6" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--byline">
688
+ <span class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail" role="img" aria-label="Avatar John Doe"></span>
689
+ <div class="fd-list__content">
690
+ <div class="fd-list__title">List Item List Item List Item List Item List Item List Item List Item List Item List Item List Item List Item List Item List Item List Item List Item List Item </div>
691
+ <div class="fd-list__subline">Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline Byline </div>
692
+ </div>
693
+ <button class="fd-button fd-button--transparent fd-list__button" aria-label="Delete" title="Remove Suggestion">
694
+ <i class="sap-icon--decline"></i>
695
+ </button>
696
+ </li>
697
+ <li role="option" id="search-result-option-7" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
698
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
699
+ <span class="fd-list__title">Viewed Element</span>
700
+ </li>
701
+ <li role="option" id="search-result-option-8" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
702
+ <i role="presentation" class="fd-list__icon sap-icon--history"></i>
703
+ <span class="fd-list__title">View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element View Element </span>
704
+ </li>
705
+ <li role="option" id="search-result-option-9" tabindex="0" class="fd-list__item fd-list__item--interractive fd-list__item--suggestion">
706
+ <span class="fd-list__title fd-list__title--scope">Search in [Scope]</span>
707
+ <span class="fd-list__item-counter" role="tooltip" aria-label="Total Results 12345">12345</span>
708
+ </li>
709
+ </ul>
710
+ </div>
711
+ <div class="fd-popover__body-footer">
712
+ <div class="fd-bar fd-bar--footer">
713
+ <div class="fd-bar__middle">
714
+ <div class="fd-bar__element">
715
+ <button class="fd-button fd-button--transparent fd-button--full-width">Show All Search Results</button>
716
+ </div>
717
+ </div>
718
+ </div>
719
+ </div>
720
+ </div>
721
+ </div>
722
+ ```
723
+
724
+ ## Accessibility
725
+
726
+ - Use semantic HTML elements where appropriate
727
+ - Include proper ARIA attributes for interactive elements
728
+ - Ensure keyboard navigation support
729
+ - Provide adequate color contrast
730
+
731
+ ## Source
732
+
733
+ This documentation was automatically generated from: `packages/styles/stories/Components/List/list/standard/standard-list.stories.js`
734
+
735
+ For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).