@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,574 @@
1
+ ---
2
+ component: fd-bar
3
+ title: Components/Bar
4
+ category: Components
5
+ selector: fd-bar
6
+ cssFile: bar.css
7
+ sourcePath: packages/styles/stories/Components/bar/bar.stories.js
8
+ tags: []
9
+ dependencies: ["avatar","bar","button","icon","input","segmented-button","title"]
10
+ relatedComponents: ["avatar","bar","button","icon","input","segmented-button","title"]
11
+ stability: stable
12
+ generatedAt: 2026-06-09T18:29:01.313Z
13
+ ---
14
+
15
+ # Components/Bar
16
+
17
+ The Bar is a container primarily used for displaying titles, buttons, and input controls. It serves as the foundational design and functionality for page headers, footers, dialogs, and popovers that require a header and/or footer. A header can consist of just a title or a title with a navigation button (back or home) at the front. A subheader can also be included in the header design. Footers can be either fixed or floating. The buttons in the footer are intended for finalizing actions, following a primary-to-tertiary hierarchy, and should be positioned in the right area. <br><br>
18
+
19
+ **The bar component has two modes:**
20
+
21
+ - Compact (default, desktop)
22
+ - Cozy (tablet and mobile)
23
+
24
+ ## Usage
25
+ ### Header
26
+ **Use the header bar if:**
27
+
28
+ - Your page contains several controls, and the actions are valid for the entire page.
29
+
30
+ **Do not use the header bar if:**
31
+
32
+ - You have closing or finalizing actions for the whole page. In this case, use a footer instead.
33
+
34
+ ### Footer
35
+ **Use the footer bar if:**
36
+
37
+ - You have closing or finalizing actions on your page that apply to the whole page.
38
+
39
+ **Do not use the footer bar if:**
40
+
41
+ - You have different containers on your page (such as charts, tables, and forms) and the action influences only certain items. In this case, place the action as close to the corresponding item(s) as possible.
42
+ - You have global actions (such as *Edit* or *Delete*) that are not finalizing or closing actions. In this case, use a header instead.
43
+
44
+
45
+ ### Buttons
46
+ - Use only icon buttons **or** text buttons. Icon and text should not be combined into one button.
47
+ - Buttons are sorted by usage i.e. from frequently-used to seldomly-used.
48
+
49
+ ## Paddings
50
+
51
+ Modifier classes are available to adjust the paddings of the bar when it is being used in the \
52
+
53
+ ## When Not To Use
54
+
55
+ - You have closing or finalizing actions for the whole page. In this case, use a footer instead.
56
+
57
+ ## Dependencies
58
+
59
+ This component depends on the following CSS files:
60
+
61
+ - `avatar.css`
62
+ - `bar.css`
63
+ - `button.css`
64
+ - `icon.css`
65
+ - `input.css`
66
+ - `segmented-button.css`
67
+ - `title.css`
68
+
69
+ ## Installation
70
+
71
+ ```bash
72
+ npm install fundamental-styles
73
+ ```
74
+
75
+ ```html
76
+ <!-- Include theme -->
77
+ <link href="node_modules/fundamental-styles/dist/theming/sap_horizon.css" rel="stylesheet">
78
+
79
+ <!-- Include component CSS -->
80
+ <link href="node_modules/fundamental-styles/dist/bar.css" rel="stylesheet">
81
+
82
+ <!-- Include dependencies -->
83
+ <link href="node_modules/fundamental-styles/dist/avatar.css" rel="stylesheet">
84
+ <link href="node_modules/fundamental-styles/dist/bar.css" rel="stylesheet">
85
+ <link href="node_modules/fundamental-styles/dist/button.css" rel="stylesheet">
86
+ <link href="node_modules/fundamental-styles/dist/icon.css" rel="stylesheet">
87
+ <link href="node_modules/fundamental-styles/dist/input.css" rel="stylesheet">
88
+ <link href="node_modules/fundamental-styles/dist/segmented-button.css" rel="stylesheet">
89
+ <link href="node_modules/fundamental-styles/dist/title.css" rel="stylesheet">
90
+ ```
91
+
92
+ ## Basic Usage
93
+
94
+ ```html
95
+ <div class="fd-bar" role="toolbar" aria-label="Bar">
96
+ <div class="fd-bar__left">
97
+ <div class="fd-bar__element">
98
+ <h5 class="fd-title fd-title--h5" aria-label="text">TEXT</h5>
99
+ </div>
100
+ </div>
101
+ <div class="fd-bar__middle">
102
+ <div class="fd-bar__element">
103
+ <div class="fd-segmented-button" role="group" aria-label="Group label">
104
+ <button aria-label="button" class="fd-button fd-button--toggled" aria-pressed="true">
105
+ <i class="sap-icon--email"></i>
106
+ </button>
107
+ <button aria-label="button" class="fd-button" aria-pressed="false">
108
+ <i class="sap-icon--iphone"></i>
109
+ </button>
110
+ <button aria-label="button" class="fd-button" aria-pressed="false">
111
+ <i class="sap-icon--notification-2"></i>
112
+ </button>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ <div class="fd-bar__right">
117
+ <div class="fd-bar__element">
118
+ <span
119
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
120
+
121
+ role="img" aria-label="John Doe"></span>
122
+ </div>
123
+ <div class="fd-bar__element">
124
+ <button aria-label="button" class="fd-button fd-button--transparent">
125
+ <i class="sap-icon--grid"></i>
126
+ </button>
127
+ </div>
128
+ </div>
129
+ </div>
130
+
131
+ <div class="fd-bar" role="toolbar" aria-label="Bar">
132
+ <div class="fd-bar__left">
133
+ <div class="fd-bar__element">
134
+ <button aria-label="button" class="fd-button fd-button--transparent">
135
+ <i class="sap-icon--navigation-left-arrow"></i>
136
+ </button>
137
+ </div>
138
+ <div class="fd-bar__element">
139
+ <button aria-label="button" class="fd-button fd-button--transparent">
140
+ <i class="sap-icon--home"></i>
141
+ </button>
142
+ </div>
143
+ <div class="fd-bar__element">
144
+ <button aria-label="button" class="fd-button fd-button--transparent">
145
+ <i class="sap-icon--account"></i>
146
+ </button>
147
+ </div>
148
+ </div>
149
+ <div class="fd-bar__middle">
150
+ <div class="fd-bar__element">
151
+ <div class="fd-segmented-button" role="group" aria-label="Group label">
152
+ <button aria-label="button" class="fd-button fd-button--toggled" aria-pressed="true">
153
+ <i class="sap-icon--email"></i>
154
+ </button>
155
+ <button aria-label="button" class="fd-button" aria-pressed="false">
156
+ <i class="sap-icon--iphone"></i>
157
+ </button>
158
+ <button aria-label="button" class="fd-button" aria-pressed="false">
159
+ <i class="sap-icon--notification-2"></i>
160
+ </button>
161
+ </div>
162
+ </div>
163
+ </div>
164
+ <div class="fd-bar__right">
165
+ <div class="fd-bar__element">
166
+ <span
167
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
168
+
169
+ role="img" aria-label="John Doe"></span>
170
+ </div>
171
+ <div class="fd-bar__element">
172
+ <button aria-label="button" class="fd-button fd-button--transparent">
173
+ <i class="sap-icon--grid"></i>
174
+ </button>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ ```
179
+
180
+ ## Modifiers
181
+
182
+ | Class | Description |
183
+ |-------|-------------|
184
+ | `fd-bar--floating-footer` | Style variant |
185
+ | `fd-bar--footer` | Style variant |
186
+ | `fd-bar--header` | Style variant |
187
+ | `fd-bar--header-with-subheader` | Style variant |
188
+ | `fd-bar--home-page-xl` | Style variant |
189
+ | `fd-bar--responsive-paddings` | Style variant |
190
+ | `fd-bar--subheader` | Style variant |
191
+
192
+ ## BEM Elements
193
+
194
+ This component uses the following BEM elements:
195
+
196
+ - `fd-bar__element`
197
+ - `fd-bar__element--full-width`
198
+ - `fd-bar__left`
199
+ - `fd-bar__middle`
200
+ - `fd-bar__right`
201
+
202
+ ## Related Components
203
+
204
+ This component works with or depends on:
205
+
206
+ - `avatar`
207
+ - `bar`
208
+ - `button`
209
+ - `icon`
210
+ - `input`
211
+ - `segmented-button`
212
+ - `title`
213
+
214
+ ## Design Tokens
215
+
216
+ Key CSS variables used by this component:
217
+
218
+ - `--fdBar_Background`
219
+ - `--fdBar_Border_Radius`
220
+ - `--fdBar_Element_Text_Color`
221
+ - `--fdBar_Element_Text_Font_Family`
222
+ - `--fdBar_Element_Text_Font_Size`
223
+ - `--fdBar_Floating_Footer_Offset_X`
224
+ - `--fdBar_Floating_Footer_Offset_Y`
225
+ - `--fdBar_Height`
226
+ - `--fdBar_Padding_Bottom`
227
+ - `--fdBar_Padding_Top`
228
+ - `--fdBar_Padding_X`
229
+ - `--fdBar_Shadow`
230
+ - `--fdBar_Z_Index`
231
+ - `--floating-footer`
232
+ - `--footer`
233
+
234
+ *...and 5 more*
235
+
236
+ ## Examples
237
+
238
+ ### Default
239
+
240
+ ```html
241
+ <div class="fd-bar" role="toolbar" aria-label="Bar">
242
+ <div class="fd-bar__left">
243
+ <div class="fd-bar__element">
244
+ <h5 class="fd-title fd-title--h5" aria-label="text">TEXT</h5>
245
+ </div>
246
+ </div>
247
+ <div class="fd-bar__middle">
248
+ <div class="fd-bar__element">
249
+ <div class="fd-segmented-button" role="group" aria-label="Group label">
250
+ <button aria-label="button" class="fd-button fd-button--toggled" aria-pressed="true">
251
+ <i class="sap-icon--email"></i>
252
+ </button>
253
+ <button aria-label="button" class="fd-button" aria-pressed="false">
254
+ <i class="sap-icon--iphone"></i>
255
+ </button>
256
+ <button aria-label="button" class="fd-button" aria-pressed="false">
257
+ <i class="sap-icon--notification-2"></i>
258
+ </button>
259
+ </div>
260
+ </div>
261
+ </div>
262
+ <div class="fd-bar__right">
263
+ <div class="fd-bar__element">
264
+ <span
265
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
266
+
267
+ role="img" aria-label="John Doe"></span>
268
+ </div>
269
+ <div class="fd-bar__element">
270
+ <button aria-label="button" class="fd-button fd-button--transparent">
271
+ <i class="sap-icon--grid"></i>
272
+ </button>
273
+ </div>
274
+ </div>
275
+ </div>
276
+
277
+ <div class="fd-bar" role="toolbar" aria-label="Bar">
278
+ <div class="fd-bar__left">
279
+ <div class="fd-bar__element">
280
+ <button aria-label="button" class="fd-button fd-button--transparent">
281
+ <i class="sap-icon--navigation-left-arrow"></i>
282
+ </button>
283
+ </div>
284
+ <div class="fd-bar__element">
285
+ <button aria-label="button" class="fd-button fd-button--transparent">
286
+ <i class="sap-icon--home"></i>
287
+ </button>
288
+ </div>
289
+ <div class="fd-bar__element">
290
+ <button aria-label="button" class="fd-button fd-button--transparent">
291
+ <i class="sap-icon--account"></i>
292
+ </button>
293
+ </div>
294
+ </div>
295
+ <div class="fd-bar__middle">
296
+ <div class="fd-bar__element">
297
+ <div class="fd-segmented-button" role="group" aria-label="Group label">
298
+ <button aria-label="button" class="fd-button fd-button--toggled" aria-pressed="true">
299
+ <i class="sap-icon--email"></i>
300
+ </button>
301
+ <button aria-label="button" class="fd-button" aria-pressed="false">
302
+ <i class="sap-icon--iphone"></i>
303
+ </button>
304
+ <button aria-label="button" class="fd-button" aria-pressed="false">
305
+ <i class="sap-icon--notification-2"></i>
306
+ </button>
307
+ </div>
308
+ </div>
309
+ </div>
310
+ <div class="fd-bar__right">
311
+ <div class="fd-bar__element">
312
+ <span
313
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
314
+
315
+ role="img" aria-label="John Doe"></span>
316
+ </div>
317
+ <div class="fd-bar__element">
318
+ <button aria-label="button" class="fd-button fd-button--transparent">
319
+ <i class="sap-icon--grid"></i>
320
+ </button>
321
+ </div>
322
+ </div>
323
+ </div>
324
+ ```
325
+
326
+ ### Responsive
327
+
328
+ ```html
329
+ <div class="fd-bar fd-bar--responsive-paddings" role="toolbar" aria-label="Responsive Bar">
330
+ <div class="fd-bar__left">
331
+ <div class="fd-bar__element">
332
+ <button aria-label="button" class="fd-button fd-button--transparent">
333
+ <i class="sap-icon--navigation-left-arrow"></i>
334
+ </button>
335
+ </div>
336
+ <div class="fd-bar__element">
337
+ <button aria-label="button" class="fd-button fd-button--transparent">
338
+ <i class="sap-icon--home"></i>
339
+ </button>
340
+ </div>
341
+ <div class="fd-bar__element">
342
+ <button aria-label="button" class="fd-button fd-button--transparent">
343
+ <i class="sap-icon--account"></i>
344
+ </button>
345
+ </div>
346
+ </div>
347
+ <div class="fd-bar__middle">
348
+ <div class="fd-bar__element">
349
+ <div class="fd-segmented-button" role="group" aria-label="Group label">
350
+ <button aria-label="button" class="fd-button fd-button--toggled" aria-pressed="true">
351
+ <i class="sap-icon--email"></i>
352
+ </button>
353
+ <button aria-label="button" class="fd-button" aria-pressed="false">
354
+ <i class="sap-icon--iphone"></i>
355
+ </button>
356
+ <button aria-label="button" class="fd-button" aria-pressed="false">
357
+ <i class="sap-icon--notification-2"></i>
358
+ </button>
359
+ </div>
360
+ </div>
361
+ </div>
362
+ <div class="fd-bar__right">
363
+ <div class="fd-bar__element">
364
+ <span
365
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
366
+
367
+ role="img" aria-label="John Doe"></span>
368
+ </div>
369
+ <div class="fd-bar__element">
370
+ <button aria-label="button" class="fd-button fd-button--transparent">
371
+ <i class="sap-icon--grid"></i>
372
+ </button>
373
+ </div>
374
+ </div>
375
+ </div>
376
+ ```
377
+
378
+ ### Header
379
+
380
+ ```html
381
+ <div class="fd-bar fd-bar--header" role="toolbar" aria-label="Header">
382
+ <div class="fd-bar__left">
383
+ <div class="fd-bar__element">
384
+ <button aria-label="button" class="fd-button fd-button--transparent">
385
+ <i class="sap-icon--navigation-left-arrow"></i>
386
+ </button>
387
+ </div>
388
+ <div class="fd-bar__element">
389
+ <button aria-label="button" class="fd-button fd-button--transparent">
390
+ <i class="sap-icon--home"></i>
391
+ </button>
392
+ </div>
393
+ <div class="fd-bar__element">
394
+ Header Text
395
+ </div>
396
+ </div>
397
+ <div class="fd-bar__middle">
398
+ <div class="fd-bar__element">
399
+ <div class="fd-segmented-button" role="group" aria-label="Group label">
400
+ <button aria-label="button" class="fd-button fd-button--toggled" aria-pressed="true">
401
+ <i class="sap-icon--email"></i>
402
+ </button>
403
+ <button aria-label="button" class="fd-button" aria-pressed="false">
404
+ <i class="sap-icon--iphone"></i>
405
+ </button>
406
+ <button aria-label="button" class="fd-button" aria-pressed="false">
407
+ <i class="sap-icon--notification-2"></i>
408
+ </button>
409
+ </div>
410
+ </div>
411
+ </div>
412
+ <div class="fd-bar__right">
413
+ <div class="fd-bar__element">
414
+ <span
415
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
416
+
417
+ role="img" aria-label="John Doe"></span>
418
+ </div>
419
+ <div class="fd-bar__element">
420
+ <button aria-label="button" class="fd-button fd-button--transparent">
421
+ <i class="sap-icon--grid"></i>
422
+ </button>
423
+ </div>
424
+ </div>
425
+ </div>
426
+ ```
427
+
428
+ ### Subheader
429
+
430
+ ```html
431
+ <div class="fd-bar fd-bar--subheader" role="toolbar" aria-label="Subheader">
432
+ <div class="fd-bar__left">
433
+ <div class="fd-bar__element">
434
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">
435
+ <i class="sap-icon--navigation-left-arrow"></i>
436
+ </button>
437
+ </div>
438
+ <div class="fd-bar__element">
439
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">
440
+ <i class="sap-icon--home"></i>
441
+ </button>
442
+ </div>
443
+ </div>
444
+ <div class="fd-bar__right">
445
+ <div class="fd-bar__element">
446
+ <span
447
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
448
+
449
+ role="img" aria-label="John Doe"></span>
450
+ </div>
451
+ <div class="fd-bar__element">
452
+ <button aria-label="button" class="fd-button fd-button--compact fd-button--transparent">
453
+ <i class="sap-icon--grid"></i>
454
+ </button>
455
+ </div>
456
+ </div>
457
+ </div>
458
+
459
+ <div><b>Full width element</b></div>
460
+ <div class="fd-bar fd-bar--subheader" role="toolbar" aria-label="Subheader">
461
+ <div class="fd-bar__middle">
462
+ <div class="fd-bar__element fd-bar__element--full-width">
463
+ <input class="fd-input fd-input--compact fd-input-group__input" type="text" id="" name="" value="1234568910" aria-label="input">
464
+ </div>
465
+ </div>
466
+ </div>
467
+ ```
468
+
469
+ ### HeaderWithSubheader
470
+
471
+ ```html
472
+ <div class="fd-bar fd-bar--header-with-subheader" role="toolbar" aria-label="Header">
473
+ <div class="fd-bar__left">
474
+ <div class="fd-bar__element">
475
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">
476
+ <i class="sap-icon--navigation-left-arrow"></i>
477
+ </button>
478
+ </div>
479
+ <div class="fd-bar__element">
480
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">
481
+ <i class="sap-icon--home"></i>
482
+ </button>
483
+ </div>
484
+ <div class="fd-bar__element">
485
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">
486
+ <i class="sap-icon--account"></i>
487
+ </button>
488
+ </div>
489
+ </div>
490
+ <div class="fd-bar__middle">
491
+ <div class="fd-bar__element">
492
+ <div class="fd-segmented-button" role="group" aria-label="Group label">
493
+ <button aria-label="button" class="fd-button fd-button--compact fd-button--toggled" aria-pressed="true">
494
+ <i class="sap-icon--email"></i>
495
+ </button>
496
+ <button aria-label="button" class="fd-button fd-button--compact" aria-pressed="false">
497
+ <i class="sap-icon--iphone"></i>
498
+ </button>
499
+ <button aria-label="button" class="fd-button fd-button--compact" aria-pressed="false">
500
+ <i class="sap-icon--notification-2"></i>
501
+ </button>
502
+ </div>
503
+ </div>
504
+ </div>
505
+ <div class="fd-bar__right">
506
+ <div class="fd-bar__element">
507
+ <span
508
+ class="fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail"
509
+
510
+ role="img" aria-label="John Doe"></span>
511
+ </div>
512
+ <div class="fd-bar__element">
513
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">
514
+ <i class="sap-icon--grid"></i>
515
+ </button>
516
+ </div>
517
+ </div>
518
+ </div>
519
+ <div class="fd-bar fd-bar--subheader" role="toolbar" aria-label="Subheader">
520
+ <div class="fd-bar__middle">
521
+ <div class="fd-bar__element fd-bar__element--full-width">
522
+ <input class="fd-input fd-input--compact fd-input-group__input" type="text" id="" name="" value="1234568910 " aria-label="input">
523
+ </div>
524
+ </div>
525
+ </div>
526
+ ```
527
+
528
+ ### Footer
529
+
530
+ ```html
531
+ <div class="fd-bar fd-bar--footer" role="toolbar" aria-label="Footer">
532
+ <div class="fd-bar__left">
533
+ <div class="fd-bar__element">
534
+ Footer Text
535
+ </div>
536
+ </div>
537
+ <div class="fd-bar__right">
538
+ <div class="fd-bar__element">
539
+ <button aria-label="button" class="fd-button fd-button--emphasized fd-button--compact">Save</button>
540
+ </div>
541
+ <div class="fd-bar__element">
542
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">Cancel</button>
543
+ </div>
544
+ </div>
545
+ </div>
546
+ ```
547
+
548
+ ### FloatingFooter
549
+
550
+ ```html
551
+ <div class="fd-bar fd-bar--floating-footer fd-bar--home-page-xl" role="toolbar" aria-label="Floating Footer">
552
+ <div class="fd-bar__right">
553
+ <div class="fd-bar__element">
554
+ <button aria-label="button" class="fd-button fd-button--emphasized fd-button--compact">Save</button>
555
+ <div class="fd-bar__element">
556
+ <button aria-label="button" class="fd-button fd-button--transparent fd-button--compact">Cancel</button>
557
+ </div>
558
+ </div>
559
+ </div>
560
+ </div>
561
+ ```
562
+
563
+ ## Accessibility
564
+
565
+ - Use semantic HTML elements where appropriate
566
+ - Include proper ARIA attributes for interactive elements
567
+ - Ensure keyboard navigation support
568
+ - Provide adequate color contrast
569
+
570
+ ## Source
571
+
572
+ This documentation was automatically generated from: `packages/styles/stories/Components/bar/bar.stories.js`
573
+
574
+ For the latest updates and interactive examples, see [Storybook](https://sap.github.io/fundamental-styles/).