Debian Codegraph @

node/@patternfly/patternfly/docs/components/Toolbar/examples/Toolbar.md

raw
1 ---
2 id: Toolbar
3 section: components
4 cssPrefix: pf-v6-c-toolbar
5 ---import './Toolbar.css'
6
7 <!-- TODO: add documentation for resize observer/responsive variable usage -->
8
9 Toolbar relies on groups (`.pf-v6-c-toolbar__group`) and items (`.pf-v6-c-toolbar__item`), with default col/row gap 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. The default `column-gap` value for items and groups is set to `--pf-v6-c--ColumnGap`, whose value is `--pf-t--global--spacer--md` or 16px. The default `row-gap` value for items and groups is set to `--pf-v6-c--RowGap`, whose value is `--pf-t--global--spacer--sm` or 8px.
10
11 ### Default spacing for items and groups:
12
13 | Class | CSS Variable | Computed Value |
14 | -- | -- | -- |
15 | `.pf-v6-c-toolbar__group` | `--pf-v6-c-toolbar__group--ColumnGap` | `16px` |
16 | `.pf-v6-c-toolbar__item` | `--pf-v6-c-toolbar__item--ColumnGap` | `16px` |
17 | `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]{-on-[breakpoint]}` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar group or item spacing at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
18 | `.pf-m-gap-[none/sm/md/lg/xl/2xl]{-on-[breakpoint]}` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies both column gap and row gap for toolbar group or item spacing at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
19
20 ### Toolbar item types
21
22 | Class | Applied to | Outcome |
23 | -- | -- | -- |
24 | `.pf-m-pagination` | `.pf-v6-c-toolbar__item` | Initiates pagination and margin. |
25
26 ### Modifiers
27
28 | Class | Applied to | Outcome |
29 | -- | -- | -- |
30 | `.pf-m-[hidden/visible]` | `.pf-v6-c-toolbar > *` | Modifies toolbar element to be hidden/visible. |
31 | `.pf-m-[hidden/visible]{-on-[breakpoint]}` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar elements to be hidden/visible on an option breakpoint. |
32 | `.pf-m-[hidden/visible]{-on-[breakpoint]}-height` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar elements to be hidden/visible on an option height breakpoint. Primarily for use with vertical toolbars. |
33 | `.pf-m-flex-grow` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element to `flex-grow: 1`, allowing it to consume available main-axis space. |
34 | `.pf-m-align-[start/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar [main axis](https://developer.mozilla.org/en-US/docs/Glossary/Main_Axis) element alignment. |
35 | `.pf-m-align-items-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) child alignment. |
36 | `.pf-m-align-self-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) self alignment. |
37
38 ### Special notes
39
40 Several components in the following examples do not include functional and/or accessibility specifications (for example `.pf-v6-c-select`, `.pf-v6-c-options-menu`). Rather, `.pf-v6-c-toolbar` focuses on functionality and accessibility specifications that apply to it only.
41
42 **Available [breakpoints](/foundations-and-styles/design-tokens/all-design-tokens) are: `-on-sm`, `-on-md`, `-on-lg`, `-on-xl`, and `-on-2xl`.**
43
44 ## Examples
45
46 ### Simple
47
48 ```html
49 <div class="pf-v6-c-toolbar" id="toolbar-simple-example">
50 <div class="pf-v6-c-toolbar__content">
51 <div class="pf-v6-c-toolbar__content-section">
52 <div class="pf-v6-c-toolbar__item">Item</div>
53 <div class="pf-v6-c-toolbar__item">Item</div>
54 <div class="pf-v6-c-toolbar__item">Item</div>
55 <hr class="pf-v6-c-divider pf-m-vertical" />
56
57 <div class="pf-v6-c-toolbar__group">
58 <div class="pf-v6-c-toolbar__item">Item</div>
59 <div class="pf-v6-c-toolbar__item">Item</div>
60 <div class="pf-v6-c-toolbar__item">Item</div>
61 </div>
62
63 <hr class="pf-v6-c-divider pf-m-vertical" />
64 <div class="pf-v6-c-toolbar__item">Item</div>
65 <div class="pf-v6-c-toolbar__item">Item</div>
66 <div class="pf-v6-c-toolbar__item">Item</div>
67 </div>
68 </div>
69 </div>
70
71 ```
72
73 ### Item types
74
75 | Class | Applied to | Outcome |
76 | -- | -- | -- |
77 | `.pf-v6-c-toolbar__item` | `<div>` | Initiates the toolbar component item. **Required** |
78 | `.pf-v6-c-toolbar__group` | `<div>` | Initiates the toolbar component group. |
79
80 ### No padding
81
82 ```html
83 <div class="pf-v6-c-toolbar pf-m-no-padding" id="toolbar-simple-example">
84 <div class="pf-v6-c-toolbar__content">
85 <div class="pf-v6-c-toolbar__content-section">
86 <div class="pf-v6-c-toolbar__item">Item</div>
87 <div class="pf-v6-c-toolbar__item">Item</div>
88 <div class="pf-v6-c-toolbar__item">Item</div>
89 <hr class="pf-v6-c-divider pf-m-vertical" />
90
91 <div class="pf-v6-c-toolbar__group">
92 <div class="pf-v6-c-toolbar__item">Item</div>
93 <div class="pf-v6-c-toolbar__item">Item</div>
94 <div class="pf-v6-c-toolbar__item">Item</div>
95 </div>
96
97 <hr class="pf-v6-c-divider pf-m-vertical" />
98 <div class="pf-v6-c-toolbar__item">Item</div>
99 <div class="pf-v6-c-toolbar__item">Item</div>
100 <div class="pf-v6-c-toolbar__item">Item</div>
101 </div>
102 </div>
103 </div>
104
105 ```
106
107 ### Adjusted group column gap
108
109 ```html
110 <div class="pf-v6-c-toolbar" id="toolbar-group-spacer-example">
111 <div class="pf-v6-c-toolbar__content">
112 <div class="pf-v6-c-toolbar__content-section">
113 <div class="pf-v6-c-toolbar__group pf-m-column-gap-lg">
114 <div class="pf-v6-c-toolbar__item">Item</div>
115 <div class="pf-v6-c-toolbar__item">Item</div>
116 </div>
117
118 <hr class="pf-v6-c-divider pf-m-vertical" />
119
120 <div
121 class="pf-v6-c-toolbar__group pf-m-column-gap-none pf-m-column-gap-sm"
122 >
123 <div class="pf-v6-c-toolbar__item">Item</div>
124 <div class="pf-v6-c-toolbar__item">Item</div>
125 </div>
126 </div>
127 </div>
128 </div>
129
130 ```
131
132 ### Insets
133
134 ```html
135 <div class="pf-v6-c-toolbar pf-m-inset-xl" id="toolbar-inset-example">
136 <div class="pf-v6-c-toolbar__content">
137 <div class="pf-v6-c-toolbar__content-section">
138 <div class="pf-v6-c-toolbar__group">
139 <div class="pf-v6-c-toolbar__item">Item</div>
140 <div class="pf-v6-c-toolbar__item">Item</div>
141 </div>
142
143 <hr class="pf-v6-c-divider pf-m-vertical" />
144 <div class="pf-v6-c-toolbar__item">Item</div>
145 <div class="pf-v6-c-toolbar__item">Item</div>
146 </div>
147 </div>
148 </div>
149
150 ```
151
152 ### Toolbar spacers and insets
153
154 | Class | Applied to | Outcome |
155 | -- | -- | -- |
156 | `.pf-m-column-gap-[none/sm/md/lg]` | `.pf-v6-c-toolbar__group` | Modifies toolbar group child spacing. |
157 | `.pf-m-inset-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar` | Modifies toolbar horizontal. |
158
159 ### Width control
160
161 ```html
162 <div class="pf-v6-c-toolbar" id="toolbar-width-control">
163 <div class="pf-v6-c-toolbar__content">
164 <div class="pf-v6-c-toolbar__content-section">
165 <div class="pf-v6-c-toolbar__group">
166 <div
167 class="pf-v6-c-toolbar__item"
168 style="--pf-v6-c-toolbar__item--Width: 80px; --pf-v6-c-toolbar__item--Width-on-xl: 10rem"
169 >Item</div>
170 <div class="pf-v6-c-toolbar__item">Item</div>
171 </div>
172
173 <hr class="pf-v6-c-divider pf-m-vertical" />
174 <div class="pf-v6-c-toolbar__item">Item</div>
175 <div class="pf-v6-c-toolbar__item">Item</div>
176 </div>
177 </div>
178 </div>
179
180 ```
181
182 ### Width control usage
183
184 | Class | Applied to | Outcome |
185 | -- | -- | -- |
186 | `--pf-v6-c-toolbar__item--Width: {width}` | `.pf-v6-c-toolbar__item` | Modifies the width value of a toolbar item at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
187 | `--pf-v6-c-toolbar__item--MinWidth: {width}` | `.pf-v6-c-toolbar__item` | Modifies the min width value of a toolbar item at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
188
189 ## Group types
190
191 ### Filter group
192
193 ```html
194 <h4 class="pf-v6-c-content--h4">Standard filters</h4>
195 <div class="pf-v6-c-toolbar" id="toolbar-group-types-standard-filter">
196 <div class="pf-v6-c-toolbar__group pf-m-filter-group">
197 <div class="pf-v6-c-toolbar__item">
198 <button
199 class="pf-v6-c-menu-toggle"
200 type="button"
201 aria-expanded="false"
202 id="toolbar-group-types-standard-filter-menu-toggle-checkbox-status"
203 >
204 <span class="pf-v6-c-menu-toggle__text">Status</span>
205 <span class="pf-v6-c-menu-toggle__controls">
206 <span class="pf-v6-c-menu-toggle__toggle-icon">
207 <svg
208 class="pf-v6-svg"
209 fill="currentColor"
210 viewBox="0 0 20 20"
211 aria-hidden="true"
212 role="img"
213 width="1em"
214 height="1em"
215 >
216 <path
217 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
218 />
219 </svg>
220 </span>
221 </span>
222 </button>
223 </div>
224 <div class="pf-v6-c-toolbar__item">
225 <button
226 class="pf-v6-c-menu-toggle"
227 type="button"
228 aria-expanded="false"
229 id="toolbar-group-types-standard-filter-menu-toggle-checkbox-risk"
230 >
231 <span class="pf-v6-c-menu-toggle__text">Risk</span>
232 <span class="pf-v6-c-menu-toggle__controls">
233 <span class="pf-v6-c-menu-toggle__toggle-icon">
234 <svg
235 class="pf-v6-svg"
236 fill="currentColor"
237 viewBox="0 0 20 20"
238 aria-hidden="true"
239 role="img"
240 width="1em"
241 height="1em"
242 >
243 <path
244 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
245 />
246 </svg>
247 </span>
248 </span>
249 </button>
250 </div>
251 </div>
252 </div>
253 <hr class="pf-v6-c-divider" />
254 <h4 class="pf-v6-c-content--h4">Input groups and filters</h4>
255 <div class="pf-v6-c-toolbar" id="toolbar-group-types-input-group-filter">
256 <div class="pf-v6-c-toolbar__group">
257 <div class="pf-v6-c-toolbar__item">
258 <div class="pf-v6-c-toolbar__item">
259 <div
260 class="pf-v6-c-input-group"
261 aria-label="search filter"
262 role="group"
263 >
264 <div class="pf-v6-c-input-group__item">
265 <button
266 class="pf-v6-c-menu-toggle"
267 type="button"
268 aria-expanded="false"
269 id="toolbar-group-types-input-group-filter-search-filter-menu"
270 >
271 <span class="pf-v6-c-menu-toggle__text">Name</span>
272 <span class="pf-v6-c-menu-toggle__controls">
273 <span class="pf-v6-c-menu-toggle__toggle-icon">
274 <svg
275 class="pf-v6-svg"
276 fill="currentColor"
277 viewBox="0 0 20 20"
278 aria-hidden="true"
279 role="img"
280 width="1em"
281 height="1em"
282 >
283 <path
284 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
285 />
286 </svg>
287 </span>
288 </span>
289 </button>
290 </div>
291 <div class="pf-v6-c-input-group__item pf-m-fill">
292 <div class="pf-v6-c-text-input-group">
293 <div class="pf-v6-c-text-input-group__main pf-m-icon">
294 <span class="pf-v6-c-text-input-group__text">
295 <span class="pf-v6-c-text-input-group__icon">
296 <i class="fas fa-fw fa-search"></i>
297 </span>
298 <input
299 class="pf-v6-c-text-input-group__text-input"
300 type="text"
301 placeholder="Find by name"
302 value
303 aria-label="Search input"
304 />
305 </span>
306 </div>
307 </div>
308 </div>
309 </div>
310 </div>
311 </div>
312 <div class="pf-v6-c-toolbar__item">
313 <button
314 class="pf-v6-c-menu-toggle"
315 type="button"
316 aria-expanded="false"
317 id="toolbar-group-types-input-group-filter-menu-toggle-checkbox-status"
318 >
319 <span class="pf-v6-c-menu-toggle__text">Status</span>
320 <span class="pf-v6-c-menu-toggle__controls">
321 <span class="pf-v6-c-menu-toggle__toggle-icon">
322 <svg
323 class="pf-v6-svg"
324 fill="currentColor"
325 viewBox="0 0 20 20"
326 aria-hidden="true"
327 role="img"
328 width="1em"
329 height="1em"
330 >
331 <path
332 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
333 />
334 </svg>
335 </span>
336 </span>
337 </button>
338 </div>
339 </div>
340 </div>
341
342 ```
343
344 ### Action group
345
346 ```html
347 <div class="pf-v6-c-toolbar" id="toolbar-group-types-action">
348 <div class="pf-v6-c-toolbar__group pf-m-action-group">
349 <div class="pf-v6-c-toolbar__item">
350 <button class="pf-v6-c-button pf-m-primary" type="button">
351 <span class="pf-v6-c-button__text">Primary</span>
352 </button>
353 </div>
354 <div class="pf-v6-c-toolbar__item">
355 <button class="pf-v6-c-button pf-m-secondary" type="button">
356 <span class="pf-v6-c-button__text">Secondary</span>
357 </button>
358 </div>
359 <div class="pf-v6-c-toolbar__item">
360 <button class="pf-v6-c-button pf-m-tertiary" type="button">
361 <span class="pf-v6-c-button__text">Tertiary</span>
362 </button>
363 </div>
364 </div>
365 </div>
366
367 ```
368
369 ### Action group plain
370
371 ```html
372 <div class="pf-v6-c-toolbar" id="toolbar-group-types-plain">
373 <div class="pf-v6-c-toolbar__group pf-m-action-group-plain">
374 <div class="pf-v6-c-toolbar__item">
375 <button
376 class="pf-v6-c-button pf-m-plain"
377 type="button"
378 aria-label="Column view"
379 >
380 <span class="pf-v6-c-button__icon">
381 <svg
382 class="pf-v6-svg"
383 fill="currentColor"
384 viewBox="0 0 512 512"
385 aria-hidden="true"
386 role="img"
387 width="1em"
388 height="1em"
389 >
390 <path
391 d="M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64V160h160v256zm224 0H288V160h160v256z"
392 />
393 </svg>
394 </span>
395 </button>
396 </div>
397 <div class="pf-v6-c-toolbar__item">
398 <button
399 class="pf-v6-c-button pf-m-plain"
400 type="button"
401 aria-label="Expand"
402 >
403 <span class="pf-v6-c-button__icon">
404 <svg
405 class="pf-v6-svg"
406 fill="currentColor"
407 viewBox="0 0 448 512"
408 aria-hidden="true"
409 role="img"
410 width="1em"
411 height="1em"
412 >
413 <path
414 d="M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"
415 />
416 </svg>
417 </span>
418 </button>
419 </div>
420 <div class="pf-v6-c-toolbar__item">
421 <button
422 class="pf-v6-c-button pf-m-plain"
423 type="button"
424 aria-label="Settings"
425 >
426 <span class="pf-v6-c-button__icon">
427 <svg
428 class="pf-v6-svg"
429 fill="currentColor"
430 viewBox="0 0 32 32"
431 aria-hidden="true"
432 role="img"
433 width="1em"
434 height="1em"
435 >
436 <path
437 d="M26.463 16.845a9.635 9.635 0 0 0-.002-1.688l3.41-1.974a.5.5 0 0 0 .235-.548 14.47 14.47 0 0 0-4.142-7.167.5.5 0 0 0-.594-.07l-3.404 1.97c-.469-.326-.96-.61-1.466-.85V2.58a.5.5 0 0 0-.356-.48 14.662 14.662 0 0 0-8.288 0 .5.5 0 0 0-.356.48v3.944c-.513.245-1.003.528-1.462.846L6.63 5.397a.5.5 0 0 0-.594.07 14.47 14.47 0 0 0-4.142 7.168.5.5 0 0 0 .236.548l3.407 1.972a9.635 9.635 0 0 0 .002 1.688l-3.41 1.974a.5.5 0 0 0-.235.548 14.47 14.47 0 0 0 4.142 7.167c.16.154.405.18.594.07l3.404-1.97c.469.326.96.61 1.466.85v3.938a.5.5 0 0 0 .356.48c1.333.398 2.728.6 4.144.6s2.81-.202 4.144-.6a.5.5 0 0 0 .356-.48v-3.944a10.449 10.449 0 0 0 1.462-.846l3.408 1.973a.5.5 0 0 0 .594-.07 14.47 14.47 0 0 0 4.142-7.168.5.5 0 0 0-.236-.548l-3.407-1.972ZM16 21c-2.757 0-5-2.243-5-5s2.243-5 5-5 5 2.243 5 5-2.243 5-5 5Z"
438 />
439 </svg>
440 </span>
441 </button>
442 </div>
443 </div>
444 </div>
445
446 ```
447
448 ### Action group inline
449
450 ```html
451 <div class="pf-v6-c-toolbar" id="toolbar-group-types-inline">
452 <div class="pf-v6-c-toolbar__group pf-m-action-group-inline">
453 <div class="pf-v6-c-toolbar__item">6 filters applied</div>
454 <div class="pf-v6-c-toolbar__item">
455 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
456 <span class="pf-v6-c-button__text">Clear all filters</span>
457 </button>
458 </div>
459 <div class="pf-v6-c-toolbar__item">
460 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
461 <span class="pf-v6-c-button__text">Save all filters</span>
462 </button>
463 </div>
464 </div>
465 </div>
466
467 ```
468
469 ### Label group
470
471 ```html
472 <div class="pf-v6-c-toolbar" id="toolbar-group-label-group">
473 <div class="pf-v6-c-toolbar__content">
474 <div class="pf-v6-c-toolbar__content-section">
475 <div class="pf-v6-c-toolbar__group pf-m-label-group">
476 <div class="pf-v6-c-toolbar__group pf-m-grow pf-m-label-group">
477 <div class="pf-v6-c-toolbar__item">
478 <div class="pf-v6-c-label-group pf-m-category">
479 <div class="pf-v6-c-label-group__main">
480 <span
481 class="pf-v6-c-label-group__label"
482 aria-hidden="true"
483 id="toolbar-group-label-group-label-group-status-label-group-label"
484 >Status</span>
485 <ul
486 class="pf-v6-c-label-group__list"
487 role="list"
488 aria-labelledby="toolbar-group-label-group-label-group-status-label-group-label"
489 >
490 <li class="pf-v6-c-label-group__list-item">
491 <span class="pf-v6-c-label pf-m-outline">
492 <span class="pf-v6-c-label__content">
493 <span class="pf-v6-c-label__content">
494 <span
495 class="pf-v6-c-label__text"
496 id="toolbar-group-label-group-label-group-statuslabel-one"
497 >Label one</span>
498 </span>
499 <span class="pf-v6-c-label__actions">
500 <button
501 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
502 type="button"
503 aria-labelledby="toolbar-group-label-group-label-group-statusremove-label-one toolbar-group-label-group-label-group-statuslabel-one"
504 aria-label="Remove"
505 id="toolbar-group-label-group-label-group-statusremove-label-one"
506 >
507 <span class="pf-v6-c-button__icon">
508 <svg
509 class="pf-v6-svg"
510 fill="currentColor"
511 viewBox="0 0 20 20"
512 aria-hidden="true"
513 role="img"
514 width="1em"
515 height="1em"
516 >
517 <path
518 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
519 />
520 </svg>
521 </span>
522 </button>
523 </span>
524 </span>
525 </span>
526 </li>
527 <li class="pf-v6-c-label-group__list-item">
528 <span class="pf-v6-c-label pf-m-outline">
529 <span class="pf-v6-c-label__content">
530 <span class="pf-v6-c-label__content">
531 <span
532 class="pf-v6-c-label__text"
533 id="toolbar-group-label-group-label-group-statuslabel-two"
534 >Label two</span>
535 </span>
536 <span class="pf-v6-c-label__actions">
537 <button
538 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
539 type="button"
540 aria-labelledby="toolbar-group-label-group-label-group-statusremove-label-two toolbar-group-label-group-label-group-statuslabel-two"
541 aria-label="Remove"
542 id="toolbar-group-label-group-label-group-statusremove-label-two"
543 >
544 <span class="pf-v6-c-button__icon">
545 <svg
546 class="pf-v6-svg"
547 fill="currentColor"
548 viewBox="0 0 20 20"
549 aria-hidden="true"
550 role="img"
551 width="1em"
552 height="1em"
553 >
554 <path
555 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
556 />
557 </svg>
558 </span>
559 </button>
560 </span>
561 </span>
562 </span>
563 </li>
564 <li class="pf-v6-c-label-group__list-item">
565 <span class="pf-v6-c-label pf-m-outline">
566 <span class="pf-v6-c-label__content">
567 <span class="pf-v6-c-label__content">
568 <span
569 class="pf-v6-c-label__text"
570 id="toolbar-group-label-group-label-group-statuslabel-three"
571 >Label three</span>
572 </span>
573 <span class="pf-v6-c-label__actions">
574 <button
575 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
576 type="button"
577 aria-labelledby="toolbar-group-label-group-label-group-statusremove-label-three toolbar-group-label-group-label-group-statuslabel-three"
578 aria-label="Remove"
579 id="toolbar-group-label-group-label-group-statusremove-label-three"
580 >
581 <span class="pf-v6-c-button__icon">
582 <svg
583 class="pf-v6-svg"
584 fill="currentColor"
585 viewBox="0 0 20 20"
586 aria-hidden="true"
587 role="img"
588 width="1em"
589 height="1em"
590 >
591 <path
592 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
593 />
594 </svg>
595 </span>
596 </button>
597 </span>
598 </span>
599 </span>
600 </li>
601 </ul>
602 </div>
603 </div>
604 </div>
605 <div class="pf-v6-c-toolbar__item">
606 <div class="pf-v6-c-label-group pf-m-category">
607 <div class="pf-v6-c-label-group__main">
608 <span
609 class="pf-v6-c-label-group__label"
610 aria-hidden="true"
611 id="toolbar-group-label-group-label-group-risk-label-group-label"
612 >Risk</span>
613 <ul
614 class="pf-v6-c-label-group__list"
615 role="list"
616 aria-labelledby="toolbar-group-label-group-label-group-risk-label-group-label"
617 >
618 <li class="pf-v6-c-label-group__list-item">
619 <span class="pf-v6-c-label pf-m-outline">
620 <span class="pf-v6-c-label__content">
621 <span class="pf-v6-c-label__content">
622 <span
623 class="pf-v6-c-label__text"
624 id="toolbar-group-label-group-label-group-risklabel-one"
625 >Label one</span>
626 </span>
627 <span class="pf-v6-c-label__actions">
628 <button
629 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
630 type="button"
631 aria-labelledby="toolbar-group-label-group-label-group-riskremove-label-one toolbar-group-label-group-label-group-risklabel-one"
632 aria-label="Remove"
633 id="toolbar-group-label-group-label-group-riskremove-label-one"
634 >
635 <span class="pf-v6-c-button__icon">
636 <svg
637 class="pf-v6-svg"
638 fill="currentColor"
639 viewBox="0 0 20 20"
640 aria-hidden="true"
641 role="img"
642 width="1em"
643 height="1em"
644 >
645 <path
646 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
647 />
648 </svg>
649 </span>
650 </button>
651 </span>
652 </span>
653 </span>
654 </li>
655 <li class="pf-v6-c-label-group__list-item">
656 <span class="pf-v6-c-label pf-m-outline">
657 <span class="pf-v6-c-label__content">
658 <span class="pf-v6-c-label__content">
659 <span
660 class="pf-v6-c-label__text"
661 id="toolbar-group-label-group-label-group-risklabel-two"
662 >Label two</span>
663 </span>
664 <span class="pf-v6-c-label__actions">
665 <button
666 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
667 type="button"
668 aria-labelledby="toolbar-group-label-group-label-group-riskremove-label-two toolbar-group-label-group-label-group-risklabel-two"
669 aria-label="Remove"
670 id="toolbar-group-label-group-label-group-riskremove-label-two"
671 >
672 <span class="pf-v6-c-button__icon">
673 <svg
674 class="pf-v6-svg"
675 fill="currentColor"
676 viewBox="0 0 20 20"
677 aria-hidden="true"
678 role="img"
679 width="1em"
680 height="1em"
681 >
682 <path
683 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
684 />
685 </svg>
686 </span>
687 </button>
688 </span>
689 </span>
690 </span>
691 </li>
692 <li class="pf-v6-c-label-group__list-item">
693 <span class="pf-v6-c-label pf-m-outline">
694 <span class="pf-v6-c-label__content">
695 <span class="pf-v6-c-label__content">
696 <span
697 class="pf-v6-c-label__text"
698 id="toolbar-group-label-group-label-group-risklabel-three"
699 >Label three</span>
700 </span>
701 <span class="pf-v6-c-label__actions">
702 <button
703 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
704 type="button"
705 aria-labelledby="toolbar-group-label-group-label-group-riskremove-label-three toolbar-group-label-group-label-group-risklabel-three"
706 aria-label="Remove"
707 id="toolbar-group-label-group-label-group-riskremove-label-three"
708 >
709 <span class="pf-v6-c-button__icon">
710 <svg
711 class="pf-v6-svg"
712 fill="currentColor"
713 viewBox="0 0 20 20"
714 aria-hidden="true"
715 role="img"
716 width="1em"
717 height="1em"
718 >
719 <path
720 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
721 />
722 </svg>
723 </span>
724 </button>
725 </span>
726 </span>
727 </span>
728 </li>
729 </ul>
730 </div>
731 </div>
732 </div>
733 </div>
734 </div>
735 </div>
736 </div>
737 </div>
738
739 ```
740
741 ### Toggle group on mobile (filters collapsed, expandable content expanded)
742
743 ```html
744 <div class="pf-v6-c-toolbar" id="toolbar-toggle-group-on-mobile">
745 <div class="pf-v6-c-toolbar__content">
746 <div class="pf-v6-c-toolbar__content-section">
747 <div class="pf-v6-c-toolbar__group pf-m-toggle-group">
748 <div class="pf-v6-c-toolbar__toggle">
749 <button
750 class="pf-v6-c-menu-toggle pf-m-expanded pf-m-plain"
751 type="button"
752 aria-expanded="true"
753 aria-label="Show filters"
754 aria-controls="toolbar-toggle-group-on-mobile-expandable-content"
755 >
756 <span class="pf-v6-c-menu-toggle__icon">
757 <svg
758 class="pf-v6-svg"
759 fill="currentColor"
760 viewBox="0 0 32 32"
761 aria-hidden="true"
762 role="img"
763 width="1em"
764 height="1em"
765 >
766 <path
767 d="M29.875 3.5V7a.876.876 0 0 1-.256.619l-9.744 9.744v10.638a.875.875 0 0 1-.599.83l-6 2a.876.876 0 0 1-.788-.12.874.874 0 0 1-.363-.71V17.363L2.381 7.619A.876.876 0 0 1 2.125 7V3.5c0-.758.617-1.375 1.375-1.375h25c.758 0 1.375.617 1.375 1.375Z"
768 />
769 </svg>
770 </span>
771 </button>
772 </div>
773 <div class="pf-v6-c-toolbar__item">
774 <div
775 class="pf-v6-c-input-group"
776 aria-label="search filter"
777 role="group"
778 >
779 <div class="pf-v6-c-input-group__item">
780 <button
781 class="pf-v6-c-menu-toggle"
782 type="button"
783 aria-expanded="false"
784 id="toolbar-toggle-group-on-mobile-search-filter-menu"
785 >
786 <span class="pf-v6-c-menu-toggle__text">Name</span>
787 <span class="pf-v6-c-menu-toggle__controls">
788 <span class="pf-v6-c-menu-toggle__toggle-icon">
789 <svg
790 class="pf-v6-svg"
791 fill="currentColor"
792 viewBox="0 0 20 20"
793 aria-hidden="true"
794 role="img"
795 width="1em"
796 height="1em"
797 >
798 <path
799 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
800 />
801 </svg>
802 </span>
803 </span>
804 </button>
805 </div>
806 <div class="pf-v6-c-input-group__item pf-m-fill">
807 <div class="pf-v6-c-text-input-group">
808 <div class="pf-v6-c-text-input-group__main pf-m-icon">
809 <span class="pf-v6-c-text-input-group__text">
810 <span class="pf-v6-c-text-input-group__icon">
811 <i class="fas fa-fw fa-search"></i>
812 </span>
813 <input
814 class="pf-v6-c-text-input-group__text-input"
815 type="text"
816 placeholder="Find by name"
817 value
818 aria-label="Search input"
819 />
820 </span>
821 </div>
822 </div>
823 </div>
824 </div>
825 </div>
826
827 <div class="pf-v6-c-toolbar__group pf-m-filter-group pf-m-toggle-group">
828 <div class="pf-v6-c-toolbar__item">
829 <button
830 class="pf-v6-c-menu-toggle"
831 type="button"
832 aria-expanded="false"
833 id="toolbar-toggle-group-on-mobile-menu-toggle-checkbox-status"
834 >
835 <span class="pf-v6-c-menu-toggle__text">Status</span>
836 <span class="pf-v6-c-menu-toggle__controls">
837 <span class="pf-v6-c-menu-toggle__toggle-icon">
838 <svg
839 class="pf-v6-svg"
840 fill="currentColor"
841 viewBox="0 0 20 20"
842 aria-hidden="true"
843 role="img"
844 width="1em"
845 height="1em"
846 >
847 <path
848 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
849 />
850 </svg>
851 </span>
852 </span>
853 </button>
854 </div>
855 <div class="pf-v6-c-toolbar__item">
856 <button
857 class="pf-v6-c-menu-toggle"
858 type="button"
859 aria-expanded="false"
860 id="toolbar-toggle-group-on-mobile-menu-toggle-checkbox-risk"
861 >
862 <span class="pf-v6-c-menu-toggle__text">Risk</span>
863 <span class="pf-v6-c-menu-toggle__controls">
864 <span class="pf-v6-c-menu-toggle__toggle-icon">
865 <svg
866 class="pf-v6-svg"
867 fill="currentColor"
868 viewBox="0 0 20 20"
869 aria-hidden="true"
870 role="img"
871 width="1em"
872 height="1em"
873 >
874 <path
875 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
876 />
877 </svg>
878 </span>
879 </span>
880 </button>
881 </div>
882 </div>
883 </div>
884 </div>
885
886 <div
887 class="pf-v6-c-toolbar__expandable-content pf-m-expanded"
888 id="toolbar-toggle-group-on-mobile-expandable-content"
889 >
890 <div class="pf-v6-c-toolbar__item">
891 <div
892 class="pf-v6-c-input-group"
893 aria-label="search filter"
894 role="group"
895 >
896 <div class="pf-v6-c-input-group__item">
897 <button
898 class="pf-v6-c-menu-toggle"
899 type="button"
900 aria-expanded="false"
901 id="toolbar-toggle-group-on-mobile-expandable-search-filter-menu"
902 >
903 <span class="pf-v6-c-menu-toggle__text">Name</span>
904 <span class="pf-v6-c-menu-toggle__controls">
905 <span class="pf-v6-c-menu-toggle__toggle-icon">
906 <svg
907 class="pf-v6-svg"
908 fill="currentColor"
909 viewBox="0 0 20 20"
910 aria-hidden="true"
911 role="img"
912 width="1em"
913 height="1em"
914 >
915 <path
916 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
917 />
918 </svg>
919 </span>
920 </span>
921 </button>
922 </div>
923 <div class="pf-v6-c-input-group__item pf-m-fill">
924 <div class="pf-v6-c-text-input-group">
925 <div class="pf-v6-c-text-input-group__main pf-m-icon">
926 <span class="pf-v6-c-text-input-group__text">
927 <span class="pf-v6-c-text-input-group__icon">
928 <i class="fas fa-fw fa-search"></i>
929 </span>
930 <input
931 class="pf-v6-c-text-input-group__text-input"
932 type="text"
933 placeholder="Find by name"
934 value
935 aria-label="Search input"
936 />
937 </span>
938 </div>
939 </div>
940 </div>
941 </div>
942 </div>
943
944 <div class="pf-v6-c-toolbar__group pf-m-filter-group">
945 <div class="pf-v6-c-toolbar__item">
946 <button
947 class="pf-v6-c-menu-toggle"
948 type="button"
949 aria-expanded="false"
950 id="toolbar-toggle-group-on-mobile-menu-toggle-checkbox-status-expandable"
951 >
952 <span class="pf-v6-c-menu-toggle__text">Status</span>
953 <span class="pf-v6-c-menu-toggle__controls">
954 <span class="pf-v6-c-menu-toggle__toggle-icon">
955 <svg
956 class="pf-v6-svg"
957 fill="currentColor"
958 viewBox="0 0 20 20"
959 aria-hidden="true"
960 role="img"
961 width="1em"
962 height="1em"
963 >
964 <path
965 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
966 />
967 </svg>
968 </span>
969 </span>
970 </button>
971 </div>
972 <div class="pf-v6-c-toolbar__item">
973 <button
974 class="pf-v6-c-menu-toggle"
975 type="button"
976 aria-expanded="false"
977 id="toolbar-toggle-group-on-mobile-menu-toggle-checkbox-risk-expandable"
978 >
979 <span class="pf-v6-c-menu-toggle__text">Risk</span>
980 <span class="pf-v6-c-menu-toggle__controls">
981 <span class="pf-v6-c-menu-toggle__toggle-icon">
982 <svg
983 class="pf-v6-svg"
984 fill="currentColor"
985 viewBox="0 0 20 20"
986 aria-hidden="true"
987 role="img"
988 width="1em"
989 height="1em"
990 >
991 <path
992 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
993 />
994 </svg>
995 </span>
996 </span>
997 </button>
998 </div>
999 </div>
1000 </div>
1001 </div>
1002 </div>
1003
1004 ```
1005
1006 ### Toggle group on desktop
1007
1008 ```html
1009 <div class="pf-v6-c-toolbar" id="toolbar-toggle-group-desktop">
1010 <div class="pf-v6-c-toolbar__content">
1011 <div class="pf-v6-c-toolbar__content-section">
1012 <div class="pf-v6-c-toolbar__group pf-m-show pf-m-toggle-group">
1013 <div class="pf-v6-c-toolbar__toggle">
1014 <button
1015 class="pf-v6-c-menu-toggle pf-m-plain"
1016 type="button"
1017 aria-expanded="false"
1018 aria-label="Show filters"
1019 aria-controls="toolbar-toggle-group-desktop-expandable-content"
1020 >
1021 <span class="pf-v6-c-menu-toggle__icon">
1022 <svg
1023 class="pf-v6-svg"
1024 fill="currentColor"
1025 viewBox="0 0 32 32"
1026 aria-hidden="true"
1027 role="img"
1028 width="1em"
1029 height="1em"
1030 >
1031 <path
1032 d="M29.875 3.5V7a.876.876 0 0 1-.256.619l-9.744 9.744v10.638a.875.875 0 0 1-.599.83l-6 2a.876.876 0 0 1-.788-.12.874.874 0 0 1-.363-.71V17.363L2.381 7.619A.876.876 0 0 1 2.125 7V3.5c0-.758.617-1.375 1.375-1.375h25c.758 0 1.375.617 1.375 1.375Z"
1033 />
1034 </svg>
1035 </span>
1036 </button>
1037 </div>
1038 <div class="pf-v6-c-toolbar__item">
1039 <div
1040 class="pf-v6-c-input-group"
1041 aria-label="search filter"
1042 role="group"
1043 >
1044 <div class="pf-v6-c-input-group__item">
1045 <button
1046 class="pf-v6-c-menu-toggle"
1047 type="button"
1048 aria-expanded="false"
1049 id="toolbar-toggle-group-desktop-search-filter-menu"
1050 >
1051 <span class="pf-v6-c-menu-toggle__text">Name</span>
1052 <span class="pf-v6-c-menu-toggle__controls">
1053 <span class="pf-v6-c-menu-toggle__toggle-icon">
1054 <svg
1055 class="pf-v6-svg"
1056 fill="currentColor"
1057 viewBox="0 0 20 20"
1058 aria-hidden="true"
1059 role="img"
1060 width="1em"
1061 height="1em"
1062 >
1063 <path
1064 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1065 />
1066 </svg>
1067 </span>
1068 </span>
1069 </button>
1070 </div>
1071 <div class="pf-v6-c-input-group__item pf-m-fill">
1072 <div class="pf-v6-c-text-input-group">
1073 <div class="pf-v6-c-text-input-group__main pf-m-icon">
1074 <span class="pf-v6-c-text-input-group__text">
1075 <span class="pf-v6-c-text-input-group__icon">
1076 <i class="fas fa-fw fa-search"></i>
1077 </span>
1078 <input
1079 class="pf-v6-c-text-input-group__text-input"
1080 type="text"
1081 placeholder="Find by name"
1082 value
1083 aria-label="Search input"
1084 />
1085 </span>
1086 </div>
1087 </div>
1088 </div>
1089 </div>
1090 </div>
1091
1092 <div
1093 class="pf-v6-c-toolbar__group pf-m-show pf-m-filter-group pf-m-toggle-group"
1094 >
1095 <div class="pf-v6-c-toolbar__item">
1096 <button
1097 class="pf-v6-c-menu-toggle"
1098 type="button"
1099 aria-expanded="false"
1100 id="toolbar-toggle-group-desktop-menu-toggle-checkbox-status"
1101 >
1102 <span class="pf-v6-c-menu-toggle__text">Status</span>
1103 <span class="pf-v6-c-menu-toggle__controls">
1104 <span class="pf-v6-c-menu-toggle__toggle-icon">
1105 <svg
1106 class="pf-v6-svg"
1107 fill="currentColor"
1108 viewBox="0 0 20 20"
1109 aria-hidden="true"
1110 role="img"
1111 width="1em"
1112 height="1em"
1113 >
1114 <path
1115 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1116 />
1117 </svg>
1118 </span>
1119 </span>
1120 </button>
1121 </div>
1122 <div class="pf-v6-c-toolbar__item">
1123 <button
1124 class="pf-v6-c-menu-toggle"
1125 type="button"
1126 aria-expanded="false"
1127 id="toolbar-toggle-group-desktop-menu-toggle-checkbox-risk"
1128 >
1129 <span class="pf-v6-c-menu-toggle__text">Risk</span>
1130 <span class="pf-v6-c-menu-toggle__controls">
1131 <span class="pf-v6-c-menu-toggle__toggle-icon">
1132 <svg
1133 class="pf-v6-svg"
1134 fill="currentColor"
1135 viewBox="0 0 20 20"
1136 aria-hidden="true"
1137 role="img"
1138 width="1em"
1139 height="1em"
1140 >
1141 <path
1142 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1143 />
1144 </svg>
1145 </span>
1146 </span>
1147 </button>
1148 </div>
1149 </div>
1150 </div>
1151 </div>
1152
1153 <div
1154 class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
1155 id="toolbar-toggle-group-desktop-expandable-content"
1156 hidden
1157 >
1158 <div class="pf-v6-c-toolbar__item">
1159 <div
1160 class="pf-v6-c-input-group"
1161 aria-label="search filter"
1162 role="group"
1163 >
1164 <div class="pf-v6-c-input-group__item">
1165 <button
1166 class="pf-v6-c-menu-toggle"
1167 type="button"
1168 aria-expanded="false"
1169 id="toolbar-toggle-group-desktop-expandable-search-filter-menu"
1170 >
1171 <span class="pf-v6-c-menu-toggle__text">Name</span>
1172 <span class="pf-v6-c-menu-toggle__controls">
1173 <span class="pf-v6-c-menu-toggle__toggle-icon">
1174 <svg
1175 class="pf-v6-svg"
1176 fill="currentColor"
1177 viewBox="0 0 20 20"
1178 aria-hidden="true"
1179 role="img"
1180 width="1em"
1181 height="1em"
1182 >
1183 <path
1184 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1185 />
1186 </svg>
1187 </span>
1188 </span>
1189 </button>
1190 </div>
1191 <div class="pf-v6-c-input-group__item pf-m-fill">
1192 <div class="pf-v6-c-text-input-group">
1193 <div class="pf-v6-c-text-input-group__main pf-m-icon">
1194 <span class="pf-v6-c-text-input-group__text">
1195 <span class="pf-v6-c-text-input-group__icon">
1196 <i class="fas fa-fw fa-search"></i>
1197 </span>
1198 <input
1199 class="pf-v6-c-text-input-group__text-input"
1200 type="text"
1201 placeholder="Find by name"
1202 value
1203 aria-label="Search input"
1204 />
1205 </span>
1206 </div>
1207 </div>
1208 </div>
1209 </div>
1210 </div>
1211
1212 <div class="pf-v6-c-toolbar__group pf-m-filter-group">
1213 <div class="pf-v6-c-toolbar__item">
1214 <button
1215 class="pf-v6-c-menu-toggle"
1216 type="button"
1217 aria-expanded="false"
1218 id="toolbar-toggle-group-desktop-menu-toggle-checkbox-status-expandable"
1219 >
1220 <span class="pf-v6-c-menu-toggle__text">Status</span>
1221 <span class="pf-v6-c-menu-toggle__controls">
1222 <span class="pf-v6-c-menu-toggle__toggle-icon">
1223 <svg
1224 class="pf-v6-svg"
1225 fill="currentColor"
1226 viewBox="0 0 20 20"
1227 aria-hidden="true"
1228 role="img"
1229 width="1em"
1230 height="1em"
1231 >
1232 <path
1233 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1234 />
1235 </svg>
1236 </span>
1237 </span>
1238 </button>
1239 </div>
1240 <div class="pf-v6-c-toolbar__item">
1241 <button
1242 class="pf-v6-c-menu-toggle"
1243 type="button"
1244 aria-expanded="false"
1245 id="toolbar-toggle-group-desktop-menu-toggle-checkbox-risk-expandable"
1246 >
1247 <span class="pf-v6-c-menu-toggle__text">Risk</span>
1248 <span class="pf-v6-c-menu-toggle__controls">
1249 <span class="pf-v6-c-menu-toggle__toggle-icon">
1250 <svg
1251 class="pf-v6-svg"
1252 fill="currentColor"
1253 viewBox="0 0 20 20"
1254 aria-hidden="true"
1255 role="img"
1256 width="1em"
1257 height="1em"
1258 >
1259 <path
1260 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1261 />
1262 </svg>
1263 </span>
1264 </span>
1265 </button>
1266 </div>
1267 </div>
1268 </div>
1269 </div>
1270 </div>
1271
1272 ```
1273
1274 ### Toolbar group types
1275
1276 | Class | Applied to | Outcome |
1277 | -- | -- | -- |
1278 | `.pf-m-filter-group` | `.pf-v6-c-toolbar__group` | Modifies toolbar group column gap. |
1279 | `.pf-m-action-group` | `.pf-v6-c-toolbar__group` | Modifies toolbar group column gap for action group. |
1280 | `.pf-m-action-group-plain` | `.pf-v6-c-toolbar__group` | Modifies toolbar group column gap for action plain group. |
1281 | `.pf-m-action-group-inline` | `.pf-v6-c-toolbar__group` | Modifies toolbar group column gap for action inline group. |
1282 | `.pf-m-toggle-group` | `.pf-v6-c-toolbar__group` | The `.pf-m-toggle-group` controls when, and at which breakpoint, filters will be hidden/shown. By default, all filters are hidden until the specified breakpoint is reached. `.pf-m-show-on-{md, lg, xl}` controls when filters are shown and when the toggle button is hidden. |
1283
1284 ### Accessibility
1285
1286 | Attribute | Applied to | Outcome |
1287 | -- | -- | -- |
1288 | `hidden` | `.pf-v6-c-toolbar__item`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__toggle`, `.pf-v6-c-toolbar__expandable-content` | Indicates that the toggle group element is hidden. **Required** |
1289 | `aria-expanded="[true/false]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Indicates that the expandable content is visible/hidden. **Required** |
1290 | `aria-controls="[id of expandable content]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Identifies the expanded content controlled by the toggle button. **Required** |
1291 | `id="[expandable-content_id]"` | `.pf-v6-c-toolbar__expandable-content` | Provides a reference for toggle button description. **Required** |
1292
1293 ### Responsive attributes
1294
1295 | Attribute | Applied to | Outcome |
1296 | -- | -- | -- |
1297 | `aria-haspopup=true` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | When expandable content appears above content (mobile viewport), `aria-haspopup=true` should be applied to indicate that focus should be trapped. **Required** |
1298
1299 ### Usage
1300
1301 | Class | Applied to | Outcome |
1302 | -- | -- | -- |
1303 | `.pf-m-[show/hide][-on-[sm/md/lg/xl/2xl]]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item`, `.pf-v6-c-toolbar__expandable-content` | Modifies toolbar element visibility. |
1304 | `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content`, `.pf-v6-c-toolbar__toggle` | Modifies the component for the expanded state. |
1305
1306 ### Selected
1307
1308 ### Selected filters on mobile (filters collapsed, selected filters summary visible)
1309
1310 ```html
1311 <div
1312 class="pf-v6-c-toolbar"
1313 id="toolbar-selected-filters-toggle-group-collapsed-example"
1314 >
1315 <div class="pf-v6-c-toolbar__content">
1316 <div class="pf-v6-c-toolbar__content-section">
1317 <div class="pf-v6-c-toolbar__item pf-m-bulk-select">
1318 <div
1319 class="pf-v6-c-menu-toggle pf-m-split-button"
1320 id="toolbar-selected-filters-toggle-group-collapsed-example-check"
1321 >
1322 <label
1323 class="pf-v6-c-check pf-m-standalone"
1324 for="toolbar-selected-filters-toggle-group-collapsed-example-check-check-input"
1325 >
1326 <input
1327 class="pf-v6-c-check__input"
1328 type="checkbox"
1329 id="toolbar-selected-filters-toggle-group-collapsed-example-check-check-input"
1330 name="toolbar-selected-filters-toggle-group-collapsed-example-check-check-input"
1331 aria-label="Standalone check"
1332 />
1333 </label>
1334 <button
1335 class="pf-v6-c-menu-toggle__button"
1336 type="button"
1337 aria-expanded="false"
1338 id="toolbar-selected-filters-toggle-group-collapsed-example-menu-toggle-toggle-button"
1339 aria-label="Menu toggle"
1340 >
1341 <span class="pf-v6-c-menu-toggle__controls">
1342 <span class="pf-v6-c-menu-toggle__toggle-icon">
1343 <svg
1344 class="pf-v6-svg"
1345 fill="currentColor"
1346 viewBox="0 0 20 20"
1347 aria-hidden="true"
1348 role="img"
1349 width="1em"
1350 height="1em"
1351 >
1352 <path
1353 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1354 />
1355 </svg>
1356 </span>
1357 </span>
1358 </button>
1359 </div>
1360 </div>
1361
1362 <div class="pf-v6-c-toolbar__group pf-m-toggle-group">
1363 <div class="pf-v6-c-toolbar__toggle">
1364 <button
1365 class="pf-v6-c-menu-toggle pf-m-plain"
1366 type="button"
1367 aria-expanded="false"
1368 aria-label="Show filters"
1369 aria-controls="toolbar-selected-filters-toggle-group-collapsed-example-expandable-content"
1370 >
1371 <span class="pf-v6-c-menu-toggle__icon">
1372 <svg
1373 class="pf-v6-svg"
1374 fill="currentColor"
1375 viewBox="0 0 32 32"
1376 aria-hidden="true"
1377 role="img"
1378 width="1em"
1379 height="1em"
1380 >
1381 <path
1382 d="M29.875 3.5V7a.876.876 0 0 1-.256.619l-9.744 9.744v10.638a.875.875 0 0 1-.599.83l-6 2a.876.876 0 0 1-.788-.12.874.874 0 0 1-.363-.71V17.363L2.381 7.619A.876.876 0 0 1 2.125 7V3.5c0-.758.617-1.375 1.375-1.375h25c.758 0 1.375.617 1.375 1.375Z"
1383 />
1384 </svg>
1385 </span>
1386 </button>
1387 </div>
1388 <div class="pf-v6-c-toolbar__item">
1389 <div
1390 class="pf-v6-c-input-group"
1391 aria-label="search filter"
1392 role="group"
1393 >
1394 <div class="pf-v6-c-input-group__item">
1395 <button
1396 class="pf-v6-c-menu-toggle"
1397 type="button"
1398 aria-expanded="false"
1399 id="toolbar-selected-filters-toggle-group-collapsed-example-search-filter-menu"
1400 >
1401 <span class="pf-v6-c-menu-toggle__text">Name</span>
1402 <span class="pf-v6-c-menu-toggle__controls">
1403 <span class="pf-v6-c-menu-toggle__toggle-icon">
1404 <svg
1405 class="pf-v6-svg"
1406 fill="currentColor"
1407 viewBox="0 0 20 20"
1408 aria-hidden="true"
1409 role="img"
1410 width="1em"
1411 height="1em"
1412 >
1413 <path
1414 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1415 />
1416 </svg>
1417 </span>
1418 </span>
1419 </button>
1420 </div>
1421 <div class="pf-v6-c-input-group__item pf-m-fill">
1422 <div class="pf-v6-c-text-input-group">
1423 <div class="pf-v6-c-text-input-group__main pf-m-icon">
1424 <span class="pf-v6-c-text-input-group__text">
1425 <span class="pf-v6-c-text-input-group__icon">
1426 <i class="fas fa-fw fa-search"></i>
1427 </span>
1428 <input
1429 class="pf-v6-c-text-input-group__text-input"
1430 type="text"
1431 placeholder="Find by name"
1432 value
1433 aria-label="Search input"
1434 />
1435 </span>
1436 </div>
1437 </div>
1438 </div>
1439 </div>
1440 </div>
1441
1442 <div class="pf-v6-c-toolbar__group pf-m-filter-group pf-m-toggle-group">
1443 <div class="pf-v6-c-toolbar__item">
1444 <button
1445 class="pf-v6-c-menu-toggle"
1446 type="button"
1447 aria-expanded="false"
1448 id="toolbar-selected-filters-toggle-group-collapsed-example-menu-toggle-checkbox-status"
1449 >
1450 <span class="pf-v6-c-menu-toggle__text">Status</span>
1451 <span class="pf-v6-c-menu-toggle__controls">
1452 <span class="pf-v6-c-menu-toggle__toggle-icon">
1453 <svg
1454 class="pf-v6-svg"
1455 fill="currentColor"
1456 viewBox="0 0 20 20"
1457 aria-hidden="true"
1458 role="img"
1459 width="1em"
1460 height="1em"
1461 >
1462 <path
1463 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1464 />
1465 </svg>
1466 </span>
1467 </span>
1468 </button>
1469 </div>
1470 <div class="pf-v6-c-toolbar__item">
1471 <button
1472 class="pf-v6-c-menu-toggle"
1473 type="button"
1474 aria-expanded="false"
1475 id="toolbar-selected-filters-toggle-group-collapsed-example-menu-toggle-checkbox-risk"
1476 >
1477 <span class="pf-v6-c-menu-toggle__text">Risk</span>
1478 <span class="pf-v6-c-menu-toggle__controls">
1479 <span class="pf-v6-c-menu-toggle__toggle-icon">
1480 <svg
1481 class="pf-v6-svg"
1482 fill="currentColor"
1483 viewBox="0 0 20 20"
1484 aria-hidden="true"
1485 role="img"
1486 width="1em"
1487 height="1em"
1488 >
1489 <path
1490 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1491 />
1492 </svg>
1493 </span>
1494 </span>
1495 </button>
1496 </div>
1497 </div>
1498 </div>
1499 </div>
1500
1501 <div
1502 class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
1503 id="toolbar-selected-filters-toggle-group-collapsed-example-expandable-content"
1504 hidden
1505 >
1506 <div class="pf-v6-c-toolbar__group pf-m-action-group-inline">
1507 <div class="pf-v6-c-toolbar__item">6 filters applied</div>
1508 <div class="pf-v6-c-toolbar__item">
1509 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
1510 <span class="pf-v6-c-button__text">Clear all filters</span>
1511 </button>
1512 </div>
1513 <div class="pf-v6-c-toolbar__item">
1514 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
1515 <span class="pf-v6-c-button__text">Save all filters</span>
1516 </button>
1517 </div>
1518 </div>
1519 </div>
1520 </div>
1521 <div class="pf-v6-c-toolbar__content">
1522 <div class="pf-v6-c-toolbar__group pf-m-action-group-inline">
1523 <div class="pf-v6-c-toolbar__item">6 filters applied</div>
1524 <div class="pf-v6-c-toolbar__item">
1525 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
1526 <span class="pf-v6-c-button__text">Clear all filters</span>
1527 </button>
1528 </div>
1529 <div class="pf-v6-c-toolbar__item">
1530 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
1531 <span class="pf-v6-c-button__text">Save all filters</span>
1532 </button>
1533 </div>
1534 </div>
1535 </div>
1536 </div>
1537
1538 ```
1539
1540 ### Selected filters on mobile (filters collapsed, expandable content expanded)
1541
1542 ```html
1543 <div
1544 class="pf-v6-c-toolbar"
1545 id="toolbar-selected-filters-toggle-group-expanded-example"
1546 >
1547 <div class="pf-v6-c-toolbar__content">
1548 <div class="pf-v6-c-toolbar__content-section">
1549 <div class="pf-v6-c-toolbar__item pf-m-bulk-select">
1550 <div
1551 class="pf-v6-c-menu-toggle pf-m-split-button"
1552 id="toolbar-selected-filters-toggle-group-expanded-example-check"
1553 >
1554 <label
1555 class="pf-v6-c-check pf-m-standalone"
1556 for="toolbar-selected-filters-toggle-group-expanded-example-check-check-input"
1557 >
1558 <input
1559 class="pf-v6-c-check__input"
1560 type="checkbox"
1561 id="toolbar-selected-filters-toggle-group-expanded-example-check-check-input"
1562 name="toolbar-selected-filters-toggle-group-expanded-example-check-check-input"
1563 aria-label="Standalone check"
1564 />
1565 </label>
1566 <button
1567 class="pf-v6-c-menu-toggle__button"
1568 type="button"
1569 aria-expanded="false"
1570 id="toolbar-selected-filters-toggle-group-expanded-example-menu-toggle-toggle-button"
1571 aria-label="Menu toggle"
1572 >
1573 <span class="pf-v6-c-menu-toggle__controls">
1574 <span class="pf-v6-c-menu-toggle__toggle-icon">
1575 <svg
1576 class="pf-v6-svg"
1577 fill="currentColor"
1578 viewBox="0 0 20 20"
1579 aria-hidden="true"
1580 role="img"
1581 width="1em"
1582 height="1em"
1583 >
1584 <path
1585 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1586 />
1587 </svg>
1588 </span>
1589 </span>
1590 </button>
1591 </div>
1592 </div>
1593
1594 <div class="pf-v6-c-toolbar__group pf-m-toggle-group">
1595 <div class="pf-v6-c-toolbar__toggle">
1596 <button
1597 class="pf-v6-c-menu-toggle pf-m-expanded pf-m-plain"
1598 type="button"
1599 aria-expanded="true"
1600 aria-label="Show filters"
1601 aria-controls="toolbar-selected-filters-toggle-group-expanded-example-expandable-content"
1602 >
1603 <span class="pf-v6-c-menu-toggle__icon">
1604 <svg
1605 class="pf-v6-svg"
1606 fill="currentColor"
1607 viewBox="0 0 32 32"
1608 aria-hidden="true"
1609 role="img"
1610 width="1em"
1611 height="1em"
1612 >
1613 <path
1614 d="M29.875 3.5V7a.876.876 0 0 1-.256.619l-9.744 9.744v10.638a.875.875 0 0 1-.599.83l-6 2a.876.876 0 0 1-.788-.12.874.874 0 0 1-.363-.71V17.363L2.381 7.619A.876.876 0 0 1 2.125 7V3.5c0-.758.617-1.375 1.375-1.375h25c.758 0 1.375.617 1.375 1.375Z"
1615 />
1616 </svg>
1617 </span>
1618 </button>
1619 </div>
1620 <div class="pf-v6-c-toolbar__item">
1621 <div
1622 class="pf-v6-c-input-group"
1623 aria-label="search filter"
1624 role="group"
1625 >
1626 <div class="pf-v6-c-input-group__item">
1627 <button
1628 class="pf-v6-c-menu-toggle"
1629 type="button"
1630 aria-expanded="false"
1631 id="toolbar-selected-filters-toggle-group-expanded-example-search-filter-menu"
1632 >
1633 <span class="pf-v6-c-menu-toggle__text">Name</span>
1634 <span class="pf-v6-c-menu-toggle__controls">
1635 <span class="pf-v6-c-menu-toggle__toggle-icon">
1636 <svg
1637 class="pf-v6-svg"
1638 fill="currentColor"
1639 viewBox="0 0 20 20"
1640 aria-hidden="true"
1641 role="img"
1642 width="1em"
1643 height="1em"
1644 >
1645 <path
1646 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1647 />
1648 </svg>
1649 </span>
1650 </span>
1651 </button>
1652 </div>
1653 <div class="pf-v6-c-input-group__item pf-m-fill">
1654 <div class="pf-v6-c-text-input-group">
1655 <div class="pf-v6-c-text-input-group__main pf-m-icon">
1656 <span class="pf-v6-c-text-input-group__text">
1657 <span class="pf-v6-c-text-input-group__icon">
1658 <i class="fas fa-fw fa-search"></i>
1659 </span>
1660 <input
1661 class="pf-v6-c-text-input-group__text-input"
1662 type="text"
1663 placeholder="Find by name"
1664 value
1665 aria-label="Search input"
1666 />
1667 </span>
1668 </div>
1669 </div>
1670 </div>
1671 </div>
1672 </div>
1673
1674 <div class="pf-v6-c-toolbar__group pf-m-filter-group pf-m-toggle-group">
1675 <div class="pf-v6-c-toolbar__item">
1676 <button
1677 class="pf-v6-c-menu-toggle"
1678 type="button"
1679 aria-expanded="false"
1680 id="toolbar-selected-filters-toggle-group-expanded-example-menu-toggle-checkbox-status"
1681 >
1682 <span class="pf-v6-c-menu-toggle__text">Status</span>
1683 <span class="pf-v6-c-menu-toggle__controls">
1684 <span class="pf-v6-c-menu-toggle__toggle-icon">
1685 <svg
1686 class="pf-v6-svg"
1687 fill="currentColor"
1688 viewBox="0 0 20 20"
1689 aria-hidden="true"
1690 role="img"
1691 width="1em"
1692 height="1em"
1693 >
1694 <path
1695 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1696 />
1697 </svg>
1698 </span>
1699 </span>
1700 </button>
1701 </div>
1702 <div class="pf-v6-c-toolbar__item">
1703 <button
1704 class="pf-v6-c-menu-toggle"
1705 type="button"
1706 aria-expanded="false"
1707 id="toolbar-selected-filters-toggle-group-expanded-example-menu-toggle-checkbox-risk"
1708 >
1709 <span class="pf-v6-c-menu-toggle__text">Risk</span>
1710 <span class="pf-v6-c-menu-toggle__controls">
1711 <span class="pf-v6-c-menu-toggle__toggle-icon">
1712 <svg
1713 class="pf-v6-svg"
1714 fill="currentColor"
1715 viewBox="0 0 20 20"
1716 aria-hidden="true"
1717 role="img"
1718 width="1em"
1719 height="1em"
1720 >
1721 <path
1722 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1723 />
1724 </svg>
1725 </span>
1726 </span>
1727 </button>
1728 </div>
1729 </div>
1730 </div>
1731 </div>
1732
1733 <div
1734 class="pf-v6-c-toolbar__expandable-content pf-m-expanded"
1735 id="toolbar-selected-filters-toggle-group-expanded-example-expandable-content"
1736 >
1737 <div class="pf-v6-c-toolbar__item">
1738 <div
1739 class="pf-v6-c-input-group"
1740 aria-label="search filter"
1741 role="group"
1742 >
1743 <div class="pf-v6-c-input-group__item">
1744 <button
1745 class="pf-v6-c-menu-toggle"
1746 type="button"
1747 aria-expanded="false"
1748 id="toolbar-selected-filters-toggle-group-expanded-example-expandable-search-filter-menu"
1749 >
1750 <span class="pf-v6-c-menu-toggle__text">Name</span>
1751 <span class="pf-v6-c-menu-toggle__controls">
1752 <span class="pf-v6-c-menu-toggle__toggle-icon">
1753 <svg
1754 class="pf-v6-svg"
1755 fill="currentColor"
1756 viewBox="0 0 20 20"
1757 aria-hidden="true"
1758 role="img"
1759 width="1em"
1760 height="1em"
1761 >
1762 <path
1763 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1764 />
1765 </svg>
1766 </span>
1767 </span>
1768 </button>
1769 </div>
1770 <div class="pf-v6-c-input-group__item pf-m-fill">
1771 <div class="pf-v6-c-text-input-group">
1772 <div class="pf-v6-c-text-input-group__main pf-m-icon">
1773 <span class="pf-v6-c-text-input-group__text">
1774 <span class="pf-v6-c-text-input-group__icon">
1775 <i class="fas fa-fw fa-search"></i>
1776 </span>
1777 <input
1778 class="pf-v6-c-text-input-group__text-input"
1779 type="text"
1780 placeholder="Find by name"
1781 value
1782 aria-label="Search input"
1783 />
1784 </span>
1785 </div>
1786 </div>
1787 </div>
1788 </div>
1789 </div>
1790
1791 <div class="pf-v6-c-toolbar__group pf-m-filter-group">
1792 <div class="pf-v6-c-toolbar__item">
1793 <button
1794 class="pf-v6-c-menu-toggle"
1795 type="button"
1796 aria-expanded="false"
1797 id="toolbar-selected-filters-toggle-group-expanded-example-menu-toggle-checkbox-status-expandable"
1798 >
1799 <span class="pf-v6-c-menu-toggle__text">Status</span>
1800 <span class="pf-v6-c-menu-toggle__controls">
1801 <span class="pf-v6-c-menu-toggle__toggle-icon">
1802 <svg
1803 class="pf-v6-svg"
1804 fill="currentColor"
1805 viewBox="0 0 20 20"
1806 aria-hidden="true"
1807 role="img"
1808 width="1em"
1809 height="1em"
1810 >
1811 <path
1812 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1813 />
1814 </svg>
1815 </span>
1816 </span>
1817 </button>
1818 </div>
1819 <div class="pf-v6-c-toolbar__item">
1820 <button
1821 class="pf-v6-c-menu-toggle"
1822 type="button"
1823 aria-expanded="false"
1824 id="toolbar-selected-filters-toggle-group-expanded-example-menu-toggle-checkbox-risk-expandable"
1825 >
1826 <span class="pf-v6-c-menu-toggle__text">Risk</span>
1827 <span class="pf-v6-c-menu-toggle__controls">
1828 <span class="pf-v6-c-menu-toggle__toggle-icon">
1829 <svg
1830 class="pf-v6-svg"
1831 fill="currentColor"
1832 viewBox="0 0 20 20"
1833 aria-hidden="true"
1834 role="img"
1835 width="1em"
1836 height="1em"
1837 >
1838 <path
1839 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
1840 />
1841 </svg>
1842 </span>
1843 </span>
1844 </button>
1845 </div>
1846 </div>
1847
1848 <div class="pf-v6-c-toolbar__group pf-m-label-group">
1849 <div class="pf-v6-c-toolbar__group pf-m-grow pf-m-label-group">
1850 <div class="pf-v6-c-toolbar__item">
1851 <div class="pf-v6-c-label-group pf-m-category">
1852 <div class="pf-v6-c-label-group__main">
1853 <span
1854 class="pf-v6-c-label-group__label"
1855 aria-hidden="true"
1856 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-status-label-group-label"
1857 >Status</span>
1858 <ul
1859 class="pf-v6-c-label-group__list"
1860 role="list"
1861 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-status-label-group-label"
1862 >
1863 <li class="pf-v6-c-label-group__list-item">
1864 <span class="pf-v6-c-label pf-m-outline">
1865 <span class="pf-v6-c-label__content">
1866 <span class="pf-v6-c-label__content">
1867 <span
1868 class="pf-v6-c-label__text"
1869 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-statuslabel-one"
1870 >Label one</span>
1871 </span>
1872 <span class="pf-v6-c-label__actions">
1873 <button
1874 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
1875 type="button"
1876 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-statusremove-label-one toolbar-selected-filters-toggle-group-expanded-example-label-group-statuslabel-one"
1877 aria-label="Remove"
1878 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-statusremove-label-one"
1879 >
1880 <span class="pf-v6-c-button__icon">
1881 <svg
1882 class="pf-v6-svg"
1883 fill="currentColor"
1884 viewBox="0 0 20 20"
1885 aria-hidden="true"
1886 role="img"
1887 width="1em"
1888 height="1em"
1889 >
1890 <path
1891 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
1892 />
1893 </svg>
1894 </span>
1895 </button>
1896 </span>
1897 </span>
1898 </span>
1899 </li>
1900 <li class="pf-v6-c-label-group__list-item">
1901 <span class="pf-v6-c-label pf-m-outline">
1902 <span class="pf-v6-c-label__content">
1903 <span class="pf-v6-c-label__content">
1904 <span
1905 class="pf-v6-c-label__text"
1906 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-statuslabel-two"
1907 >Label two</span>
1908 </span>
1909 <span class="pf-v6-c-label__actions">
1910 <button
1911 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
1912 type="button"
1913 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-statusremove-label-two toolbar-selected-filters-toggle-group-expanded-example-label-group-statuslabel-two"
1914 aria-label="Remove"
1915 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-statusremove-label-two"
1916 >
1917 <span class="pf-v6-c-button__icon">
1918 <svg
1919 class="pf-v6-svg"
1920 fill="currentColor"
1921 viewBox="0 0 20 20"
1922 aria-hidden="true"
1923 role="img"
1924 width="1em"
1925 height="1em"
1926 >
1927 <path
1928 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
1929 />
1930 </svg>
1931 </span>
1932 </button>
1933 </span>
1934 </span>
1935 </span>
1936 </li>
1937 <li class="pf-v6-c-label-group__list-item">
1938 <span class="pf-v6-c-label pf-m-outline">
1939 <span class="pf-v6-c-label__content">
1940 <span class="pf-v6-c-label__content">
1941 <span
1942 class="pf-v6-c-label__text"
1943 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-statuslabel-three"
1944 >Label three</span>
1945 </span>
1946 <span class="pf-v6-c-label__actions">
1947 <button
1948 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
1949 type="button"
1950 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-statusremove-label-three toolbar-selected-filters-toggle-group-expanded-example-label-group-statuslabel-three"
1951 aria-label="Remove"
1952 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-statusremove-label-three"
1953 >
1954 <span class="pf-v6-c-button__icon">
1955 <svg
1956 class="pf-v6-svg"
1957 fill="currentColor"
1958 viewBox="0 0 20 20"
1959 aria-hidden="true"
1960 role="img"
1961 width="1em"
1962 height="1em"
1963 >
1964 <path
1965 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
1966 />
1967 </svg>
1968 </span>
1969 </button>
1970 </span>
1971 </span>
1972 </span>
1973 </li>
1974 </ul>
1975 </div>
1976 </div>
1977 </div>
1978 <div class="pf-v6-c-toolbar__item">
1979 <div class="pf-v6-c-label-group pf-m-category">
1980 <div class="pf-v6-c-label-group__main">
1981 <span
1982 class="pf-v6-c-label-group__label"
1983 aria-hidden="true"
1984 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-risk-label-group-label"
1985 >Risk</span>
1986 <ul
1987 class="pf-v6-c-label-group__list"
1988 role="list"
1989 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-risk-label-group-label"
1990 >
1991 <li class="pf-v6-c-label-group__list-item">
1992 <span class="pf-v6-c-label pf-m-outline">
1993 <span class="pf-v6-c-label__content">
1994 <span class="pf-v6-c-label__content">
1995 <span
1996 class="pf-v6-c-label__text"
1997 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-risklabel-one"
1998 >Label one</span>
1999 </span>
2000 <span class="pf-v6-c-label__actions">
2001 <button
2002 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2003 type="button"
2004 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-riskremove-label-one toolbar-selected-filters-toggle-group-expanded-example-label-group-risklabel-one"
2005 aria-label="Remove"
2006 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-riskremove-label-one"
2007 >
2008 <span class="pf-v6-c-button__icon">
2009 <svg
2010 class="pf-v6-svg"
2011 fill="currentColor"
2012 viewBox="0 0 20 20"
2013 aria-hidden="true"
2014 role="img"
2015 width="1em"
2016 height="1em"
2017 >
2018 <path
2019 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2020 />
2021 </svg>
2022 </span>
2023 </button>
2024 </span>
2025 </span>
2026 </span>
2027 </li>
2028 <li class="pf-v6-c-label-group__list-item">
2029 <span class="pf-v6-c-label pf-m-outline">
2030 <span class="pf-v6-c-label__content">
2031 <span class="pf-v6-c-label__content">
2032 <span
2033 class="pf-v6-c-label__text"
2034 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-risklabel-two"
2035 >Label two</span>
2036 </span>
2037 <span class="pf-v6-c-label__actions">
2038 <button
2039 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2040 type="button"
2041 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-riskremove-label-two toolbar-selected-filters-toggle-group-expanded-example-label-group-risklabel-two"
2042 aria-label="Remove"
2043 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-riskremove-label-two"
2044 >
2045 <span class="pf-v6-c-button__icon">
2046 <svg
2047 class="pf-v6-svg"
2048 fill="currentColor"
2049 viewBox="0 0 20 20"
2050 aria-hidden="true"
2051 role="img"
2052 width="1em"
2053 height="1em"
2054 >
2055 <path
2056 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2057 />
2058 </svg>
2059 </span>
2060 </button>
2061 </span>
2062 </span>
2063 </span>
2064 </li>
2065 <li class="pf-v6-c-label-group__list-item">
2066 <span class="pf-v6-c-label pf-m-outline">
2067 <span class="pf-v6-c-label__content">
2068 <span class="pf-v6-c-label__content">
2069 <span
2070 class="pf-v6-c-label__text"
2071 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-risklabel-three"
2072 >Label three</span>
2073 </span>
2074 <span class="pf-v6-c-label__actions">
2075 <button
2076 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2077 type="button"
2078 aria-labelledby="toolbar-selected-filters-toggle-group-expanded-example-label-group-riskremove-label-three toolbar-selected-filters-toggle-group-expanded-example-label-group-risklabel-three"
2079 aria-label="Remove"
2080 id="toolbar-selected-filters-toggle-group-expanded-example-label-group-riskremove-label-three"
2081 >
2082 <span class="pf-v6-c-button__icon">
2083 <svg
2084 class="pf-v6-svg"
2085 fill="currentColor"
2086 viewBox="0 0 20 20"
2087 aria-hidden="true"
2088 role="img"
2089 width="1em"
2090 height="1em"
2091 >
2092 <path
2093 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2094 />
2095 </svg>
2096 </span>
2097 </button>
2098 </span>
2099 </span>
2100 </span>
2101 </li>
2102 </ul>
2103 </div>
2104 </div>
2105 </div>
2106 </div>
2107 </div>
2108
2109 <div class="pf-v6-c-toolbar__group pf-m-action-group-inline">
2110 <div class="pf-v6-c-toolbar__item">6 filters applied</div>
2111 <div class="pf-v6-c-toolbar__item">
2112 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
2113 <span class="pf-v6-c-button__text">Clear all filters</span>
2114 </button>
2115 </div>
2116 <div class="pf-v6-c-toolbar__item">
2117 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
2118 <span class="pf-v6-c-button__text">Save all filters</span>
2119 </button>
2120 </div>
2121 </div>
2122 </div>
2123 </div>
2124 </div>
2125
2126 ```
2127
2128 ### Selected filters on desktop (not responsive)
2129
2130 ```html
2131 <div class="pf-v6-c-toolbar" id="toolbar-selected-filters-example">
2132 <div class="pf-v6-c-toolbar__content">
2133 <div class="pf-v6-c-toolbar__content-section">
2134 <div class="pf-v6-c-toolbar__item pf-m-bulk-select">
2135 <div
2136 class="pf-v6-c-menu-toggle pf-m-split-button"
2137 id="toolbar-selected-filters-example-check"
2138 >
2139 <label
2140 class="pf-v6-c-check pf-m-standalone"
2141 for="toolbar-selected-filters-example-check-check-input"
2142 >
2143 <input
2144 class="pf-v6-c-check__input"
2145 type="checkbox"
2146 id="toolbar-selected-filters-example-check-check-input"
2147 name="toolbar-selected-filters-example-check-check-input"
2148 aria-label="Standalone check"
2149 />
2150 </label>
2151 <button
2152 class="pf-v6-c-menu-toggle__button"
2153 type="button"
2154 aria-expanded="false"
2155 id="toolbar-selected-filters-example-menu-toggle-toggle-button"
2156 aria-label="Menu toggle"
2157 >
2158 <span class="pf-v6-c-menu-toggle__controls">
2159 <span class="pf-v6-c-menu-toggle__toggle-icon">
2160 <svg
2161 class="pf-v6-svg"
2162 fill="currentColor"
2163 viewBox="0 0 20 20"
2164 aria-hidden="true"
2165 role="img"
2166 width="1em"
2167 height="1em"
2168 >
2169 <path
2170 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2171 />
2172 </svg>
2173 </span>
2174 </span>
2175 </button>
2176 </div>
2177 </div>
2178
2179 <div class="pf-v6-c-toolbar__group pf-m-filter-group">
2180 <div class="pf-v6-c-toolbar__item">
2181 <button
2182 class="pf-v6-c-menu-toggle"
2183 type="button"
2184 aria-expanded="false"
2185 id="toolbar-selected-filters-example-menu-toggle-checkbox-status"
2186 >
2187 <span class="pf-v6-c-menu-toggle__text">Status</span>
2188 <span class="pf-v6-c-menu-toggle__controls">
2189 <span class="pf-v6-c-menu-toggle__toggle-icon">
2190 <svg
2191 class="pf-v6-svg"
2192 fill="currentColor"
2193 viewBox="0 0 20 20"
2194 aria-hidden="true"
2195 role="img"
2196 width="1em"
2197 height="1em"
2198 >
2199 <path
2200 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2201 />
2202 </svg>
2203 </span>
2204 </span>
2205 </button>
2206 </div>
2207 <div class="pf-v6-c-toolbar__item">
2208 <button
2209 class="pf-v6-c-menu-toggle"
2210 type="button"
2211 aria-expanded="false"
2212 id="toolbar-selected-filters-example-menu-toggle-checkbox-risk"
2213 >
2214 <span class="pf-v6-c-menu-toggle__text">Risk</span>
2215 <span class="pf-v6-c-menu-toggle__controls">
2216 <span class="pf-v6-c-menu-toggle__toggle-icon">
2217 <svg
2218 class="pf-v6-svg"
2219 fill="currentColor"
2220 viewBox="0 0 20 20"
2221 aria-hidden="true"
2222 role="img"
2223 width="1em"
2224 height="1em"
2225 >
2226 <path
2227 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2228 />
2229 </svg>
2230 </span>
2231 </span>
2232 </button>
2233 </div>
2234 </div>
2235
2236 <div class="pf-v6-c-toolbar__item">
2237 <div
2238 class="pf-v6-c-overflow-menu"
2239 id="toolbar-selected-filters-example--overflow-menu"
2240 >
2241 <div class="pf-v6-c-overflow-menu__content">
2242 <div class="pf-v6-c-overflow-menu__group pf-m-button-group">
2243 <div class="pf-v6-c-overflow-menu__item">
2244 <button class="pf-v6-c-button pf-m-primary" type="button">
2245 <span class="pf-v6-c-button__text">Primary</span>
2246 </button>
2247 </div>
2248 <div class="pf-v6-c-overflow-menu__item">
2249 <button class="pf-v6-c-button pf-m-secondary" type="button">
2250 <span class="pf-v6-c-button__text">Secondary</span>
2251 </button>
2252 </div>
2253 </div>
2254 </div>
2255 <div class="pf-v6-c-overflow-menu__control">
2256 <button
2257 class="pf-v6-c-menu-toggle pf-m-plain"
2258 type="button"
2259 aria-expanded="false"
2260 aria-label="Toggle options"
2261 id="toolbar-selected-filters-example-overflow-toggle"
2262 >
2263 <span class="pf-v6-c-menu-toggle__icon">
2264 <svg
2265 class="pf-v6-svg"
2266 fill="currentColor"
2267 viewBox="0 0 32 32"
2268 aria-hidden="true"
2269 role="img"
2270 width="1em"
2271 height="1em"
2272 >
2273 <path
2274 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"
2275 />
2276 </svg>
2277 </span>
2278 </button>
2279 </div>
2280 </div>
2281 </div>
2282 </div>
2283 </div>
2284 <div class="pf-v6-c-toolbar__content">
2285 <div class="pf-v6-c-toolbar__group pf-m-label-group">
2286 <div class="pf-v6-c-toolbar__group pf-m-grow pf-m-label-group">
2287 <div class="pf-v6-c-toolbar__item">
2288 <div class="pf-v6-c-label-group pf-m-category">
2289 <div class="pf-v6-c-label-group__main">
2290 <span
2291 class="pf-v6-c-label-group__label"
2292 aria-hidden="true"
2293 id="toolbar-selected-filters-example-label-group-status-label-group-label"
2294 >Status</span>
2295 <ul
2296 class="pf-v6-c-label-group__list"
2297 role="list"
2298 aria-labelledby="toolbar-selected-filters-example-label-group-status-label-group-label"
2299 >
2300 <li class="pf-v6-c-label-group__list-item">
2301 <span class="pf-v6-c-label pf-m-outline">
2302 <span class="pf-v6-c-label__content">
2303 <span class="pf-v6-c-label__content">
2304 <span
2305 class="pf-v6-c-label__text"
2306 id="toolbar-selected-filters-example-label-group-statuslabel-one"
2307 >Label one</span>
2308 </span>
2309 <span class="pf-v6-c-label__actions">
2310 <button
2311 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2312 type="button"
2313 aria-labelledby="toolbar-selected-filters-example-label-group-statusremove-label-one toolbar-selected-filters-example-label-group-statuslabel-one"
2314 aria-label="Remove"
2315 id="toolbar-selected-filters-example-label-group-statusremove-label-one"
2316 >
2317 <span class="pf-v6-c-button__icon">
2318 <svg
2319 class="pf-v6-svg"
2320 fill="currentColor"
2321 viewBox="0 0 20 20"
2322 aria-hidden="true"
2323 role="img"
2324 width="1em"
2325 height="1em"
2326 >
2327 <path
2328 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2329 />
2330 </svg>
2331 </span>
2332 </button>
2333 </span>
2334 </span>
2335 </span>
2336 </li>
2337 <li class="pf-v6-c-label-group__list-item">
2338 <span class="pf-v6-c-label pf-m-outline">
2339 <span class="pf-v6-c-label__content">
2340 <span class="pf-v6-c-label__content">
2341 <span
2342 class="pf-v6-c-label__text"
2343 id="toolbar-selected-filters-example-label-group-statuslabel-two"
2344 >Label two</span>
2345 </span>
2346 <span class="pf-v6-c-label__actions">
2347 <button
2348 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2349 type="button"
2350 aria-labelledby="toolbar-selected-filters-example-label-group-statusremove-label-two toolbar-selected-filters-example-label-group-statuslabel-two"
2351 aria-label="Remove"
2352 id="toolbar-selected-filters-example-label-group-statusremove-label-two"
2353 >
2354 <span class="pf-v6-c-button__icon">
2355 <svg
2356 class="pf-v6-svg"
2357 fill="currentColor"
2358 viewBox="0 0 20 20"
2359 aria-hidden="true"
2360 role="img"
2361 width="1em"
2362 height="1em"
2363 >
2364 <path
2365 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2366 />
2367 </svg>
2368 </span>
2369 </button>
2370 </span>
2371 </span>
2372 </span>
2373 </li>
2374 <li class="pf-v6-c-label-group__list-item">
2375 <span class="pf-v6-c-label pf-m-outline">
2376 <span class="pf-v6-c-label__content">
2377 <span class="pf-v6-c-label__content">
2378 <span
2379 class="pf-v6-c-label__text"
2380 id="toolbar-selected-filters-example-label-group-statuslabel-three"
2381 >Label three</span>
2382 </span>
2383 <span class="pf-v6-c-label__actions">
2384 <button
2385 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2386 type="button"
2387 aria-labelledby="toolbar-selected-filters-example-label-group-statusremove-label-three toolbar-selected-filters-example-label-group-statuslabel-three"
2388 aria-label="Remove"
2389 id="toolbar-selected-filters-example-label-group-statusremove-label-three"
2390 >
2391 <span class="pf-v6-c-button__icon">
2392 <svg
2393 class="pf-v6-svg"
2394 fill="currentColor"
2395 viewBox="0 0 20 20"
2396 aria-hidden="true"
2397 role="img"
2398 width="1em"
2399 height="1em"
2400 >
2401 <path
2402 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2403 />
2404 </svg>
2405 </span>
2406 </button>
2407 </span>
2408 </span>
2409 </span>
2410 </li>
2411 </ul>
2412 </div>
2413 </div>
2414 </div>
2415 <div class="pf-v6-c-toolbar__item">
2416 <div class="pf-v6-c-label-group pf-m-category">
2417 <div class="pf-v6-c-label-group__main">
2418 <span
2419 class="pf-v6-c-label-group__label"
2420 aria-hidden="true"
2421 id="toolbar-selected-filters-example-label-group-risk-label-group-label"
2422 >Risk</span>
2423 <ul
2424 class="pf-v6-c-label-group__list"
2425 role="list"
2426 aria-labelledby="toolbar-selected-filters-example-label-group-risk-label-group-label"
2427 >
2428 <li class="pf-v6-c-label-group__list-item">
2429 <span class="pf-v6-c-label pf-m-outline">
2430 <span class="pf-v6-c-label__content">
2431 <span class="pf-v6-c-label__content">
2432 <span
2433 class="pf-v6-c-label__text"
2434 id="toolbar-selected-filters-example-label-group-risklabel-one"
2435 >Label one</span>
2436 </span>
2437 <span class="pf-v6-c-label__actions">
2438 <button
2439 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2440 type="button"
2441 aria-labelledby="toolbar-selected-filters-example-label-group-riskremove-label-one toolbar-selected-filters-example-label-group-risklabel-one"
2442 aria-label="Remove"
2443 id="toolbar-selected-filters-example-label-group-riskremove-label-one"
2444 >
2445 <span class="pf-v6-c-button__icon">
2446 <svg
2447 class="pf-v6-svg"
2448 fill="currentColor"
2449 viewBox="0 0 20 20"
2450 aria-hidden="true"
2451 role="img"
2452 width="1em"
2453 height="1em"
2454 >
2455 <path
2456 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2457 />
2458 </svg>
2459 </span>
2460 </button>
2461 </span>
2462 </span>
2463 </span>
2464 </li>
2465 <li class="pf-v6-c-label-group__list-item">
2466 <span class="pf-v6-c-label pf-m-outline">
2467 <span class="pf-v6-c-label__content">
2468 <span class="pf-v6-c-label__content">
2469 <span
2470 class="pf-v6-c-label__text"
2471 id="toolbar-selected-filters-example-label-group-risklabel-two"
2472 >Label two</span>
2473 </span>
2474 <span class="pf-v6-c-label__actions">
2475 <button
2476 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2477 type="button"
2478 aria-labelledby="toolbar-selected-filters-example-label-group-riskremove-label-two toolbar-selected-filters-example-label-group-risklabel-two"
2479 aria-label="Remove"
2480 id="toolbar-selected-filters-example-label-group-riskremove-label-two"
2481 >
2482 <span class="pf-v6-c-button__icon">
2483 <svg
2484 class="pf-v6-svg"
2485 fill="currentColor"
2486 viewBox="0 0 20 20"
2487 aria-hidden="true"
2488 role="img"
2489 width="1em"
2490 height="1em"
2491 >
2492 <path
2493 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2494 />
2495 </svg>
2496 </span>
2497 </button>
2498 </span>
2499 </span>
2500 </span>
2501 </li>
2502 <li class="pf-v6-c-label-group__list-item">
2503 <span class="pf-v6-c-label pf-m-outline">
2504 <span class="pf-v6-c-label__content">
2505 <span class="pf-v6-c-label__content">
2506 <span
2507 class="pf-v6-c-label__text"
2508 id="toolbar-selected-filters-example-label-group-risklabel-three"
2509 >Label three</span>
2510 </span>
2511 <span class="pf-v6-c-label__actions">
2512 <button
2513 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2514 type="button"
2515 aria-labelledby="toolbar-selected-filters-example-label-group-riskremove-label-three toolbar-selected-filters-example-label-group-risklabel-three"
2516 aria-label="Remove"
2517 id="toolbar-selected-filters-example-label-group-riskremove-label-three"
2518 >
2519 <span class="pf-v6-c-button__icon">
2520 <svg
2521 class="pf-v6-svg"
2522 fill="currentColor"
2523 viewBox="0 0 20 20"
2524 aria-hidden="true"
2525 role="img"
2526 width="1em"
2527 height="1em"
2528 >
2529 <path
2530 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
2531 />
2532 </svg>
2533 </span>
2534 </button>
2535 </span>
2536 </span>
2537 </span>
2538 </li>
2539 </ul>
2540 </div>
2541 </div>
2542 </div>
2543 </div>
2544 </div>
2545
2546 <div class="pf-v6-c-toolbar__group pf-m-action-group-inline">
2547 <div class="pf-v6-c-toolbar__item">6 filters applied</div>
2548 <div class="pf-v6-c-toolbar__item">
2549 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
2550 <span class="pf-v6-c-button__text">Clear all filters</span>
2551 </button>
2552 </div>
2553 <div class="pf-v6-c-toolbar__item">
2554 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
2555 <span class="pf-v6-c-button__text">Save all filters</span>
2556 </button>
2557 </div>
2558 </div>
2559 </div>
2560 </div>
2561
2562 ```
2563
2564 ### Stacked
2565
2566 ### Stacked on desktop
2567
2568 ```html
2569 <div class="pf-v6-c-toolbar" id="toolbar-stacked-example">
2570 <div class="pf-v6-c-toolbar__content">
2571 <div class="pf-v6-c-toolbar__content-section">
2572 <div class="pf-v6-c-toolbar__item">
2573 <div
2574 class="pf-v6-c-overflow-menu"
2575 id="toolbar-stacked-example--overflow-menu"
2576 >
2577 <div class="pf-v6-c-overflow-menu__content">
2578 <div class="pf-v6-c-overflow-menu__group pf-m-button-group">
2579 <div class="pf-v6-c-overflow-menu__item">
2580 <button class="pf-v6-c-button pf-m-primary" type="button">
2581 <span class="pf-v6-c-button__text">Primary</span>
2582 </button>
2583 </div>
2584 <div class="pf-v6-c-overflow-menu__item">
2585 <button class="pf-v6-c-button pf-m-secondary" type="button">
2586 <span class="pf-v6-c-button__text">Secondary</span>
2587 </button>
2588 </div>
2589 </div>
2590 </div>
2591 <div class="pf-v6-c-overflow-menu__control">
2592 <button
2593 class="pf-v6-c-menu-toggle pf-m-plain"
2594 type="button"
2595 aria-expanded="false"
2596 aria-label="Toggle options"
2597 id="toolbar-stacked-example-overflow-toggle"
2598 >
2599 <span class="pf-v6-c-menu-toggle__icon">
2600 <svg
2601 class="pf-v6-svg"
2602 fill="currentColor"
2603 viewBox="0 0 32 32"
2604 aria-hidden="true"
2605 role="img"
2606 width="1em"
2607 height="1em"
2608 >
2609 <path
2610 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"
2611 />
2612 </svg>
2613 </span>
2614 </button>
2615 </div>
2616 </div>
2617 </div>
2618 </div>
2619 </div>
2620 <hr class="pf-v6-c-divider" />
2621
2622 <div class="pf-v6-c-toolbar__content">
2623 <div class="pf-v6-c-toolbar__content-section">
2624 <div class="pf-v6-c-toolbar__item pf-m-bulk-select">
2625 <div
2626 class="pf-v6-c-menu-toggle pf-m-split-button"
2627 id="toolbar-stacked-example-check"
2628 >
2629 <label
2630 class="pf-v6-c-check pf-m-standalone"
2631 for="toolbar-stacked-example-check-check-input"
2632 >
2633 <input
2634 class="pf-v6-c-check__input"
2635 type="checkbox"
2636 id="toolbar-stacked-example-check-check-input"
2637 name="toolbar-stacked-example-check-check-input"
2638 aria-label="Standalone check"
2639 />
2640 </label>
2641 <button
2642 class="pf-v6-c-menu-toggle__button"
2643 type="button"
2644 aria-expanded="false"
2645 id="toolbar-stacked-example-menu-toggle-toggle-button"
2646 aria-label="Menu toggle"
2647 >
2648 <span class="pf-v6-c-menu-toggle__controls">
2649 <span class="pf-v6-c-menu-toggle__toggle-icon">
2650 <svg
2651 class="pf-v6-svg"
2652 fill="currentColor"
2653 viewBox="0 0 20 20"
2654 aria-hidden="true"
2655 role="img"
2656 width="1em"
2657 height="1em"
2658 >
2659 <path
2660 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2661 />
2662 </svg>
2663 </span>
2664 </span>
2665 </button>
2666 </div>
2667 </div>
2668 <div class="pf-v6-c-toolbar__item pf-m-pagination">
2669 <div class="pf-v6-c-pagination" aria-label="Element pagination">
2670 <div class="pf-v6-c-pagination__total-items">37 items</div>
2671 <div class="pf-v6-c-pagination__page-menu">
2672 <button
2673 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
2674 type="button"
2675 aria-expanded="false"
2676 id="toolbar-stacked-example-pagination-menu-toggle"
2677 >
2678 <span class="pf-v6-c-menu-toggle__text">
2679 <b>1 - 10</b>&nbsp;of&nbsp;
2680 <b>36</b>
2681 </span>
2682 <span class="pf-v6-c-menu-toggle__controls">
2683 <span class="pf-v6-c-menu-toggle__toggle-icon">
2684 <svg
2685 class="pf-v6-svg"
2686 fill="currentColor"
2687 viewBox="0 0 20 20"
2688 aria-hidden="true"
2689 role="img"
2690 width="1em"
2691 height="1em"
2692 >
2693 <path
2694 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2695 />
2696 </svg>
2697 </span>
2698 </span>
2699 </button>
2700 </div>
2701
2702 <nav class="pf-v6-c-pagination__nav" aria-label="Pagination">
2703 <div class="pf-v6-c-pagination__nav-control pf-m-first">
2704 <button
2705 class="pf-v6-c-button pf-m-plain"
2706 type="button"
2707 aria-label="Go to first page"
2708 disabled
2709 >
2710 <span class="pf-v6-c-button__icon">
2711 <svg
2712 class="pf-v6-svg"
2713 fill="currentColor"
2714 viewBox="0 0 20 20"
2715 aria-hidden="true"
2716 role="img"
2717 width="1em"
2718 height="1em"
2719 >
2720 <path
2721 d="M10 19a.997.997 0 0 1-.707-.293l-7.647-7.646c-.283-.284-.439-.66-.439-1.061s.156-.777.44-1.06l7.646-7.647a1 1 0 1 1 1.414 1.414L3.414 10l7.293 7.293A1 1 0 0 1 10 19Zm8.707-.293a1 1 0 0 0 0-1.414L11.414 10l7.293-7.293a1 1 0 1 0-1.414-1.414L9.646 8.939c-.283.284-.439.66-.439 1.061s.156.777.44 1.06l7.646 7.647a.997.997 0 0 0 1.414 0Z"
2722 />
2723 </svg>
2724 </span>
2725 </button>
2726 </div>
2727 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
2728 <button
2729 class="pf-v6-c-button pf-m-plain"
2730 type="button"
2731 aria-label="Go to previous page"
2732 disabled
2733 >
2734 <span class="pf-v6-c-button__icon">
2735 <svg
2736 class="pf-v6-svg"
2737 fill="currentColor"
2738 viewBox="0 0 20 20"
2739 aria-hidden="true"
2740 role="img"
2741 width="1em"
2742 height="1em"
2743 >
2744 <path
2745 d="m6.41 10 7.29-7.29.02-.02c.38-.4.37-1.03-.02-1.41-.4-.38-1.03-.37-1.41.02L4.64 8.95a1.49 1.49 0 0 0 0 2.12l7.65 7.65c.19.19.44.29.71.29.27 0 .52-.11.71-.29a.996.996 0 0 0 0-1.41l-7.29-7.29Z"
2746 />
2747 </svg>
2748 </span>
2749 </button>
2750 </div>
2751
2752 <div
2753 class="pf-v6-c-pagination__nav-page-select"
2754 aria-label="Current page 1 of 4"
2755 >
2756 <span class="pf-v6-c-form-control">
2757 <input
2758 aria-label="Current page"
2759 type="number"
2760 min="1"
2761 max="4"
2762 value="1"
2763 />
2764 </span>
2765 <span aria-hidden="true">of 4</span>
2766 </div>
2767 <div class="pf-v6-c-pagination__nav-control pf-m-next">
2768 <button
2769 class="pf-v6-c-button pf-m-plain"
2770 type="button"
2771 aria-label="Go to next page"
2772 >
2773 <span class="pf-v6-c-button__icon">
2774 <svg
2775 class="pf-v6-svg"
2776 fill="currentColor"
2777 viewBox="0 0 20 20"
2778 aria-hidden="true"
2779 role="img"
2780 width="1em"
2781 height="1em"
2782 >
2783 <path
2784 d="M14.35 8.94 6.71 1.29l-.02-.02c-.4-.38-1.03-.37-1.41.02-.38.4-.37 1.03.02 1.41l7.29 7.29-7.29 7.29a1.003 1.003 0 0 0 1.42 1.42l7.65-7.65c.59-.59.59-1.54 0-2.12Z"
2785 />
2786 </svg>
2787 </span>
2788 </button>
2789 </div>
2790 <div class="pf-v6-c-pagination__nav-control pf-m-last">
2791 <button
2792 class="pf-v6-c-button pf-m-plain"
2793 type="button"
2794 aria-label="Go to last page"
2795 >
2796 <span class="pf-v6-c-button__icon">
2797 <svg
2798 class="pf-v6-svg"
2799 fill="currentColor"
2800 viewBox="0 0 20 20"
2801 aria-hidden="true"
2802 role="img"
2803 width="1em"
2804 height="1em"
2805 >
2806 <path
2807 d="M10 19a1 1 0 0 1-.707-1.707L16.586 10 9.293 2.707a1 1 0 1 1 1.414-1.414l7.647 7.646c.283.284.439.66.439 1.061s-.156.777-.44 1.06l-7.646 7.647A.997.997 0 0 1 10 19Zm-7.293-.293 7.647-7.646c.283-.284.439-.66.439-1.061s-.156-.777-.44-1.06L2.708 1.292a1 1 0 1 0-1.414 1.414L8.586 10l-7.293 7.293a1 1 0 1 0 1.414 1.414Z"
2808 />
2809 </svg>
2810 </span>
2811 </button>
2812 </div>
2813 </nav>
2814 </div>
2815 </div>
2816 </div>
2817 </div>
2818 </div>
2819
2820 ```
2821
2822 ### Stacked on mobile (filters collapsed, expandable content expanded)
2823
2824 ```html
2825 <div class="pf-v6-c-toolbar" id="toolbar-stacked-collapsed-example">
2826 <div class="pf-v6-c-toolbar__content">
2827 <div class="pf-v6-c-toolbar__content-section">
2828 <div class="pf-v6-c-toolbar__group pf-m-toggle-group">
2829 <div class="pf-v6-c-toolbar__toggle">
2830 <button
2831 class="pf-v6-c-menu-toggle pf-m-expanded pf-m-plain"
2832 type="button"
2833 aria-expanded="true"
2834 aria-label="Show filters"
2835 aria-controls="toolbar-stacked-collapsed-example-expandable-content"
2836 >
2837 <span class="pf-v6-c-menu-toggle__icon">
2838 <svg
2839 class="pf-v6-svg"
2840 fill="currentColor"
2841 viewBox="0 0 32 32"
2842 aria-hidden="true"
2843 role="img"
2844 width="1em"
2845 height="1em"
2846 >
2847 <path
2848 d="M29.875 3.5V7a.876.876 0 0 1-.256.619l-9.744 9.744v10.638a.875.875 0 0 1-.599.83l-6 2a.876.876 0 0 1-.788-.12.874.874 0 0 1-.363-.71V17.363L2.381 7.619A.876.876 0 0 1 2.125 7V3.5c0-.758.617-1.375 1.375-1.375h25c.758 0 1.375.617 1.375 1.375Z"
2849 />
2850 </svg>
2851 </span>
2852 </button>
2853 </div>
2854 <div class="pf-v6-c-toolbar__item">
2855 <div
2856 class="pf-v6-c-input-group"
2857 aria-label="search filter"
2858 role="group"
2859 >
2860 <div class="pf-v6-c-input-group__item">
2861 <button
2862 class="pf-v6-c-menu-toggle"
2863 type="button"
2864 aria-expanded="false"
2865 id="toolbar-stacked-collapsed-example-search-filter-menu"
2866 >
2867 <span class="pf-v6-c-menu-toggle__text">Name</span>
2868 <span class="pf-v6-c-menu-toggle__controls">
2869 <span class="pf-v6-c-menu-toggle__toggle-icon">
2870 <svg
2871 class="pf-v6-svg"
2872 fill="currentColor"
2873 viewBox="0 0 20 20"
2874 aria-hidden="true"
2875 role="img"
2876 width="1em"
2877 height="1em"
2878 >
2879 <path
2880 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2881 />
2882 </svg>
2883 </span>
2884 </span>
2885 </button>
2886 </div>
2887 <div class="pf-v6-c-input-group__item pf-m-fill">
2888 <div class="pf-v6-c-text-input-group">
2889 <div class="pf-v6-c-text-input-group__main pf-m-icon">
2890 <span class="pf-v6-c-text-input-group__text">
2891 <span class="pf-v6-c-text-input-group__icon">
2892 <i class="fas fa-fw fa-search"></i>
2893 </span>
2894 <input
2895 class="pf-v6-c-text-input-group__text-input"
2896 type="text"
2897 placeholder="Find by name"
2898 value
2899 aria-label="Search input"
2900 />
2901 </span>
2902 </div>
2903 </div>
2904 </div>
2905 </div>
2906 </div>
2907
2908 <div class="pf-v6-c-toolbar__group pf-m-filter-group pf-m-toggle-group">
2909 <div class="pf-v6-c-toolbar__item">
2910 <button
2911 class="pf-v6-c-menu-toggle"
2912 type="button"
2913 aria-expanded="false"
2914 id="toolbar-stacked-collapsed-example-menu-toggle-checkbox-status"
2915 >
2916 <span class="pf-v6-c-menu-toggle__text">Status</span>
2917 <span class="pf-v6-c-menu-toggle__controls">
2918 <span class="pf-v6-c-menu-toggle__toggle-icon">
2919 <svg
2920 class="pf-v6-svg"
2921 fill="currentColor"
2922 viewBox="0 0 20 20"
2923 aria-hidden="true"
2924 role="img"
2925 width="1em"
2926 height="1em"
2927 >
2928 <path
2929 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2930 />
2931 </svg>
2932 </span>
2933 </span>
2934 </button>
2935 </div>
2936 <div class="pf-v6-c-toolbar__item">
2937 <button
2938 class="pf-v6-c-menu-toggle"
2939 type="button"
2940 aria-expanded="false"
2941 id="toolbar-stacked-collapsed-example-menu-toggle-checkbox-risk"
2942 >
2943 <span class="pf-v6-c-menu-toggle__text">Risk</span>
2944 <span class="pf-v6-c-menu-toggle__controls">
2945 <span class="pf-v6-c-menu-toggle__toggle-icon">
2946 <svg
2947 class="pf-v6-svg"
2948 fill="currentColor"
2949 viewBox="0 0 20 20"
2950 aria-hidden="true"
2951 role="img"
2952 width="1em"
2953 height="1em"
2954 >
2955 <path
2956 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
2957 />
2958 </svg>
2959 </span>
2960 </span>
2961 </button>
2962 </div>
2963 </div>
2964 </div>
2965 </div>
2966
2967 <div
2968 class="pf-v6-c-toolbar__expandable-content pf-m-expanded"
2969 id="toolbar-stacked-collapsed-example-expandable-content"
2970 >
2971 <div class="pf-v6-c-toolbar__group pf-m-label-group">
2972 <div class="pf-v6-c-toolbar__group pf-m-grow pf-m-label-group">
2973 <div class="pf-v6-c-toolbar__item">
2974 <div class="pf-v6-c-label-group pf-m-category">
2975 <div class="pf-v6-c-label-group__main">
2976 <span
2977 class="pf-v6-c-label-group__label"
2978 aria-hidden="true"
2979 id="toolbar-stacked-collapsed-example-label-group-status-label-group-label"
2980 >Status</span>
2981 <ul
2982 class="pf-v6-c-label-group__list"
2983 role="list"
2984 aria-labelledby="toolbar-stacked-collapsed-example-label-group-status-label-group-label"
2985 >
2986 <li class="pf-v6-c-label-group__list-item">
2987 <span class="pf-v6-c-label pf-m-outline">
2988 <span class="pf-v6-c-label__content">
2989 <span class="pf-v6-c-label__content">
2990 <span
2991 class="pf-v6-c-label__text"
2992 id="toolbar-stacked-collapsed-example-label-group-statuslabel-one"
2993 >Label one</span>
2994 </span>
2995 <span class="pf-v6-c-label__actions">
2996 <button
2997 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
2998 type="button"
2999 aria-labelledby="toolbar-stacked-collapsed-example-label-group-statusremove-label-one toolbar-stacked-collapsed-example-label-group-statuslabel-one"
3000 aria-label="Remove"
3001 id="toolbar-stacked-collapsed-example-label-group-statusremove-label-one"
3002 >
3003 <span class="pf-v6-c-button__icon">
3004 <svg
3005 class="pf-v6-svg"
3006 fill="currentColor"
3007 viewBox="0 0 20 20"
3008 aria-hidden="true"
3009 role="img"
3010 width="1em"
3011 height="1em"
3012 >
3013 <path
3014 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
3015 />
3016 </svg>
3017 </span>
3018 </button>
3019 </span>
3020 </span>
3021 </span>
3022 </li>
3023 <li class="pf-v6-c-label-group__list-item">
3024 <span class="pf-v6-c-label pf-m-outline">
3025 <span class="pf-v6-c-label__content">
3026 <span class="pf-v6-c-label__content">
3027 <span
3028 class="pf-v6-c-label__text"
3029 id="toolbar-stacked-collapsed-example-label-group-statuslabel-two"
3030 >Label two</span>
3031 </span>
3032 <span class="pf-v6-c-label__actions">
3033 <button
3034 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
3035 type="button"
3036 aria-labelledby="toolbar-stacked-collapsed-example-label-group-statusremove-label-two toolbar-stacked-collapsed-example-label-group-statuslabel-two"
3037 aria-label="Remove"
3038 id="toolbar-stacked-collapsed-example-label-group-statusremove-label-two"
3039 >
3040 <span class="pf-v6-c-button__icon">
3041 <svg
3042 class="pf-v6-svg"
3043 fill="currentColor"
3044 viewBox="0 0 20 20"
3045 aria-hidden="true"
3046 role="img"
3047 width="1em"
3048 height="1em"
3049 >
3050 <path
3051 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
3052 />
3053 </svg>
3054 </span>
3055 </button>
3056 </span>
3057 </span>
3058 </span>
3059 </li>
3060 <li class="pf-v6-c-label-group__list-item">
3061 <span class="pf-v6-c-label pf-m-outline">
3062 <span class="pf-v6-c-label__content">
3063 <span class="pf-v6-c-label__content">
3064 <span
3065 class="pf-v6-c-label__text"
3066 id="toolbar-stacked-collapsed-example-label-group-statuslabel-three"
3067 >Label three</span>
3068 </span>
3069 <span class="pf-v6-c-label__actions">
3070 <button
3071 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
3072 type="button"
3073 aria-labelledby="toolbar-stacked-collapsed-example-label-group-statusremove-label-three toolbar-stacked-collapsed-example-label-group-statuslabel-three"
3074 aria-label="Remove"
3075 id="toolbar-stacked-collapsed-example-label-group-statusremove-label-three"
3076 >
3077 <span class="pf-v6-c-button__icon">
3078 <svg
3079 class="pf-v6-svg"
3080 fill="currentColor"
3081 viewBox="0 0 20 20"
3082 aria-hidden="true"
3083 role="img"
3084 width="1em"
3085 height="1em"
3086 >
3087 <path
3088 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
3089 />
3090 </svg>
3091 </span>
3092 </button>
3093 </span>
3094 </span>
3095 </span>
3096 </li>
3097 </ul>
3098 </div>
3099 </div>
3100 </div>
3101 <div class="pf-v6-c-toolbar__item">
3102 <div class="pf-v6-c-label-group pf-m-category">
3103 <div class="pf-v6-c-label-group__main">
3104 <span
3105 class="pf-v6-c-label-group__label"
3106 aria-hidden="true"
3107 id="toolbar-stacked-collapsed-example-label-group-risk-label-group-label"
3108 >Risk</span>
3109 <ul
3110 class="pf-v6-c-label-group__list"
3111 role="list"
3112 aria-labelledby="toolbar-stacked-collapsed-example-label-group-risk-label-group-label"
3113 >
3114 <li class="pf-v6-c-label-group__list-item">
3115 <span class="pf-v6-c-label pf-m-outline">
3116 <span class="pf-v6-c-label__content">
3117 <span class="pf-v6-c-label__content">
3118 <span
3119 class="pf-v6-c-label__text"
3120 id="toolbar-stacked-collapsed-example-label-group-risklabel-one"
3121 >Label one</span>
3122 </span>
3123 <span class="pf-v6-c-label__actions">
3124 <button
3125 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
3126 type="button"
3127 aria-labelledby="toolbar-stacked-collapsed-example-label-group-riskremove-label-one toolbar-stacked-collapsed-example-label-group-risklabel-one"
3128 aria-label="Remove"
3129 id="toolbar-stacked-collapsed-example-label-group-riskremove-label-one"
3130 >
3131 <span class="pf-v6-c-button__icon">
3132 <svg
3133 class="pf-v6-svg"
3134 fill="currentColor"
3135 viewBox="0 0 20 20"
3136 aria-hidden="true"
3137 role="img"
3138 width="1em"
3139 height="1em"
3140 >
3141 <path
3142 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
3143 />
3144 </svg>
3145 </span>
3146 </button>
3147 </span>
3148 </span>
3149 </span>
3150 </li>
3151 <li class="pf-v6-c-label-group__list-item">
3152 <span class="pf-v6-c-label pf-m-outline">
3153 <span class="pf-v6-c-label__content">
3154 <span class="pf-v6-c-label__content">
3155 <span
3156 class="pf-v6-c-label__text"
3157 id="toolbar-stacked-collapsed-example-label-group-risklabel-two"
3158 >Label two</span>
3159 </span>
3160 <span class="pf-v6-c-label__actions">
3161 <button
3162 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
3163 type="button"
3164 aria-labelledby="toolbar-stacked-collapsed-example-label-group-riskremove-label-two toolbar-stacked-collapsed-example-label-group-risklabel-two"
3165 aria-label="Remove"
3166 id="toolbar-stacked-collapsed-example-label-group-riskremove-label-two"
3167 >
3168 <span class="pf-v6-c-button__icon">
3169 <svg
3170 class="pf-v6-svg"
3171 fill="currentColor"
3172 viewBox="0 0 20 20"
3173 aria-hidden="true"
3174 role="img"
3175 width="1em"
3176 height="1em"
3177 >
3178 <path
3179 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
3180 />
3181 </svg>
3182 </span>
3183 </button>
3184 </span>
3185 </span>
3186 </span>
3187 </li>
3188 <li class="pf-v6-c-label-group__list-item">
3189 <span class="pf-v6-c-label pf-m-outline">
3190 <span class="pf-v6-c-label__content">
3191 <span class="pf-v6-c-label__content">
3192 <span
3193 class="pf-v6-c-label__text"
3194 id="toolbar-stacked-collapsed-example-label-group-risklabel-three"
3195 >Label three</span>
3196 </span>
3197 <span class="pf-v6-c-label__actions">
3198 <button
3199 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
3200 type="button"
3201 aria-labelledby="toolbar-stacked-collapsed-example-label-group-riskremove-label-three toolbar-stacked-collapsed-example-label-group-risklabel-three"
3202 aria-label="Remove"
3203 id="toolbar-stacked-collapsed-example-label-group-riskremove-label-three"
3204 >
3205 <span class="pf-v6-c-button__icon">
3206 <svg
3207 class="pf-v6-svg"
3208 fill="currentColor"
3209 viewBox="0 0 20 20"
3210 aria-hidden="true"
3211 role="img"
3212 width="1em"
3213 height="1em"
3214 >
3215 <path
3216 d="M17.8 16.2 11.59 10l6.21-6.21c.42-.46.39-1.17-.07-1.59-.43-.4-1.09-.4-1.52 0l-6.2 6.2-6.22-6.19c-.44-.44-1.15-.44-1.59 0-.44.44-.44 1.15 0 1.59l6.2 6.21-6.2 6.2c-.42.46-.39 1.17.07 1.59.43.4 1.09.4 1.52 0L10 11.59l6.2 6.2c.44.44 1.15.44 1.59 0 .44-.45.44-1.16 0-1.6Z"
3217 />
3218 </svg>
3219 </span>
3220 </button>
3221 </span>
3222 </span>
3223 </span>
3224 </li>
3225 </ul>
3226 </div>
3227 </div>
3228 </div>
3229 </div>
3230 </div>
3231 </div>
3232 </div>
3233 <hr class="pf-v6-c-divider" />
3234 <div class="pf-v6-c-toolbar__content">
3235 <div class="pf-v6-c-toolbar__content-section">
3236 <div class="pf-v6-c-toolbar__item pf-m-bulk-select">
3237 <div
3238 class="pf-v6-c-menu-toggle pf-m-split-button"
3239 id="toolbar-stacked-collapsed-example-check"
3240 >
3241 <label
3242 class="pf-v6-c-check pf-m-standalone"
3243 for="toolbar-stacked-collapsed-example-check-check-input"
3244 >
3245 <input
3246 class="pf-v6-c-check__input"
3247 type="checkbox"
3248 id="toolbar-stacked-collapsed-example-check-check-input"
3249 name="toolbar-stacked-collapsed-example-check-check-input"
3250 aria-label="Standalone check"
3251 />
3252 </label>
3253 <button
3254 class="pf-v6-c-menu-toggle__button"
3255 type="button"
3256 aria-expanded="false"
3257 id="toolbar-stacked-collapsed-example-menu-toggle-toggle-button"
3258 aria-label="Menu toggle"
3259 >
3260 <span class="pf-v6-c-menu-toggle__controls">
3261 <span class="pf-v6-c-menu-toggle__toggle-icon">
3262 <svg
3263 class="pf-v6-svg"
3264 fill="currentColor"
3265 viewBox="0 0 20 20"
3266 aria-hidden="true"
3267 role="img"
3268 width="1em"
3269 height="1em"
3270 >
3271 <path
3272 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
3273 />
3274 </svg>
3275 </span>
3276 </span>
3277 </button>
3278 </div>
3279 </div>
3280 <div class="pf-v6-c-toolbar__item pf-m-pagination">
3281 <div class="pf-v6-c-pagination" aria-label="Element pagination">
3282 <div class="pf-v6-c-pagination__total-items">37 items</div>
3283 <div class="pf-v6-c-pagination__page-menu">
3284 <button
3285 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
3286 type="button"
3287 aria-expanded="false"
3288 id="toolbar-stacked-collapsed-example-pagination-menu-toggle"
3289 >
3290 <span class="pf-v6-c-menu-toggle__text">
3291 <b>1 - 10</b>&nbsp;of&nbsp;
3292 <b>36</b>
3293 </span>
3294 <span class="pf-v6-c-menu-toggle__controls">
3295 <span class="pf-v6-c-menu-toggle__toggle-icon">
3296 <svg
3297 class="pf-v6-svg"
3298 fill="currentColor"
3299 viewBox="0 0 20 20"
3300 aria-hidden="true"
3301 role="img"
3302 width="1em"
3303 height="1em"
3304 >
3305 <path
3306 d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
3307 />
3308 </svg>
3309 </span>
3310 </span>
3311 </button>
3312 </div>
3313
3314 <nav class="pf-v6-c-pagination__nav" aria-label="Pagination">
3315 <div class="pf-v6-c-pagination__nav-control pf-m-first">
3316 <button
3317 class="pf-v6-c-button pf-m-plain"
3318 type="button"
3319 aria-label="Go to first page"
3320 disabled
3321 >
3322 <span class="pf-v6-c-button__icon">
3323 <svg
3324 class="pf-v6-svg"
3325 fill="currentColor"
3326 viewBox="0 0 20 20"
3327 aria-hidden="true"
3328 role="img"
3329 width="1em"
3330 height="1em"
3331 >
3332 <path
3333 d="M10 19a.997.997 0 0 1-.707-.293l-7.647-7.646c-.283-.284-.439-.66-.439-1.061s.156-.777.44-1.06l7.646-7.647a1 1 0 1 1 1.414 1.414L3.414 10l7.293 7.293A1 1 0 0 1 10 19Zm8.707-.293a1 1 0 0 0 0-1.414L11.414 10l7.293-7.293a1 1 0 1 0-1.414-1.414L9.646 8.939c-.283.284-.439.66-.439 1.061s.156.777.44 1.06l7.646 7.647a.997.997 0 0 0 1.414 0Z"
3334 />
3335 </svg>
3336 </span>
3337 </button>
3338 </div>
3339 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
3340 <button
3341 class="pf-v6-c-button pf-m-plain"
3342 type="button"
3343 aria-label="Go to previous page"
3344 disabled
3345 >
3346 <span class="pf-v6-c-button__icon">
3347 <svg
3348 class="pf-v6-svg"
3349 fill="currentColor"
3350 viewBox="0 0 20 20"
3351 aria-hidden="true"
3352 role="img"
3353 width="1em"
3354 height="1em"
3355 >
3356 <path
3357 d="m6.41 10 7.29-7.29.02-.02c.38-.4.37-1.03-.02-1.41-.4-.38-1.03-.37-1.41.02L4.64 8.95a1.49 1.49 0 0 0 0 2.12l7.65 7.65c.19.19.44.29.71.29.27 0 .52-.11.71-.29a.996.996 0 0 0 0-1.41l-7.29-7.29Z"
3358 />
3359 </svg>
3360 </span>
3361 </button>
3362 </div>
3363
3364 <div
3365 class="pf-v6-c-pagination__nav-page-select"
3366 aria-label="Current page 1 of 4"
3367 >
3368 <span class="pf-v6-c-form-control">
3369 <input
3370 aria-label="Current page"
3371 type="number"
3372 min="1"
3373 max="4"
3374 value="1"
3375 />
3376 </span>
3377 <span aria-hidden="true">of 4</span>
3378 </div>
3379 <div class="pf-v6-c-pagination__nav-control pf-m-next">
3380 <button
3381 class="pf-v6-c-button pf-m-plain"
3382 type="button"
3383 aria-label="Go to next page"
3384 >
3385 <span class="pf-v6-c-button__icon">
3386 <svg
3387 class="pf-v6-svg"
3388 fill="currentColor"
3389 viewBox="0 0 20 20"
3390 aria-hidden="true"
3391 role="img"
3392 width="1em"
3393 height="1em"
3394 >
3395 <path
3396 d="M14.35 8.94 6.71 1.29l-.02-.02c-.4-.38-1.03-.37-1.41.02-.38.4-.37 1.03.02 1.41l7.29 7.29-7.29 7.29a1.003 1.003 0 0 0 1.42 1.42l7.65-7.65c.59-.59.59-1.54 0-2.12Z"
3397 />
3398 </svg>
3399 </span>
3400 </button>
3401 </div>
3402 <div class="pf-v6-c-pagination__nav-control pf-m-last">
3403 <button
3404 class="pf-v6-c-button pf-m-plain"
3405 type="button"
3406 aria-label="Go to last page"
3407 >
3408 <span class="pf-v6-c-button__icon">
3409 <svg
3410 class="pf-v6-svg"
3411 fill="currentColor"
3412 viewBox="0 0 20 20"
3413 aria-hidden="true"
3414 role="img"
3415 width="1em"
3416 height="1em"
3417 >
3418 <path
3419 d="M10 19a1 1 0 0 1-.707-1.707L16.586 10 9.293 2.707a1 1 0 1 1 1.414-1.414l7.647 7.646c.283.284.439.66.439 1.061s-.156.777-.44 1.06l-7.646 7.647A.997.997 0 0 1 10 19Zm-7.293-.293 7.647-7.646c.283-.284.439-.66.439-1.061s-.156-.777-.44-1.06L2.708 1.292a1 1 0 1 0-1.414 1.414L8.586 10l-7.293 7.293a1 1 0 1 0 1.414 1.414Z"
3420 />
3421 </svg>
3422 </span>
3423 </button>
3424 </div>
3425 </nav>
3426 </div>
3427 </div>
3428 </div>
3429 </div>
3430 </div>
3431
3432 ```
3433
3434 ### Primary background
3435
3436 ```html
3437 <div
3438 class="pf-v6-c-toolbar pf-m-primary"
3439 id="toolbar-primary-background-example"
3440 >
3441 <div class="pf-v6-c-toolbar__content">
3442 <div class="pf-v6-c-toolbar__content-section">
3443 <div class="pf-v6-c-toolbar__item">Item</div>
3444 <div class="pf-v6-c-toolbar__item">Item</div>
3445 <div class="pf-v6-c-toolbar__item">Item</div>
3446 <hr class="pf-v6-c-divider pf-m-vertical" />
3447
3448 <div class="pf-v6-c-toolbar__group">
3449 <div class="pf-v6-c-toolbar__item">Item</div>
3450 <div class="pf-v6-c-toolbar__item">Item</div>
3451 <div class="pf-v6-c-toolbar__item">Item</div>
3452 </div>
3453
3454 <hr class="pf-v6-c-divider pf-m-vertical" />
3455 <div class="pf-v6-c-toolbar__item">Item</div>
3456 <div class="pf-v6-c-toolbar__item">Item</div>
3457 <div class="pf-v6-c-toolbar__item">Item</div>
3458 </div>
3459 </div>
3460 </div>
3461
3462 ```
3463
3464 ### Secondary background
3465
3466 ```html
3467 <div
3468 class="pf-v6-c-toolbar pf-m-secondary"
3469 id="toolbar-secondary-background-example"
3470 >
3471 <div class="pf-v6-c-toolbar__content">
3472 <div class="pf-v6-c-toolbar__content-section">
3473 <div class="pf-v6-c-toolbar__item">Item</div>
3474 <div class="pf-v6-c-toolbar__item">Item</div>
3475 <div class="pf-v6-c-toolbar__item">Item</div>
3476 <hr class="pf-v6-c-divider pf-m-vertical" />
3477
3478 <div class="pf-v6-c-toolbar__group">
3479 <div class="pf-v6-c-toolbar__item">Item</div>
3480 <div class="pf-v6-c-toolbar__item">Item</div>
3481 <div class="pf-v6-c-toolbar__item">Item</div>
3482 </div>
3483
3484 <hr class="pf-v6-c-divider pf-m-vertical" />
3485 <div class="pf-v6-c-toolbar__item">Item</div>
3486 <div class="pf-v6-c-toolbar__item">Item</div>
3487 <div class="pf-v6-c-toolbar__item">Item</div>
3488 </div>
3489 </div>
3490 </div>
3491
3492 ```
3493
3494 ### No background
3495
3496 ```html
3497 <div
3498 class="pf-v6-c-toolbar pf-m-no-background"
3499 id="toolbar-no-background-example"
3500 >
3501 <div class="pf-v6-c-toolbar__content">
3502 <div class="pf-v6-c-toolbar__content-section">
3503 <div class="pf-v6-c-toolbar__item">Item</div>
3504 <div class="pf-v6-c-toolbar__item">Item</div>
3505 <div class="pf-v6-c-toolbar__item">Item</div>
3506 <hr class="pf-v6-c-divider pf-m-vertical" />
3507
3508 <div class="pf-v6-c-toolbar__group">
3509 <div class="pf-v6-c-toolbar__item">Item</div>
3510 <div class="pf-v6-c-toolbar__item">Item</div>
3511 <div class="pf-v6-c-toolbar__item">Item</div>
3512 </div>
3513
3514 <hr class="pf-v6-c-divider pf-m-vertical" />
3515 <div class="pf-v6-c-toolbar__item">Item</div>
3516 <div class="pf-v6-c-toolbar__item">Item</div>
3517 <div class="pf-v6-c-toolbar__item">Item</div>
3518 </div>
3519 </div>
3520 </div>
3521
3522 ```
3523
3524 ### Sticky toolbar
3525
3526 ```html
3527 <div class="pf-v6-c-toolbar pf-m-sticky" id="toolbar-sticky-example">
3528 <div class="pf-v6-c-toolbar__content">
3529 <div class="pf-v6-c-toolbar__content-section">
3530 <div class="pf-v6-c-toolbar__item">Item</div>
3531 <div class="pf-v6-c-toolbar__item">Item</div>
3532 <div class="pf-v6-c-toolbar__item">Item</div>
3533 <hr class="pf-v6-c-divider pf-m-vertical" />
3534
3535 <div class="pf-v6-c-toolbar__group">
3536 <div class="pf-v6-c-toolbar__item">Item</div>
3537 <div class="pf-v6-c-toolbar__item">Item</div>
3538 <div class="pf-v6-c-toolbar__item">Item</div>
3539 </div>
3540
3541 <hr class="pf-v6-c-divider pf-m-vertical" />
3542 <div class="pf-v6-c-toolbar__item">Item</div>
3543 <div class="pf-v6-c-toolbar__item">Item</div>
3544 <div class="pf-v6-c-toolbar__item">Item</div>
3545 </div>
3546 </div>
3547 </div>
3548 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempor mattis massa dignissim blandit. Mauris pellentesque nisi a erat ultricies, mollis auctor nulla volutpat. Donec eu nisl magna. Donec nisi nulla, blandit et mauris in, lobortis elementum neque. Nunc pharetra eleifend purus, in commodo nisl accumsan in. Vestibulum feugiat nisl eu venenatis feugiat. Morbi ornare velit vitae tellus sollicitudin, sed ornare neque sagittis. Proin sodales, libero et vestibulum luctus, nunc mi euismod dui, vel accumsan lacus odio vel nibh. Etiam at mattis purus, sit amet vestibulum metus. Maecenas feugiat condimentum ligula eget hendrerit. Nullam eleifend convallis sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Nullam rhoncus consectetur enim, at interdum mi tincidunt eget. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
3549 <br />
3550 <br />
3551 Maecenas vel sollicitudin ipsum, pulvinar pharetra magna. Aenean vel ipsum vel purus malesuada sagittis eget ac odio. Nullam vitae diam mollis, consectetur est vitae, sodales diam. Vivamus eu lectus quis mi maximus porta. Praesent erat sapien, vestibulum nec libero non, tincidunt congue mauris. Pellentesque vitae imperdiet mi. Nulla in ipsum neque. Cras a quam ut sem venenatis euismod non at tortor. Mauris porta purus augue, ut pharetra elit varius at. Vestibulum fringilla ligula ac leo tristique, porta venenatis nibh convallis.
3552 <br />
3553 <br />
3554 Vestibulum vel orci mattis magna tristique suscipit. In vel tellus tempor, consectetur mi at, pellentesque enim. Cras venenatis tellus eget velit porttitor, sit amet malesuada tortor venenatis. Maecenas vitae augue ac orci volutpat gravida. In fermentum, orci eget tincidunt lobortis, turpis orci porta nibh, cursus dignissim lectus sapien at felis. Nulla facilisi. Aenean lectus justo, pellentesque sed nulla ut, pulvinar pellentesque tortor. Ut tempus euismod dolor gravida rhoncus. Quisque sed lorem sit amet erat tincidunt aliquet quis in nulla. Maecenas arcu erat, hendrerit a dui eget, convallis pharetra sapien. Nunc tellus enim, dictum eu egestas vel, ultrices eget est. Etiam quis vehicula sem. Nulla facilisi. Donec ante ipsum, fringilla iaculis ex a, tincidunt lobortis mi.
3555 <br />
3556 <br />
3557 Etiam nulla lacus, porttitor vel volutpat et, malesuada id nunc. Suspendisse porttitor sem quis ante consequat, vitae commodo nulla ultricies. Nulla fermentum ipsum ac dolor elementum, eu luctus ex condimentum. Sed sed arcu aliquam, porta metus in, sollicitudin felis. Sed faucibus lacus consectetur orci ultricies laoreet. Morbi sed lectus dictum sem tempor porta. Donec ut diam tempor, venenatis erat vitae, accumsan diam. Etiam sed purus eget lacus vehicula iaculis non euismod dolor. Quisque ultricies eget est in semper.
3558 <br />
3559 <br />Fusce tristique nulla id vestibulum maximus. Morbi sit amet nisi nec orci pulvinar interdum. Duis convallis, nunc vel pharetra blandit, urna neque eleifend nunc, maximus faucibus tellus nisl a velit. Aliquam quis turpis tempor nisi ultricies fermentum at et ipsum. Pellentesque vel tincidunt nisl. Donec elit ante, sodales ac ultrices vitae, egestas ut magna. Nulla sollicitudin ornare mi, a porttitor sem fermentum vitae. Praesent maximus fringilla gravida. Sed ultricies turpis ut lacus sodales, et aliquet risus accumsan. Pellentesque lacus sapien, cursus vitae nulla vel, bibendum tristique risus.
3560
3561 ```
3562
3563 ### Dynamic sticky toolbar
3564
3565 This example shows the use of `.pf-m-sticky-base` and `.pf-m-sticky-stuck`. `.pf-m-sticky-stuck` can be applied dynamically as the page has scrolled to only show sticky styles when the toolbar is "stuck" and floating above the content.
3566
3567 ```html
3568 <div
3569 class="pf-v6-c-toolbar pf-m-sticky-base pf-m-sticky-stuck"
3570 id="toolbar-sticky-stuck-example"
3571 >
3572 <div class="pf-v6-c-toolbar__content">
3573 <div class="pf-v6-c-toolbar__content-section">
3574 <div class="pf-v6-c-toolbar__item">Item</div>
3575 <div class="pf-v6-c-toolbar__item">Item</div>
3576 <div class="pf-v6-c-toolbar__item">Item</div>
3577 <hr class="pf-v6-c-divider pf-m-vertical" />
3578
3579 <div class="pf-v6-c-toolbar__group">
3580 <div class="pf-v6-c-toolbar__item">Item</div>
3581 <div class="pf-v6-c-toolbar__item">Item</div>
3582 <div class="pf-v6-c-toolbar__item">Item</div>
3583 </div>
3584
3585 <hr class="pf-v6-c-divider pf-m-vertical" />
3586 <div class="pf-v6-c-toolbar__item">Item</div>
3587 <div class="pf-v6-c-toolbar__item">Item</div>
3588 <div class="pf-v6-c-toolbar__item">Item</div>
3589 </div>
3590 </div>
3591 </div>
3592 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempor mattis massa dignissim blandit. Mauris pellentesque nisi a erat ultricies, mollis auctor nulla volutpat. Donec eu nisl magna. Donec nisi nulla, blandit et mauris in, lobortis elementum neque. Nunc pharetra eleifend purus, in commodo nisl accumsan in. Vestibulum feugiat nisl eu venenatis feugiat. Morbi ornare velit vitae tellus sollicitudin, sed ornare neque sagittis. Proin sodales, libero et vestibulum luctus, nunc mi euismod dui, vel accumsan lacus odio vel nibh. Etiam at mattis purus, sit amet vestibulum metus. Maecenas feugiat condimentum ligula eget hendrerit. Nullam eleifend convallis sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Nullam rhoncus consectetur enim, at interdum mi tincidunt eget. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
3593 <br />
3594 <br />
3595 Maecenas vel sollicitudin ipsum, pulvinar pharetra magna. Aenean vel ipsum vel purus malesuada sagittis eget ac odio. Nullam vitae diam mollis, consectetur est vitae, sodales diam. Vivamus eu lectus quis mi maximus porta. Praesent erat sapien, vestibulum nec libero non, tincidunt congue mauris. Pellentesque vitae imperdiet mi. Nulla in ipsum neque. Cras a quam ut sem venenatis euismod non at tortor. Mauris porta purus augue, ut pharetra elit varius at. Vestibulum fringilla ligula ac leo tristique, porta venenatis nibh convallis.
3596 <br />
3597 <br />
3598 Vestibulum vel orci mattis magna tristique suscipit. In vel tellus tempor, consectetur mi at, pellentesque enim. Cras venenatis tellus eget velit porttitor, sit amet malesuada tortor venenatis. Maecenas vitae augue ac orci volutpat gravida. In fermentum, orci eget tincidunt lobortis, turpis orci porta nibh, cursus dignissim lectus sapien at felis. Nulla facilisi. Aenean lectus justo, pellentesque sed nulla ut, pulvinar pellentesque tortor. Ut tempus euismod dolor gravida rhoncus. Quisque sed lorem sit amet erat tincidunt aliquet quis in nulla. Maecenas arcu erat, hendrerit a dui eget, convallis pharetra sapien. Nunc tellus enim, dictum eu egestas vel, ultrices eget est. Etiam quis vehicula sem. Nulla facilisi. Donec ante ipsum, fringilla iaculis ex a, tincidunt lobortis mi.
3599 <br />
3600 <br />
3601 Etiam nulla lacus, porttitor vel volutpat et, malesuada id nunc. Suspendisse porttitor sem quis ante consequat, vitae commodo nulla ultricies. Nulla fermentum ipsum ac dolor elementum, eu luctus ex condimentum. Sed sed arcu aliquam, porta metus in, sollicitudin felis. Sed faucibus lacus consectetur orci ultricies laoreet. Morbi sed lectus dictum sem tempor porta. Donec ut diam tempor, venenatis erat vitae, accumsan diam. Etiam sed purus eget lacus vehicula iaculis non euismod dolor. Quisque ultricies eget est in semper.
3602 <br />
3603 <br />Fusce tristique nulla id vestibulum maximus. Morbi sit amet nisi nec orci pulvinar interdum. Duis convallis, nunc vel pharetra blandit, urna neque eleifend nunc, maximus faucibus tellus nisl a velit. Aliquam quis turpis tempor nisi ultricies fermentum at et ipsum. Pellentesque vel tincidunt nisl. Donec elit ante, sodales ac ultrices vitae, egestas ut magna. Nulla sollicitudin ornare mi, a porttitor sem fermentum vitae. Praesent maximus fringilla gravida. Sed ultricies turpis ut lacus sodales, et aliquet risus accumsan. Pellentesque lacus sapien, cursus vitae nulla vel, bibendum tristique risus.
3604
3605 ```
3606
3607 ### Vertical
3608
3609 ```html isBeta
3610 <div class="pf-v6-c-toolbar pf-m-vertical" id="toolbar-vertical-example">
3611 <div class="pf-v6-c-toolbar__content">
3612 <div class="pf-v6-c-toolbar__content-section">
3613 <div class="pf-v6-c-toolbar__item">Item</div>
3614 <div class="pf-v6-c-toolbar__item">Item</div>
3615 <div class="pf-v6-c-toolbar__item">Item</div>
3616 <hr class="pf-v6-c-divider" />
3617
3618 <div class="pf-v6-c-toolbar__group">
3619 <div class="pf-v6-c-toolbar__item">Item</div>
3620 <div class="pf-v6-c-toolbar__item">Item</div>
3621 <div class="pf-v6-c-toolbar__item">Item</div>
3622 </div>
3623
3624 <hr class="pf-v6-c-divider" />
3625 <div class="pf-v6-c-toolbar__item">Item</div>
3626 <div class="pf-v6-c-toolbar__item">Item</div>
3627 <div class="pf-v6-c-toolbar__item">Item</div>
3628 </div>
3629 </div>
3630 </div>
3631
3632 ```
3633
3634 ### Vertical with height visibility breakpoints
3635
3636 Visibility can be set per breakpoint to show or hide items and groups based on viewport height.
3637
3638 ```html isBeta
3639 <div
3640 class="pf-v6-c-toolbar pf-m-vertical"
3641 id="toolbar-vertical-height-toggle-example"
3642 >
3643 <div class="pf-v6-c-toolbar__content">
3644 <div class="pf-v6-c-toolbar__content-section">
3645 <div class="pf-v6-c-toolbar__item">Item</div>
3646 <div class="pf-v6-c-toolbar__item">Item</div>
3647 <div class="pf-v6-c-toolbar__item">Item</div>
3648 <hr class="pf-v6-c-divider" />
3649
3650 <div class="pf-v6-c-toolbar__group">
3651 <div class="pf-v6-c-toolbar__item">Item</div>
3652 <div class="pf-v6-c-toolbar__item">Item</div>
3653 <div
3654 class="pf-v6-c-toolbar__item pf-m-hidden pf-m-visible-on-md-height"
3655 >Item (hidden below md)</div>
3656 </div>
3657
3658 <hr class="pf-v6-c-divider" />
3659
3660 <div class="pf-v6-c-toolbar__group pf-m-hidden pf-m-visible-on-lg-height">
3661 <div class="pf-v6-c-toolbar__item">Item (hidden below lg)</div>
3662 <div class="pf-v6-c-toolbar__item">Item (hidden below lg)</div>
3663 <div class="pf-v6-c-toolbar__item">Item (hidden below lg)</div>
3664 </div>
3665 </div>
3666 </div>
3667 </div>
3668
3669 ```
3670
3671 ## Documentation
3672
3673 ### Overview
3674
3675 As the toolbar component is a hybrid layout and component, some of its elements are presentational, while some require accessibility support.
3676
3677 ### Usage
3678
3679 | Class | Applied to | Outcome |
3680 | -- | -- | -- |
3681 | `.pf-v6-c-toolbar` | `<div>` | Initiates the toolbar component. **Required** |
3682 | `.pf-v6-c-toolbar__item` | `<div>` | Initiates a toolbar item. **Required** |
3683 | `.pf-v6-c-toolbar__group` | `<div>` | Initiates a toolbar group. |
3684 | `.pf-v6-c-toolbar__content` | `<div>` | Initiates a toolbar content container. **Required** |
3685 | `.pf-v6-c-toolbar__content-section` | `<div>` | Initiates a toolbar content section. This is used to separate static elements from dynamic elements within a content container. There should be no more than one `.pf-v6-c-toolbar__content-section` per `.pf-v6-c-toolbar__content` **Required** |
3686 | `.pf-v6-c-toolbar__expandable-content` | `<div>` | Initiates a toolbar expandable content section. |
3687 | `.pf-v6-c-toolbar__expand-all-icon` | `<div>` | Initiates a toolbar expand all icon. |
3688 | `.pf-m-sticky` | `.pf-v6-c-toolbar` | Modifies toolbar component to be sticky to the top of its container. |
3689 | `.pf-m-full-height` | `.pf-v6-c-toolbar`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group` | Modifies toolbar component to full height of its container and removes vertical padding. |
3690 | `.pf-m-static` | `.pf-v6-c-toolbar` | Modifies expandable content section to position itself to the nearest absolutely positioned parent outside of the toolbar component. This is used primarily for masthead toolbar. |
3691 | `.pf-m-primary` | `.pf-v6-c-toolbar` | Modifies toolbar to have primary background color. |
3692 | `.pf-m-secondary` | `.pf-v6-c-toolbar` | Modifies toolbar to have secondary background color. |
3693 | `.pf-m-no-padding` | `.pf-v6-c-toolbar` | Modifies toolbar to have no padding. |
3694 | `.pf-m-no-background` | `.pf-v6-c-toolbar` | Modifies toolbar to have no background color. |
3695 | `.pf-m-vertical` | `.pf-v6-c-toolbar` | Modifies toolbar for a vertical layout. |
3696 | `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content` | Modifies expandable content section for the expanded state. |
3697 | `.pf-m-expanded` | `.pf-v6-c-toolbar__item.pf-m-expand-all` | Modifies an expand all button for the expanded state. |
3698 | `.pf-m-action-group` | `.pf-v6-c-toolbar__group` | Initiates action group spacing. |
3699 | `.pf-m-action-group-inline` | `.pf-v6-c-toolbar__group` | Initiates inline action group spacing. |
3700 | `.pf-m-action-group-plain` | `.pf-v6-c-toolbar__group` | Initiates plain action group spacing. |
3701 | `.pf-m-filter-group` | `.pf-v6-c-toolbar__group` | Initiates filter group spacing. |
3702 | `.pf-m-label` | `.pf-v6-c-toolbar__item` | Initiates label item presenatation. |
3703 | `.pf-m-label-group` | `.pf-v6-c-toolbar__group` | Initiates label group spacing. |
3704 | `.pf-m-overflow-container` | `.pf-v6-c-toolbar__item`, `.pf-v6-c-toolbar__group` | Modifies the toolbar element to hide overflow and respond to available space. Used for horizontal navigation. |
3705 | `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content`, `.pf-v6-c-toolbar__toggle` | Modifies the component for the expanded state. |
3706 | `.pf-m-[wrap/nowrap]` | `.pf-v6-c-toolbar__content`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies the toolbar element to wrap/not wrap. |
3707 | `.pf-m-align-[start/center/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar [main axis](https://developer.mozilla.org/en-US/docs/Glossary/Main_Axis) element alignment. |
3708 | `.pf-m-align-items-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__content`, `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) child alignment. |
3709 | `.pf-m-align-self-[stretch/baseline/start/center/end]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar element [cross axis](https://developer.mozilla.org/en-US/docs/Glossary/Cross_Axis) self alignment. |
3710 | `.pf-m-inset-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar` | Modifies toolbar horizontal. |
3711
3712 ### Accessibility
3713
3714 | Attribute | Applied to | Outcome |
3715 | -- | -- | -- |
3716 | `hidden` | `.pf-v6-c-toolbar__item`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__toggle`, `.pf-v6-c-toolbar__expandable-content` | Indicates that the toolbar element is hidden. **Required** |
3717 | `aria-expanded="[true/false]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Indicates the the expandable content is hidden/visible. **Required** |
3718 | `aria-controls="[id of expandable content]"` | `.pf-v6-c-toolbar__toggle > .pf-v6-c-button` | Identifies the expanded content controlled by the toggle button. **Required** |
3719 | `id="[expandable-content_id]"` | `.pf-v6-c-toolbar__expandable-content` | Provides a reference for toggle button description. **Required** |
3720 | `aria-label="Expand all"` | `.pf-v6-c-toolbar__item.pf-m-expand-all` | Provides an accessible label for the expand all item button. **Required** |
3721 | `aria-label="Collapse all"` | `.pf-v6-c-toolbar__item.pf-m-expand-all.pf-m-expanded` | Provides an accessible label for the expand all item button. **Required** |
3722
3723 ### Toggle group usage
3724
3725 | Class | Applied to | Outcome |
3726 | -- | -- | -- |
3727 | `.pf-m-toggle-group` | `.pf-v6-c-toolbar__group` | Modifies toolbar group to control when, and at which breakpoint, filters will be hidden/shown. By default, all filters are hidden until the specified breakpoint is reached. |
3728 | `.pf-m-[show/hide]` | `.pf-v6-c-toolbar__group.pf-m-toggle-group`, `.pf-v6-c-toolbar__expandable-content` | Modifies toolbar element to hidden. |
3729
3730 ### Spacer system
3731
3732 | Class | Applied to | Outcome |
3733 | -- | -- | -- |
3734 | `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar group or item spacing at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
3735 | `.pf-m-gap-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies both column and row gap for toolbar group or item spacing at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |