Debian Codegraph @

node/@patternfly/patternfly/docs/components/OverflowMenu/examples/overflow-menu.md

raw
1 ---
2 id: Overflow menu
3 section: components
4 cssPrefix: pf-v6-c-overflow-menu
5 ---import './overflow-menu.css'
6
7 ## Introduction
8
9 The overflow menu component condenses actions inside `.pf-v6-c-overflow-menu__content` container into a single menu button wrapped in `.pf-v6-c-overflow-menu__control`.
10
11 The overflow menu relies on groups (`.pf-v6-c-overflow-menu__group`) and items (`.pf-v6-c-overflow-menu__item`), with default spacer values. Groups and items can be siblings and/or items can be nested within groups. Modifier selectors adjust spacing based on the type of group. Each modifier applies a unique CSS variable, therefore, the base spacer value for all elements can be customized and item/groups spacers can be themed individually. The default spacer value for items and groups is set to `--pf-v6-c-toolbar--spacer--base`, whose value is `--pf-v6-global--spacer--md` or 16px.
12
13 ### Simple condensed
14
15 ```html
16 <div class="pf-v6-c-overflow-menu" id="overflow-menu-simple">
17 <div class="pf-v6-c-overflow-menu__control">
18 <button
19 class="pf-v6-c-menu-toggle pf-m-plain"
20 type="button"
21 aria-expanded="false"
22 aria-label="Generic options"
23 id="overflow-menu-simple-toggle"
24 >
25 <span class="pf-v6-c-menu-toggle__icon">
26 <svg
27 class="pf-v6-svg"
28 fill="currentColor"
29 viewBox="0 0 32 32"
30 aria-hidden="true"
31 role="img"
32 width="1em"
33 height="1em"
34 >
35 <path
36 d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
37 />
38 </svg>
39 </span>
40 </button>
41 </div>
42 </div>
43
44 ```
45
46 ### Simple
47
48 ```html
49 <div class="pf-v6-c-overflow-menu" id="overflow-menu-simple-expanded">
50 <div class="pf-v6-c-overflow-menu__content">
51 <div class="pf-v6-c-overflow-menu__item">Item 1</div>
52 <div class="pf-v6-c-overflow-menu__item">Item 2</div>
53 <div class="pf-v6-c-overflow-menu__group">
54 <div class="pf-v6-c-overflow-menu__item">Item 3</div>
55 <div class="pf-v6-c-overflow-menu__item">Item 4</div>
56 <div class="pf-v6-c-overflow-menu__item">Item 5</div>
57 </div>
58 </div>
59 </div>
60
61 ```
62
63 ### Vertical
64
65 ```html isBeta
66 <div
67 class="pf-v6-c-overflow-menu pf-m-vertical"
68 id="overflow-menu-vertical-expanded"
69 >
70 <div class="pf-v6-c-overflow-menu__content">
71 <div class="pf-v6-c-overflow-menu__item">Item 1</div>
72 <div class="pf-v6-c-overflow-menu__item">Item 2</div>
73 <div class="pf-v6-c-overflow-menu__group">
74 <div class="pf-v6-c-overflow-menu__item">Item 3</div>
75 <div class="pf-v6-c-overflow-menu__item">Item 4</div>
76 <div class="pf-v6-c-overflow-menu__item">Item 5</div>
77 </div>
78 </div>
79 </div>
80
81 ```
82
83 ### Default spacing for items and groups:
84
85 | Class | CSS Variable | Computed Value |
86 | -- | -- | -- |
87 | `.pf-v6-c-overflow-menu__group` | `--pf-v6-c-overflow-menu__group--spacer` | `16px` |
88 | `.pf-v6-c-overflow-menu__item` | `--pf-v6-c-overflow-menu__item--spacer` | `16px` |
89
90 ### Overflow menu item types
91
92 | Class | Applied to | Outcome |
93 | -- | -- | -- |
94 | `.pf-v6-c-overflow-menu` | `<div>` | Initiates an overflow menu. **Required** |
95 | `.pf-v6-c-overflow-menu__content` | `<div>` | Initiates an overflow menu content section. **Required** |
96 | `.pf-v6-c-overflow-menu__control` | `<div>` | Initiates the overflow menu control. **Required** |
97 | `.pf-v6-c-overflow-menu__group` | `<div>` | Initiates an overflow menu group. |
98 | `.pf-v6-c-overflow-menu__item` | `<div>` | Initiates an overflow menu item. **Required** |
99
100 ### Group types
101
102 ```html
103 <div class="pf-v6-c-overflow-menu" id="overflow-menu-button-group-example">
104 <div class="pf-v6-c-overflow-menu__content">
105 <div class="pf-v6-c-overflow-menu__group">
106 <div class="pf-v6-c-overflow-menu__item">Item 1</div>
107 <div class="pf-v6-c-overflow-menu__item">Item 2</div>
108 <div class="pf-v6-c-overflow-menu__item">Item 3</div>
109 </div>
110 <div class="pf-v6-c-overflow-menu__group pf-m-button-group">
111 <div class="pf-v6-c-overflow-menu__item">
112 <button class="pf-v6-c-button pf-m-primary" type="button">
113 <span class="pf-v6-c-button__text">Primary</span>
114 </button>
115 </div>
116 <div class="pf-v6-c-overflow-menu__item">
117 <button class="pf-v6-c-button pf-m-secondary" type="button">
118 <span class="pf-v6-c-button__text">Secondary</span>
119 </button>
120 </div>
121 <div class="pf-v6-c-overflow-menu__item">
122 <button class="pf-v6-c-button pf-m-tertiary" type="button">
123 <span class="pf-v6-c-button__text">Tertiary</span>
124 </button>
125 </div>
126 </div>
127 <div class="pf-v6-c-overflow-menu__group pf-m-icon-button-group">
128 <div class="pf-v6-c-overflow-menu__item">
129 <button
130 class="pf-v6-c-button pf-m-plain"
131 type="button"
132 aria-label="Align left"
133 >
134 <span class="pf-v6-c-button__icon">
135 <svg
136 class="pf-v6-svg"
137 fill="currentColor"
138 viewBox="0 0 448 512"
139 aria-hidden="true"
140 role="img"
141 width="1em"
142 height="1em"
143 >
144 <path
145 d="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"
146 />
147 </svg>
148 </span>
149 </button>
150 </div>
151 <div class="pf-v6-c-overflow-menu__item">
152 <button
153 class="pf-v6-c-button pf-m-plain"
154 type="button"
155 aria-label="Align center"
156 >
157 <span class="pf-v6-c-button__icon">
158 <svg
159 class="pf-v6-svg"
160 fill="currentColor"
161 viewBox="0 0 448 512"
162 aria-hidden="true"
163 role="img"
164 width="1em"
165 height="1em"
166 >
167 <path
168 d="M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z"
169 />
170 </svg>
171 </span>
172 </button>
173 </div>
174 <div class="pf-v6-c-overflow-menu__item">
175 <button
176 class="pf-v6-c-button pf-m-plain"
177 type="button"
178 aria-label="Align right"
179 >
180 <span class="pf-v6-c-button__icon">
181 <svg
182 class="pf-v6-svg"
183 fill="currentColor"
184 viewBox="0 0 448 512"
185 aria-hidden="true"
186 role="img"
187 width="1em"
188 height="1em"
189 >
190 <path
191 d="M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z"
192 />
193 </svg>
194 </span>
195 </button>
196 </div>
197 </div>
198 </div>
199 </div>
200
201 ```
202
203 The action group consists of a primary and secondary action. Any additional actions are part of the overflow control menu.
204
205 ### Overflow menu group types
206
207 | Class | Applied to | Outcome |
208 | -- | -- | -- |
209 | `.pf-v6-c-overflow-menu__group` | `<div>` | Initiates an overflow menu component group. |
210 | `.pf-m-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--spacer)`. Child `.pf-v6-c-button` spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--space-items)`. |
211 | `.pf-m-icon-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--spacer)`. Child `.pf-v6-c-button.pf-m-button-plain` spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--space-items)`. |
212
213 ### Additional options in menu (hidden)
214
215 ```html
216 <div
217 class="pf-v6-c-overflow-menu"
218 id="overflow-menu-simple-additional-options-hidden"
219 >
220 <div class="pf-v6-c-overflow-menu__control">
221 <button
222 class="pf-v6-c-menu-toggle pf-m-plain"
223 type="button"
224 aria-expanded="false"
225 aria-label="Additional options in menu toggle"
226 id="overflow-menu-simple-additional-options-hidden-toggle"
227 >
228 <span class="pf-v6-c-menu-toggle__icon">
229 <svg
230 class="pf-v6-svg"
231 fill="currentColor"
232 viewBox="0 0 32 32"
233 aria-hidden="true"
234 role="img"
235 width="1em"
236 height="1em"
237 >
238 <path
239 d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
240 />
241 </svg>
242 </span>
243 </button>
244 </div>
245 </div>
246
247 ```
248
249 ### Additional options in menu
250
251 ```html
252 <div
253 class="pf-v6-c-overflow-menu"
254 id="overflow-menu-simple-additional-options-visible"
255 >
256 <div class="pf-v6-c-overflow-menu__content">
257 <div class="pf-v6-c-overflow-menu__group pf-m-button-group">
258 <div class="pf-v6-c-overflow-menu__item">
259 <button class="pf-v6-c-button pf-m-primary" type="button">
260 <span class="pf-v6-c-button__text">Primary</span>
261 </button>
262 </div>
263 <div class="pf-v6-c-overflow-menu__item">
264 <button class="pf-v6-c-button pf-m-secondary" type="button">
265 <span class="pf-v6-c-button__text">Secondary</span>
266 </button>
267 </div>
268 <div class="pf-v6-c-overflow-menu__item">
269 <button class="pf-v6-c-button pf-m-tertiary" type="button">
270 <span class="pf-v6-c-button__text">Tertiary</span>
271 </button>
272 </div>
273 </div>
274 <div class="pf-v6-c-overflow-menu__group pf-m-icon-button-group">
275 <div class="pf-v6-c-overflow-menu__item">
276 <button
277 class="pf-v6-c-button pf-m-plain"
278 type="button"
279 aria-label="Align left"
280 >
281 <span class="pf-v6-c-button__icon">
282 <svg
283 class="pf-v6-svg"
284 fill="currentColor"
285 viewBox="0 0 448 512"
286 aria-hidden="true"
287 role="img"
288 width="1em"
289 height="1em"
290 >
291 <path
292 d="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z"
293 />
294 </svg>
295 </span>
296 </button>
297 </div>
298 <div class="pf-v6-c-overflow-menu__item">
299 <button
300 class="pf-v6-c-button pf-m-plain"
301 type="button"
302 aria-label="Align center"
303 >
304 <span class="pf-v6-c-button__icon">
305 <svg
306 class="pf-v6-svg"
307 fill="currentColor"
308 viewBox="0 0 448 512"
309 aria-hidden="true"
310 role="img"
311 width="1em"
312 height="1em"
313 >
314 <path
315 d="M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z"
316 />
317 </svg>
318 </span>
319 </button>
320 </div>
321 <div class="pf-v6-c-overflow-menu__item">
322 <button
323 class="pf-v6-c-button pf-m-plain"
324 type="button"
325 aria-label="Align right"
326 >
327 <span class="pf-v6-c-button__icon">
328 <svg
329 class="pf-v6-svg"
330 fill="currentColor"
331 viewBox="0 0 448 512"
332 aria-hidden="true"
333 role="img"
334 width="1em"
335 height="1em"
336 >
337 <path
338 d="M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z"
339 />
340 </svg>
341 </span>
342 </button>
343 </div>
344 </div>
345 </div>
346 <div class="pf-v6-c-overflow-menu__control">
347 <button
348 class="pf-v6-c-menu-toggle pf-m-plain"
349 type="button"
350 aria-expanded="false"
351 aria-label="Additional options toggle"
352 id="overflow-menu-simple-additional-options-visible-toggle"
353 >
354 <span class="pf-v6-c-menu-toggle__icon">
355 <svg
356 class="pf-v6-svg"
357 fill="currentColor"
358 viewBox="0 0 32 32"
359 aria-hidden="true"
360 role="img"
361 width="1em"
362 height="1em"
363 >
364 <path
365 d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
366 />
367 </svg>
368 </span>
369 </button>
370 </div>
371 </div>
372
373 ```
374
375 ## Persistent configuration
376
377 ### Persistent additional options (hidden)
378
379 ```html
380 <div class="pf-v6-c-overflow-menu" id="overflow-menu-persistent-hidden">
381 <div class="pf-v6-c-overflow-menu__content">
382 <div class="pf-v6-c-overflow-menu__group pf-m-button-group">
383 <div class="pf-v6-c-overflow-menu__item">
384 <button class="pf-v6-c-button pf-m-primary" type="button">
385 <span class="pf-v6-c-button__text">Primary</span>
386 </button>
387 </div>
388 </div>
389 </div>
390 <div class="pf-v6-c-overflow-menu__control">
391 <button
392 class="pf-v6-c-menu-toggle pf-m-plain"
393 type="button"
394 aria-expanded="false"
395 aria-label="menu with additional options"
396 id="overflow-menu-persistent-hidden-toggle"
397 >
398 <span class="pf-v6-c-menu-toggle__icon">
399 <svg
400 class="pf-v6-svg"
401 fill="currentColor"
402 viewBox="0 0 32 32"
403 aria-hidden="true"
404 role="img"
405 width="1em"
406 height="1em"
407 >
408 <path
409 d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
410 />
411 </svg>
412 </span>
413 </button>
414 </div>
415 </div>
416
417 ```
418
419 ### Persistent additional options (visible)
420
421 ```html
422 <div
423 class="pf-v6-c-overflow-menu"
424 id="overflow-menu-persistent-visible-example"
425 >
426 <div class="pf-v6-c-overflow-menu__content">
427 <div class="pf-v6-c-overflow-menu__group pf-m-button-group">
428 <div class="pf-v6-c-overflow-menu__item">
429 <button class="pf-v6-c-button pf-m-primary" type="button">
430 <span class="pf-v6-c-button__text">Primary</span>
431 </button>
432 </div>
433 <div class="pf-v6-c-overflow-menu__item">
434 <button class="pf-v6-c-button pf-m-secondary" type="button">
435 <span class="pf-v6-c-button__text">Secondary</span>
436 </button>
437 </div>
438 <div class="pf-v6-c-overflow-menu__item">
439 <button class="pf-v6-c-button pf-m-tertiary" type="button">
440 <span class="pf-v6-c-button__text">Tertiary</span>
441 </button>
442 </div>
443 </div>
444 </div>
445 <div class="pf-v6-c-overflow-menu__control">
446 <button
447 class="pf-v6-c-menu-toggle pf-m-plain"
448 type="button"
449 aria-expanded="false"
450 aria-label="Persistent options toggle"
451 id="overflow-menu-persistent-visible-example-toggle"
452 >
453 <span class="pf-v6-c-menu-toggle__icon">
454 <svg
455 class="pf-v6-svg"
456 fill="currentColor"
457 viewBox="0 0 32 32"
458 aria-hidden="true"
459 role="img"
460 width="1em"
461 height="1em"
462 >
463 <path
464 d="M12.25 5c0-2.068 1.683-3.75 3.75-3.75S19.75 2.932 19.75 5 18.067 8.75 16 8.75 12.25 7.068 12.25 5ZM16 12.25c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Zm0 11c-2.067 0-3.75 1.682-3.75 3.75s1.683 3.75 3.75 3.75 3.75-1.682 3.75-3.75-1.683-3.75-3.75-3.75Z"
465 />
466 </svg>
467 </span>
468 </button>
469 </div>
470 </div>
471
472 ```
473
474 ### Usage
475
476 | Class | Applied to | Outcome |
477 | -- | -- | -- |
478 | `.pf-v6-c-overflow-menu` | `<div>` | Initiates an overflow menu. **Required** |
479 | `.pf-v6-c-overflow-menu__content` | `<div>` | Initiates an overflow menu content section. **Required** |
480 | `.pf-v6-c-overflow-menu__control` | `<div>` | Initiates the overflow menu control. **Required** |
481 | `.pf-v6-c-overflow-menu__group` | `<div>` | Initiates an overflow menu group. |
482 | `.pf-v6-c-overflow-menu__item` | `<div>` | Initiates an overflow menu item. **Required** |
483 | `.pf-m-vertical` | `.pf-v6-c-overflow-menu` | Modifies the flex direction to "column", for vertically aligned overflow menus. |
484 | `.pf-m-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--spacer)`. Child spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-button-group--space-items)`. |
485 | `.pf-m-icon-button-group` | `.pf-v6-c-overflow-menu__group` | Modifies overflow menu group spacing. Spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--spacer)`. Child spacer value is set to `var(--pf-v6-c-overflow-menu__group--m-icon-button-group--space-items)`. |