Debian Codegraph @

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

raw
1 ---
2 id: Pagination
3 section: components
4 cssPrefix: pf-v6-c-pagination
5 ---## Examples
6
7 ### Top
8
9 ```html
10 <div class="pf-v6-c-pagination">
11 <div class="pf-v6-c-pagination__total-items">
12 <b>1 - 10</b>&nbsp;of&nbsp;
13 <b>36</b>
14 </div>
15 <div class="pf-v6-c-pagination__page-menu">
16 <button
17 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
18 type="button"
19 aria-expanded="false"
20 id="pagination-menu-toggle-top-example"
21 >
22 <span class="pf-v6-c-menu-toggle__text">
23 <b>1 - 10</b>&nbsp;of&nbsp;
24 <b>36</b>
25 </span>
26 <span class="pf-v6-c-menu-toggle__controls">
27 <span class="pf-v6-c-menu-toggle__toggle-icon">
28 <svg
29 class="pf-v6-svg"
30 fill="currentColor"
31 viewBox="0 0 20 20"
32 aria-hidden="true"
33 role="img"
34 width="1em"
35 height="1em"
36 >
37 <path
38 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"
39 />
40 </svg>
41 </span>
42 </span>
43 </button>
44 </div>
45 <nav
46 class="pf-v6-c-pagination__nav"
47 aria-label="Pagination nav - top example"
48 >
49 <div class="pf-v6-c-pagination__nav-control pf-m-first">
50 <button
51 class="pf-v6-c-button pf-m-plain"
52 type="button"
53 disabled
54 aria-label="Go to first page"
55 >
56 <span class="pf-v6-c-button__icon">
57 <svg
58 class="pf-v6-svg"
59 fill="currentColor"
60 viewBox="0 0 20 20"
61 aria-hidden="true"
62 role="img"
63 width="1em"
64 height="1em"
65 >
66 <path
67 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"
68 />
69 </svg>
70 </span>
71 </button>
72 </div>
73 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
74 <button
75 class="pf-v6-c-button pf-m-plain"
76 type="button"
77 disabled
78 aria-label="Go to previous page"
79 >
80 <span class="pf-v6-c-button__icon">
81 <svg
82 class="pf-v6-svg"
83 fill="currentColor"
84 viewBox="0 0 20 20"
85 aria-hidden="true"
86 role="img"
87 width="1em"
88 height="1em"
89 >
90 <path
91 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"
92 />
93 </svg>
94 </span>
95 </button>
96 </div>
97 <div class="pf-v6-c-pagination__nav-page-select">
98 <span class="pf-v6-c-form-control">
99 <input
100 aria-label="Current page"
101 type="number"
102 min="1"
103 max="4"
104 value="1"
105 />
106 </span>
107 <span aria-hidden="true">of 4</span>
108 </div>
109 <div class="pf-v6-c-pagination__nav-control pf-m-next">
110 <button
111 class="pf-v6-c-button pf-m-plain"
112 type="button"
113 aria-label="Go to next page"
114 >
115 <span class="pf-v6-c-button__icon">
116 <svg
117 class="pf-v6-svg"
118 fill="currentColor"
119 viewBox="0 0 20 20"
120 aria-hidden="true"
121 role="img"
122 width="1em"
123 height="1em"
124 >
125 <path
126 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"
127 />
128 </svg>
129 </span>
130 </button>
131 </div>
132 <div class="pf-v6-c-pagination__nav-control pf-m-last">
133 <button
134 class="pf-v6-c-button pf-m-plain"
135 type="button"
136 disabled
137 aria-label="Go to last page"
138 >
139 <span class="pf-v6-c-button__icon">
140 <svg
141 class="pf-v6-svg"
142 fill="currentColor"
143 viewBox="0 0 20 20"
144 aria-hidden="true"
145 role="img"
146 width="1em"
147 height="1em"
148 >
149 <path
150 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"
151 />
152 </svg>
153 </span>
154 </button>
155 </div>
156 </nav>
157 </div>
158
159 ```
160
161 ### Top sticky
162
163 ```html
164 <div class="pf-v6-c-pagination pf-m-sticky">
165 <div class="pf-v6-c-pagination__total-items">
166 <b>1 - 10</b>&nbsp;of&nbsp;
167 <b>36</b>
168 </div>
169 <div class="pf-v6-c-pagination__page-menu">
170 <button
171 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
172 type="button"
173 aria-expanded="false"
174 id="pagination-menu-toggle-top-sticky-example"
175 >
176 <span class="pf-v6-c-menu-toggle__text">
177 <b>1 - 10</b>&nbsp;of&nbsp;
178 <b>36</b>
179 </span>
180 <span class="pf-v6-c-menu-toggle__controls">
181 <span class="pf-v6-c-menu-toggle__toggle-icon">
182 <svg
183 class="pf-v6-svg"
184 fill="currentColor"
185 viewBox="0 0 20 20"
186 aria-hidden="true"
187 role="img"
188 width="1em"
189 height="1em"
190 >
191 <path
192 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"
193 />
194 </svg>
195 </span>
196 </span>
197 </button>
198 </div>
199 <nav
200 class="pf-v6-c-pagination__nav"
201 aria-label="Pagination nav - top sticky example"
202 >
203 <div class="pf-v6-c-pagination__nav-control pf-m-first">
204 <button
205 class="pf-v6-c-button pf-m-plain"
206 type="button"
207 disabled
208 aria-label="Go to first page"
209 >
210 <span class="pf-v6-c-button__icon">
211 <svg
212 class="pf-v6-svg"
213 fill="currentColor"
214 viewBox="0 0 20 20"
215 aria-hidden="true"
216 role="img"
217 width="1em"
218 height="1em"
219 >
220 <path
221 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"
222 />
223 </svg>
224 </span>
225 </button>
226 </div>
227 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
228 <button
229 class="pf-v6-c-button pf-m-plain"
230 type="button"
231 disabled
232 aria-label="Go to previous page"
233 >
234 <span class="pf-v6-c-button__icon">
235 <svg
236 class="pf-v6-svg"
237 fill="currentColor"
238 viewBox="0 0 20 20"
239 aria-hidden="true"
240 role="img"
241 width="1em"
242 height="1em"
243 >
244 <path
245 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"
246 />
247 </svg>
248 </span>
249 </button>
250 </div>
251 <div class="pf-v6-c-pagination__nav-page-select">
252 <span class="pf-v6-c-form-control">
253 <input
254 aria-label="Current page"
255 type="number"
256 min="1"
257 max="4"
258 value="1"
259 />
260 </span>
261 <span aria-hidden="true">of 4</span>
262 </div>
263 <div class="pf-v6-c-pagination__nav-control pf-m-next">
264 <button
265 class="pf-v6-c-button pf-m-plain"
266 type="button"
267 aria-label="Go to next page"
268 >
269 <span class="pf-v6-c-button__icon">
270 <svg
271 class="pf-v6-svg"
272 fill="currentColor"
273 viewBox="0 0 20 20"
274 aria-hidden="true"
275 role="img"
276 width="1em"
277 height="1em"
278 >
279 <path
280 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"
281 />
282 </svg>
283 </span>
284 </button>
285 </div>
286 <div class="pf-v6-c-pagination__nav-control pf-m-last">
287 <button
288 class="pf-v6-c-button pf-m-plain"
289 type="button"
290 disabled
291 aria-label="Go to last page"
292 >
293 <span class="pf-v6-c-button__icon">
294 <svg
295 class="pf-v6-svg"
296 fill="currentColor"
297 viewBox="0 0 20 20"
298 aria-hidden="true"
299 role="img"
300 width="1em"
301 height="1em"
302 >
303 <path
304 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"
305 />
306 </svg>
307 </span>
308 </button>
309 </div>
310 </nav>
311 </div>
312 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
313 <br />
314 <br />
315 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
316 <br />
317 <br />
318 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
319 <br />
320 <br />
321 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
322
323 ```
324
325 ### Indeterminate (item count is not known)
326
327 ```html
328 <div class="pf-v6-c-pagination">
329 <div class="pf-v6-c-pagination__total-items">
330 <b>1 - 10</b>&nbsp;of&nbsp;
331 <b>many</b>
332 </div>
333 <div class="pf-v6-c-pagination__page-menu">
334 <button
335 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
336 type="button"
337 aria-expanded="false"
338 id="pagination-menu-toggle-top-indeterminate-example"
339 >
340 <span class="pf-v6-c-menu-toggle__text">
341 <b>1 - 10</b>&nbsp;of&nbsp;
342 <b>many</b>
343 </span>
344 <span class="pf-v6-c-menu-toggle__controls">
345 <span class="pf-v6-c-menu-toggle__toggle-icon">
346 <svg
347 class="pf-v6-svg"
348 fill="currentColor"
349 viewBox="0 0 20 20"
350 aria-hidden="true"
351 role="img"
352 width="1em"
353 height="1em"
354 >
355 <path
356 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"
357 />
358 </svg>
359 </span>
360 </span>
361 </button>
362 </div>
363 <nav
364 class="pf-v6-c-pagination__nav"
365 aria-label="Pagination nav - indeterminate item count example"
366 >
367 <div class="pf-v6-c-pagination__nav-control pf-m-first">
368 <button
369 class="pf-v6-c-button pf-m-plain"
370 type="button"
371 disabled
372 aria-label="Go to first page"
373 >
374 <span class="pf-v6-c-button__icon">
375 <svg
376 class="pf-v6-svg"
377 fill="currentColor"
378 viewBox="0 0 20 20"
379 aria-hidden="true"
380 role="img"
381 width="1em"
382 height="1em"
383 >
384 <path
385 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"
386 />
387 </svg>
388 </span>
389 </button>
390 </div>
391 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
392 <button
393 class="pf-v6-c-button pf-m-plain"
394 type="button"
395 disabled
396 aria-label="Go to previous page"
397 >
398 <span class="pf-v6-c-button__icon">
399 <svg
400 class="pf-v6-svg"
401 fill="currentColor"
402 viewBox="0 0 20 20"
403 aria-hidden="true"
404 role="img"
405 width="1em"
406 height="1em"
407 >
408 <path
409 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"
410 />
411 </svg>
412 </span>
413 </button>
414 </div>
415 <div class="pf-v6-c-pagination__nav-page-select">
416 <span class="pf-v6-c-form-control">
417 <input
418 aria-label="Current page"
419 type="number"
420 min="1"
421 max="4"
422 value="1"
423 />
424 </span>
425 </div>
426 <div class="pf-v6-c-pagination__nav-control pf-m-next">
427 <button
428 class="pf-v6-c-button pf-m-plain"
429 type="button"
430 aria-label="Go to next page"
431 >
432 <span class="pf-v6-c-button__icon">
433 <svg
434 class="pf-v6-svg"
435 fill="currentColor"
436 viewBox="0 0 20 20"
437 aria-hidden="true"
438 role="img"
439 width="1em"
440 height="1em"
441 >
442 <path
443 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"
444 />
445 </svg>
446 </span>
447 </button>
448 </div>
449 <div class="pf-v6-c-pagination__nav-control pf-m-last">
450 <button
451 class="pf-v6-c-button pf-m-plain"
452 type="button"
453 disabled
454 aria-label="Go to last page"
455 >
456 <span class="pf-v6-c-button__icon">
457 <svg
458 class="pf-v6-svg"
459 fill="currentColor"
460 viewBox="0 0 20 20"
461 aria-hidden="true"
462 role="img"
463 width="1em"
464 height="1em"
465 >
466 <path
467 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"
468 />
469 </svg>
470 </span>
471 </button>
472 </div>
473 </nav>
474 </div>
475
476 ```
477
478 ### Bottom
479
480 ```html
481 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
482 <br />
483 <br />
484 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
485 <br />
486 <br />
487 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
488 <br />
489 <br />
490 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
491 <div class="pf-v6-c-pagination pf-m-bottom">
492 <div class="pf-v6-c-pagination__page-menu">
493 <button
494 class="pf-v6-c-menu-toggle pf-m-top pf-m-text pf-m-plain"
495 type="button"
496 aria-expanded="false"
497 id="pagination-menu-toggle-bottom-example"
498 >
499 <span class="pf-v6-c-menu-toggle__text">
500 <b>1 - 10</b>&nbsp;of&nbsp;
501 <b>36</b>
502 </span>
503 <span class="pf-v6-c-menu-toggle__controls">
504 <span class="pf-v6-c-menu-toggle__toggle-icon">
505 <svg
506 class="pf-v6-svg"
507 fill="currentColor"
508 viewBox="0 0 20 20"
509 aria-hidden="true"
510 role="img"
511 width="1em"
512 height="1em"
513 >
514 <path
515 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"
516 />
517 </svg>
518 </span>
519 </span>
520 </button>
521 </div>
522 <nav
523 class="pf-v6-c-pagination__nav"
524 aria-label="Pagination nav - bottom example"
525 >
526 <div class="pf-v6-c-pagination__nav-control pf-m-first">
527 <button
528 class="pf-v6-c-button pf-m-plain"
529 type="button"
530 disabled
531 aria-label="Go to first page"
532 >
533 <span class="pf-v6-c-button__icon">
534 <svg
535 class="pf-v6-svg"
536 fill="currentColor"
537 viewBox="0 0 20 20"
538 aria-hidden="true"
539 role="img"
540 width="1em"
541 height="1em"
542 >
543 <path
544 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"
545 />
546 </svg>
547 </span>
548 </button>
549 </div>
550 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
551 <button
552 class="pf-v6-c-button pf-m-plain"
553 type="button"
554 disabled
555 aria-label="Go to previous page"
556 >
557 <span class="pf-v6-c-button__icon">
558 <svg
559 class="pf-v6-svg"
560 fill="currentColor"
561 viewBox="0 0 20 20"
562 aria-hidden="true"
563 role="img"
564 width="1em"
565 height="1em"
566 >
567 <path
568 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"
569 />
570 </svg>
571 </span>
572 </button>
573 </div>
574 <div class="pf-v6-c-pagination__nav-page-select">
575 <span class="pf-v6-c-form-control">
576 <input
577 aria-label="Current page"
578 type="number"
579 min="1"
580 max="4"
581 value="1"
582 />
583 </span>
584 <span aria-hidden="true">of 4</span>
585 </div>
586 <div class="pf-v6-c-pagination__nav-control pf-m-next">
587 <button
588 class="pf-v6-c-button pf-m-plain"
589 type="button"
590 aria-label="Go to next page"
591 >
592 <span class="pf-v6-c-button__icon">
593 <svg
594 class="pf-v6-svg"
595 fill="currentColor"
596 viewBox="0 0 20 20"
597 aria-hidden="true"
598 role="img"
599 width="1em"
600 height="1em"
601 >
602 <path
603 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"
604 />
605 </svg>
606 </span>
607 </button>
608 </div>
609 <div class="pf-v6-c-pagination__nav-control pf-m-last">
610 <button
611 class="pf-v6-c-button pf-m-plain"
612 type="button"
613 disabled
614 aria-label="Go to last page"
615 >
616 <span class="pf-v6-c-button__icon">
617 <svg
618 class="pf-v6-svg"
619 fill="currentColor"
620 viewBox="0 0 20 20"
621 aria-hidden="true"
622 role="img"
623 width="1em"
624 height="1em"
625 >
626 <path
627 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"
628 />
629 </svg>
630 </span>
631 </button>
632 </div>
633 </nav>
634 </div>
635
636 ```
637
638 ### Bottom sticky
639
640 ```html
641 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
642 <br />
643 <br />
644 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
645 <br />
646 <br />
647 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
648 <br />
649 <br />
650 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
651 <div class="pf-v6-c-pagination pf-m-sticky pf-m-bottom">
652 <div class="pf-v6-c-pagination__page-menu">
653 <button
654 class="pf-v6-c-menu-toggle pf-m-top pf-m-text pf-m-plain"
655 type="button"
656 aria-expanded="false"
657 id="pagination-menu-toggle-bottom-sticky-example"
658 >
659 <span class="pf-v6-c-menu-toggle__text">
660 <b>1 - 10</b>&nbsp;of&nbsp;
661 <b>36</b>
662 </span>
663 <span class="pf-v6-c-menu-toggle__controls">
664 <span class="pf-v6-c-menu-toggle__toggle-icon">
665 <svg
666 class="pf-v6-svg"
667 fill="currentColor"
668 viewBox="0 0 20 20"
669 aria-hidden="true"
670 role="img"
671 width="1em"
672 height="1em"
673 >
674 <path
675 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"
676 />
677 </svg>
678 </span>
679 </span>
680 </button>
681 </div>
682 <nav
683 class="pf-v6-c-pagination__nav"
684 aria-label="Pagination nav - bottom sticky example"
685 >
686 <div class="pf-v6-c-pagination__nav-control pf-m-first">
687 <button
688 class="pf-v6-c-button pf-m-plain"
689 type="button"
690 disabled
691 aria-label="Go to first page"
692 >
693 <span class="pf-v6-c-button__icon">
694 <svg
695 class="pf-v6-svg"
696 fill="currentColor"
697 viewBox="0 0 20 20"
698 aria-hidden="true"
699 role="img"
700 width="1em"
701 height="1em"
702 >
703 <path
704 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"
705 />
706 </svg>
707 </span>
708 </button>
709 </div>
710 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
711 <button
712 class="pf-v6-c-button pf-m-plain"
713 type="button"
714 disabled
715 aria-label="Go to previous page"
716 >
717 <span class="pf-v6-c-button__icon">
718 <svg
719 class="pf-v6-svg"
720 fill="currentColor"
721 viewBox="0 0 20 20"
722 aria-hidden="true"
723 role="img"
724 width="1em"
725 height="1em"
726 >
727 <path
728 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"
729 />
730 </svg>
731 </span>
732 </button>
733 </div>
734 <div class="pf-v6-c-pagination__nav-page-select">
735 <span class="pf-v6-c-form-control">
736 <input
737 aria-label="Current page"
738 type="number"
739 min="1"
740 max="4"
741 value="1"
742 />
743 </span>
744 <span aria-hidden="true">of 4</span>
745 </div>
746 <div class="pf-v6-c-pagination__nav-control pf-m-next">
747 <button
748 class="pf-v6-c-button pf-m-plain"
749 type="button"
750 aria-label="Go to next page"
751 >
752 <span class="pf-v6-c-button__icon">
753 <svg
754 class="pf-v6-svg"
755 fill="currentColor"
756 viewBox="0 0 20 20"
757 aria-hidden="true"
758 role="img"
759 width="1em"
760 height="1em"
761 >
762 <path
763 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"
764 />
765 </svg>
766 </span>
767 </button>
768 </div>
769 <div class="pf-v6-c-pagination__nav-control pf-m-last">
770 <button
771 class="pf-v6-c-button pf-m-plain"
772 type="button"
773 disabled
774 aria-label="Go to last page"
775 >
776 <span class="pf-v6-c-button__icon">
777 <svg
778 class="pf-v6-svg"
779 fill="currentColor"
780 viewBox="0 0 20 20"
781 aria-hidden="true"
782 role="img"
783 width="1em"
784 height="1em"
785 >
786 <path
787 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"
788 />
789 </svg>
790 </span>
791 </button>
792 </div>
793 </nav>
794 </div>
795
796 ```
797
798 ### Top sticky with base and stuck
799
800 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 pagination is "stuck" and floating above the content.
801
802 ```html
803 <div class="pf-v6-c-pagination pf-m-sticky-stuck pf-m-sticky-base">
804 <div class="pf-v6-c-pagination__total-items">
805 <b>1 - 10</b>&nbsp;of&nbsp;
806 <b>36</b>
807 </div>
808 <div class="pf-v6-c-pagination__page-menu">
809 <button
810 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
811 type="button"
812 aria-expanded="false"
813 id="pagination-top-sticky-base-stuck-menu-toggle"
814 >
815 <span class="pf-v6-c-menu-toggle__text">
816 <b>1 - 10</b>&nbsp;of&nbsp;
817 <b>36</b>
818 </span>
819 <span class="pf-v6-c-menu-toggle__controls">
820 <span class="pf-v6-c-menu-toggle__toggle-icon">
821 <svg
822 class="pf-v6-svg"
823 fill="currentColor"
824 viewBox="0 0 20 20"
825 aria-hidden="true"
826 role="img"
827 width="1em"
828 height="1em"
829 >
830 <path
831 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"
832 />
833 </svg>
834 </span>
835 </span>
836 </button>
837 </div>
838 <nav
839 class="pf-v6-c-pagination__nav"
840 aria-label="Pagination nav - top sticky with base and stuck example"
841 >
842 <div class="pf-v6-c-pagination__nav-control pf-m-first">
843 <button
844 class="pf-v6-c-button pf-m-plain"
845 type="button"
846 disabled
847 aria-label="Go to first page"
848 >
849 <span class="pf-v6-c-button__icon">
850 <svg
851 class="pf-v6-svg"
852 fill="currentColor"
853 viewBox="0 0 20 20"
854 aria-hidden="true"
855 role="img"
856 width="1em"
857 height="1em"
858 >
859 <path
860 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"
861 />
862 </svg>
863 </span>
864 </button>
865 </div>
866 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
867 <button
868 class="pf-v6-c-button pf-m-plain"
869 type="button"
870 disabled
871 aria-label="Go to previous page"
872 >
873 <span class="pf-v6-c-button__icon">
874 <svg
875 class="pf-v6-svg"
876 fill="currentColor"
877 viewBox="0 0 20 20"
878 aria-hidden="true"
879 role="img"
880 width="1em"
881 height="1em"
882 >
883 <path
884 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"
885 />
886 </svg>
887 </span>
888 </button>
889 </div>
890 <div class="pf-v6-c-pagination__nav-page-select">
891 <span class="pf-v6-c-form-control">
892 <input
893 aria-label="Current page"
894 type="number"
895 min="1"
896 max="4"
897 value="1"
898 />
899 </span>
900 <span aria-hidden="true">of 4</span>
901 </div>
902 <div class="pf-v6-c-pagination__nav-control pf-m-next">
903 <button
904 class="pf-v6-c-button pf-m-plain"
905 type="button"
906 aria-label="Go to next page"
907 >
908 <span class="pf-v6-c-button__icon">
909 <svg
910 class="pf-v6-svg"
911 fill="currentColor"
912 viewBox="0 0 20 20"
913 aria-hidden="true"
914 role="img"
915 width="1em"
916 height="1em"
917 >
918 <path
919 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"
920 />
921 </svg>
922 </span>
923 </button>
924 </div>
925 <div class="pf-v6-c-pagination__nav-control pf-m-last">
926 <button
927 class="pf-v6-c-button pf-m-plain"
928 type="button"
929 disabled
930 aria-label="Go to last page"
931 >
932 <span class="pf-v6-c-button__icon">
933 <svg
934 class="pf-v6-svg"
935 fill="currentColor"
936 viewBox="0 0 20 20"
937 aria-hidden="true"
938 role="img"
939 width="1em"
940 height="1em"
941 >
942 <path
943 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"
944 />
945 </svg>
946 </span>
947 </button>
948 </div>
949 </nav>
950 </div>
951 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
952 <br />
953 <br />
954 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
955 <br />
956 <br />
957 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
958 <br />
959 <br />
960 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
961
962 ```
963
964 ### Bottom sticky with base and stuck
965
966 This example shows the use of `.pf-m-sticky-base` and `.pf-m-sticky-stuck` on bottom pagination. Like top pagination,`.pf-m-sticky-stuck` can be applied dynamically as the page has scrolled to only show sticky styles when the bottom pagination is "stuck" and floating above the content.
967
968 ```html
969 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
970 <br />
971 <br />
972 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
973 <br />
974 <br />
975 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
976 <br />
977 <br />
978 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
979 <div class="pf-v6-c-pagination pf-m-sticky-stuck pf-m-sticky-base pf-m-bottom">
980 <div class="pf-v6-c-pagination__page-menu">
981 <button
982 class="pf-v6-c-menu-toggle pf-m-top pf-m-text pf-m-plain"
983 type="button"
984 aria-expanded="false"
985 id="pagination-bottom-sticky-base-stuck-menu-toggle"
986 >
987 <span class="pf-v6-c-menu-toggle__text">
988 <b>1 - 10</b>&nbsp;of&nbsp;
989 <b>36</b>
990 </span>
991 <span class="pf-v6-c-menu-toggle__controls">
992 <span class="pf-v6-c-menu-toggle__toggle-icon">
993 <svg
994 class="pf-v6-svg"
995 fill="currentColor"
996 viewBox="0 0 20 20"
997 aria-hidden="true"
998 role="img"
999 width="1em"
1000 height="1em"
1001 >
1002 <path
1003 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"
1004 />
1005 </svg>
1006 </span>
1007 </span>
1008 </button>
1009 </div>
1010 <nav
1011 class="pf-v6-c-pagination__nav"
1012 aria-label="Pagination nav - bottom sticky with base and stuck example"
1013 >
1014 <div class="pf-v6-c-pagination__nav-control pf-m-first">
1015 <button
1016 class="pf-v6-c-button pf-m-plain"
1017 type="button"
1018 disabled
1019 aria-label="Go to first page"
1020 >
1021 <span class="pf-v6-c-button__icon">
1022 <svg
1023 class="pf-v6-svg"
1024 fill="currentColor"
1025 viewBox="0 0 20 20"
1026 aria-hidden="true"
1027 role="img"
1028 width="1em"
1029 height="1em"
1030 >
1031 <path
1032 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"
1033 />
1034 </svg>
1035 </span>
1036 </button>
1037 </div>
1038 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
1039 <button
1040 class="pf-v6-c-button pf-m-plain"
1041 type="button"
1042 disabled
1043 aria-label="Go to previous page"
1044 >
1045 <span class="pf-v6-c-button__icon">
1046 <svg
1047 class="pf-v6-svg"
1048 fill="currentColor"
1049 viewBox="0 0 20 20"
1050 aria-hidden="true"
1051 role="img"
1052 width="1em"
1053 height="1em"
1054 >
1055 <path
1056 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"
1057 />
1058 </svg>
1059 </span>
1060 </button>
1061 </div>
1062 <div class="pf-v6-c-pagination__nav-page-select">
1063 <span class="pf-v6-c-form-control">
1064 <input
1065 aria-label="Current page"
1066 type="number"
1067 min="1"
1068 max="4"
1069 value="1"
1070 />
1071 </span>
1072 <span aria-hidden="true">of 4</span>
1073 </div>
1074 <div class="pf-v6-c-pagination__nav-control pf-m-next">
1075 <button
1076 class="pf-v6-c-button pf-m-plain"
1077 type="button"
1078 aria-label="Go to next page"
1079 >
1080 <span class="pf-v6-c-button__icon">
1081 <svg
1082 class="pf-v6-svg"
1083 fill="currentColor"
1084 viewBox="0 0 20 20"
1085 aria-hidden="true"
1086 role="img"
1087 width="1em"
1088 height="1em"
1089 >
1090 <path
1091 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"
1092 />
1093 </svg>
1094 </span>
1095 </button>
1096 </div>
1097 <div class="pf-v6-c-pagination__nav-control pf-m-last">
1098 <button
1099 class="pf-v6-c-button pf-m-plain"
1100 type="button"
1101 disabled
1102 aria-label="Go to last page"
1103 >
1104 <span class="pf-v6-c-button__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="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"
1116 />
1117 </svg>
1118 </span>
1119 </button>
1120 </div>
1121 </nav>
1122 </div>
1123
1124 ```
1125
1126 ### Bottom static
1127
1128 ```html
1129 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
1130 <br />
1131 <br />
1132 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
1133 <br />
1134 <br />
1135 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
1136 <br />
1137 <br />
1138 <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
1139 <div class="pf-v6-c-pagination pf-m-static pf-m-bottom">
1140 <div class="pf-v6-c-pagination__page-menu">
1141 <button
1142 class="pf-v6-c-menu-toggle pf-m-top pf-m-text pf-m-plain"
1143 type="button"
1144 aria-expanded="false"
1145 id="pagination-menu-toggle-bottom-sticky-example"
1146 >
1147 <span class="pf-v6-c-menu-toggle__text">
1148 <b>1 - 10</b>&nbsp;of&nbsp;
1149 <b>36</b>
1150 </span>
1151 <span class="pf-v6-c-menu-toggle__controls">
1152 <span class="pf-v6-c-menu-toggle__toggle-icon">
1153 <svg
1154 class="pf-v6-svg"
1155 fill="currentColor"
1156 viewBox="0 0 20 20"
1157 aria-hidden="true"
1158 role="img"
1159 width="1em"
1160 height="1em"
1161 >
1162 <path
1163 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"
1164 />
1165 </svg>
1166 </span>
1167 </span>
1168 </button>
1169 </div>
1170 <nav
1171 class="pf-v6-c-pagination__nav"
1172 aria-label="Pagination nav - bottom sticky example"
1173 >
1174 <div class="pf-v6-c-pagination__nav-control pf-m-first">
1175 <button
1176 class="pf-v6-c-button pf-m-plain"
1177 type="button"
1178 disabled
1179 aria-label="Go to first page"
1180 >
1181 <span class="pf-v6-c-button__icon">
1182 <svg
1183 class="pf-v6-svg"
1184 fill="currentColor"
1185 viewBox="0 0 20 20"
1186 aria-hidden="true"
1187 role="img"
1188 width="1em"
1189 height="1em"
1190 >
1191 <path
1192 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"
1193 />
1194 </svg>
1195 </span>
1196 </button>
1197 </div>
1198 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
1199 <button
1200 class="pf-v6-c-button pf-m-plain"
1201 type="button"
1202 disabled
1203 aria-label="Go to previous page"
1204 >
1205 <span class="pf-v6-c-button__icon">
1206 <svg
1207 class="pf-v6-svg"
1208 fill="currentColor"
1209 viewBox="0 0 20 20"
1210 aria-hidden="true"
1211 role="img"
1212 width="1em"
1213 height="1em"
1214 >
1215 <path
1216 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"
1217 />
1218 </svg>
1219 </span>
1220 </button>
1221 </div>
1222 <div class="pf-v6-c-pagination__nav-page-select">
1223 <span class="pf-v6-c-form-control">
1224 <input
1225 aria-label="Current page"
1226 type="number"
1227 min="1"
1228 max="4"
1229 value="1"
1230 />
1231 </span>
1232 <span aria-hidden="true">of 4</span>
1233 </div>
1234 <div class="pf-v6-c-pagination__nav-control pf-m-next">
1235 <button
1236 class="pf-v6-c-button pf-m-plain"
1237 type="button"
1238 aria-label="Go to next page"
1239 >
1240 <span class="pf-v6-c-button__icon">
1241 <svg
1242 class="pf-v6-svg"
1243 fill="currentColor"
1244 viewBox="0 0 20 20"
1245 aria-hidden="true"
1246 role="img"
1247 width="1em"
1248 height="1em"
1249 >
1250 <path
1251 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"
1252 />
1253 </svg>
1254 </span>
1255 </button>
1256 </div>
1257 <div class="pf-v6-c-pagination__nav-control pf-m-last">
1258 <button
1259 class="pf-v6-c-button pf-m-plain"
1260 type="button"
1261 disabled
1262 aria-label="Go to last page"
1263 >
1264 <span class="pf-v6-c-button__icon">
1265 <svg
1266 class="pf-v6-svg"
1267 fill="currentColor"
1268 viewBox="0 0 20 20"
1269 aria-hidden="true"
1270 role="img"
1271 width="1em"
1272 height="1em"
1273 >
1274 <path
1275 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"
1276 />
1277 </svg>
1278 </span>
1279 </button>
1280 </div>
1281 </nav>
1282 </div>
1283
1284 ```
1285
1286 ### Top disabled
1287
1288 ```html
1289 <div class="pf-v6-c-pagination">
1290 <div class="pf-v6-c-pagination__total-items">
1291 <b>1 - 10</b>&nbsp;of&nbsp;
1292 <b>36</b>
1293 </div>
1294 <div class="pf-v6-c-pagination__page-menu">
1295 <button
1296 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain pf-m-disabled"
1297 type="button"
1298 aria-expanded="false"
1299 disabled
1300 id="pagination-menu-toggle-top-disabled-example"
1301 >
1302 <span class="pf-v6-c-menu-toggle__text">
1303 <b>1 - 10</b>&nbsp;of&nbsp;
1304 <b>36</b>
1305 </span>
1306 <span class="pf-v6-c-menu-toggle__controls">
1307 <span class="pf-v6-c-menu-toggle__toggle-icon">
1308 <svg
1309 class="pf-v6-svg"
1310 fill="currentColor"
1311 viewBox="0 0 20 20"
1312 aria-hidden="true"
1313 role="img"
1314 width="1em"
1315 height="1em"
1316 >
1317 <path
1318 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"
1319 />
1320 </svg>
1321 </span>
1322 </span>
1323 </button>
1324 </div>
1325 <nav
1326 class="pf-v6-c-pagination__nav"
1327 aria-label="Pagination nav - top disabled example"
1328 >
1329 <div class="pf-v6-c-pagination__nav-control pf-m-first">
1330 <button
1331 class="pf-v6-c-button pf-m-plain"
1332 type="button"
1333 disabled
1334 aria-label="Go to first page"
1335 >
1336 <span class="pf-v6-c-button__icon">
1337 <svg
1338 class="pf-v6-svg"
1339 fill="currentColor"
1340 viewBox="0 0 20 20"
1341 aria-hidden="true"
1342 role="img"
1343 width="1em"
1344 height="1em"
1345 >
1346 <path
1347 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"
1348 />
1349 </svg>
1350 </span>
1351 </button>
1352 </div>
1353 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
1354 <button
1355 class="pf-v6-c-button pf-m-plain"
1356 type="button"
1357 disabled
1358 aria-label="Go to previous page"
1359 >
1360 <span class="pf-v6-c-button__icon">
1361 <svg
1362 class="pf-v6-svg"
1363 fill="currentColor"
1364 viewBox="0 0 20 20"
1365 aria-hidden="true"
1366 role="img"
1367 width="1em"
1368 height="1em"
1369 >
1370 <path
1371 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"
1372 />
1373 </svg>
1374 </span>
1375 </button>
1376 </div>
1377 <div class="pf-v6-c-pagination__nav-page-select">
1378 <span class="pf-v6-c-form-control pf-m-disabled">
1379 <input
1380 disabled
1381 aria-label="Current page"
1382 type="number"
1383 min="1"
1384 max="4"
1385 value="1"
1386 />
1387 </span>
1388 <span aria-hidden="true">of 4</span>
1389 </div>
1390 <div class="pf-v6-c-pagination__nav-control pf-m-next">
1391 <button
1392 class="pf-v6-c-button pf-m-plain"
1393 type="button"
1394 disabled
1395 aria-label="Go to next page"
1396 >
1397 <span class="pf-v6-c-button__icon">
1398 <svg
1399 class="pf-v6-svg"
1400 fill="currentColor"
1401 viewBox="0 0 20 20"
1402 aria-hidden="true"
1403 role="img"
1404 width="1em"
1405 height="1em"
1406 >
1407 <path
1408 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"
1409 />
1410 </svg>
1411 </span>
1412 </button>
1413 </div>
1414 <div class="pf-v6-c-pagination__nav-control pf-m-last">
1415 <button
1416 class="pf-v6-c-button pf-m-plain"
1417 type="button"
1418 disabled
1419 aria-label="Go to last page"
1420 >
1421 <span class="pf-v6-c-button__icon">
1422 <svg
1423 class="pf-v6-svg"
1424 fill="currentColor"
1425 viewBox="0 0 20 20"
1426 aria-hidden="true"
1427 role="img"
1428 width="1em"
1429 height="1em"
1430 >
1431 <path
1432 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"
1433 />
1434 </svg>
1435 </span>
1436 </button>
1437 </div>
1438 </nav>
1439 </div>
1440
1441 ```
1442
1443 ### Compact
1444
1445 ```html
1446 <div class="pf-v6-c-pagination pf-m-compact">
1447 <div class="pf-v6-c-pagination__total-items">
1448 <b>1 - 10</b>&nbsp;of&nbsp;
1449 <b>36</b>
1450 </div>
1451 <div class="pf-v6-c-pagination__page-menu">
1452 <button
1453 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
1454 type="button"
1455 aria-expanded="false"
1456 id="pagination-menu-toggle-compact-example"
1457 >
1458 <span class="pf-v6-c-menu-toggle__text">
1459 <b>1 - 10</b>&nbsp;of&nbsp;
1460 <b>36</b>
1461 </span>
1462 <span class="pf-v6-c-menu-toggle__controls">
1463 <span class="pf-v6-c-menu-toggle__toggle-icon">
1464 <svg
1465 class="pf-v6-svg"
1466 fill="currentColor"
1467 viewBox="0 0 20 20"
1468 aria-hidden="true"
1469 role="img"
1470 width="1em"
1471 height="1em"
1472 >
1473 <path
1474 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"
1475 />
1476 </svg>
1477 </span>
1478 </span>
1479 </button>
1480 </div>
1481 <nav
1482 class="pf-v6-c-pagination__nav"
1483 aria-label="Pagination nav - compact example"
1484 >
1485 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
1486 <button
1487 class="pf-v6-c-button pf-m-plain"
1488 type="button"
1489 disabled
1490 aria-label="Go to previous page"
1491 >
1492 <span class="pf-v6-c-button__icon">
1493 <svg
1494 class="pf-v6-svg"
1495 fill="currentColor"
1496 viewBox="0 0 20 20"
1497 aria-hidden="true"
1498 role="img"
1499 width="1em"
1500 height="1em"
1501 >
1502 <path
1503 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"
1504 />
1505 </svg>
1506 </span>
1507 </button>
1508 </div>
1509 <div class="pf-v6-c-pagination__nav-control pf-m-next">
1510 <button
1511 class="pf-v6-c-button pf-m-plain"
1512 type="button"
1513 aria-label="Go to next page"
1514 >
1515 <span class="pf-v6-c-button__icon">
1516 <svg
1517 class="pf-v6-svg"
1518 fill="currentColor"
1519 viewBox="0 0 20 20"
1520 aria-hidden="true"
1521 role="img"
1522 width="1em"
1523 height="1em"
1524 >
1525 <path
1526 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"
1527 />
1528 </svg>
1529 </span>
1530 </button>
1531 </div>
1532 </nav>
1533 </div>
1534
1535 ```
1536
1537 ### Top with display summary modifier
1538
1539 ```html
1540 <div class="pf-v6-c-pagination pf-m-display-summary">
1541 <div class="pf-v6-c-pagination__total-items">
1542 <b>1 - 10</b>&nbsp;of&nbsp;
1543 <b>36</b>
1544 </div>
1545 <div class="pf-v6-c-pagination__page-menu">
1546 <button
1547 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
1548 type="button"
1549 aria-expanded="false"
1550 id="pagination-top-with-summary-modifier-menu-toggle"
1551 >
1552 <span class="pf-v6-c-menu-toggle__text">
1553 <b>1 - 10</b>&nbsp;of&nbsp;
1554 <b>36</b>
1555 </span>
1556 <span class="pf-v6-c-menu-toggle__controls">
1557 <span class="pf-v6-c-menu-toggle__toggle-icon">
1558 <svg
1559 class="pf-v6-svg"
1560 fill="currentColor"
1561 viewBox="0 0 20 20"
1562 aria-hidden="true"
1563 role="img"
1564 width="1em"
1565 height="1em"
1566 >
1567 <path
1568 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"
1569 />
1570 </svg>
1571 </span>
1572 </span>
1573 </button>
1574 </div>
1575 <nav
1576 class="pf-v6-c-pagination__nav"
1577 aria-label="Pagination nav - top with display summary modifier example"
1578 >
1579 <div class="pf-v6-c-pagination__nav-control pf-m-first">
1580 <button
1581 class="pf-v6-c-button pf-m-plain"
1582 type="button"
1583 disabled
1584 aria-label="Go to first page"
1585 >
1586 <span class="pf-v6-c-button__icon">
1587 <svg
1588 class="pf-v6-svg"
1589 fill="currentColor"
1590 viewBox="0 0 20 20"
1591 aria-hidden="true"
1592 role="img"
1593 width="1em"
1594 height="1em"
1595 >
1596 <path
1597 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"
1598 />
1599 </svg>
1600 </span>
1601 </button>
1602 </div>
1603 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
1604 <button
1605 class="pf-v6-c-button pf-m-plain"
1606 type="button"
1607 disabled
1608 aria-label="Go to previous page"
1609 >
1610 <span class="pf-v6-c-button__icon">
1611 <svg
1612 class="pf-v6-svg"
1613 fill="currentColor"
1614 viewBox="0 0 20 20"
1615 aria-hidden="true"
1616 role="img"
1617 width="1em"
1618 height="1em"
1619 >
1620 <path
1621 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"
1622 />
1623 </svg>
1624 </span>
1625 </button>
1626 </div>
1627 <div class="pf-v6-c-pagination__nav-page-select">
1628 <span class="pf-v6-c-form-control">
1629 <input
1630 aria-label="Current page"
1631 type="number"
1632 min="1"
1633 max="4"
1634 value="1"
1635 />
1636 </span>
1637 <span aria-hidden="true">of 4</span>
1638 </div>
1639 <div class="pf-v6-c-pagination__nav-control pf-m-next">
1640 <button
1641 class="pf-v6-c-button pf-m-plain"
1642 type="button"
1643 aria-label="Go to next page"
1644 >
1645 <span class="pf-v6-c-button__icon">
1646 <svg
1647 class="pf-v6-svg"
1648 fill="currentColor"
1649 viewBox="0 0 20 20"
1650 aria-hidden="true"
1651 role="img"
1652 width="1em"
1653 height="1em"
1654 >
1655 <path
1656 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"
1657 />
1658 </svg>
1659 </span>
1660 </button>
1661 </div>
1662 <div class="pf-v6-c-pagination__nav-control pf-m-last">
1663 <button
1664 class="pf-v6-c-button pf-m-plain"
1665 type="button"
1666 disabled
1667 aria-label="Go to last page"
1668 >
1669 <span class="pf-v6-c-button__icon">
1670 <svg
1671 class="pf-v6-svg"
1672 fill="currentColor"
1673 viewBox="0 0 20 20"
1674 aria-hidden="true"
1675 role="img"
1676 width="1em"
1677 height="1em"
1678 >
1679 <path
1680 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"
1681 />
1682 </svg>
1683 </span>
1684 </button>
1685 </div>
1686 </nav>
1687 </div>
1688
1689 ```
1690
1691 ### Top with display full modifier
1692
1693 ```html
1694 <div class="pf-v6-c-pagination pf-m-display-full">
1695 <div class="pf-v6-c-pagination__total-items">
1696 <b>1 - 10</b>&nbsp;of&nbsp;
1697 <b>36</b>
1698 </div>
1699 <div class="pf-v6-c-pagination__page-menu">
1700 <button
1701 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
1702 type="button"
1703 aria-expanded="false"
1704 id="pagination-top-with-full-modifier-menu-toggle"
1705 >
1706 <span class="pf-v6-c-menu-toggle__text">
1707 <b>1 - 10</b>&nbsp;of&nbsp;
1708 <b>36</b>
1709 </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 <nav
1730 class="pf-v6-c-pagination__nav"
1731 aria-label="Pagination nav - top with display full modifier example"
1732 >
1733 <div class="pf-v6-c-pagination__nav-control pf-m-first">
1734 <button
1735 class="pf-v6-c-button pf-m-plain"
1736 type="button"
1737 disabled
1738 aria-label="Go to first page"
1739 >
1740 <span class="pf-v6-c-button__icon">
1741 <svg
1742 class="pf-v6-svg"
1743 fill="currentColor"
1744 viewBox="0 0 20 20"
1745 aria-hidden="true"
1746 role="img"
1747 width="1em"
1748 height="1em"
1749 >
1750 <path
1751 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"
1752 />
1753 </svg>
1754 </span>
1755 </button>
1756 </div>
1757 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
1758 <button
1759 class="pf-v6-c-button pf-m-plain"
1760 type="button"
1761 disabled
1762 aria-label="Go to previous page"
1763 >
1764 <span class="pf-v6-c-button__icon">
1765 <svg
1766 class="pf-v6-svg"
1767 fill="currentColor"
1768 viewBox="0 0 20 20"
1769 aria-hidden="true"
1770 role="img"
1771 width="1em"
1772 height="1em"
1773 >
1774 <path
1775 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"
1776 />
1777 </svg>
1778 </span>
1779 </button>
1780 </div>
1781 <div class="pf-v6-c-pagination__nav-page-select">
1782 <span class="pf-v6-c-form-control">
1783 <input
1784 aria-label="Current page"
1785 type="number"
1786 min="1"
1787 max="4"
1788 value="1"
1789 />
1790 </span>
1791 <span aria-hidden="true">of 4</span>
1792 </div>
1793 <div class="pf-v6-c-pagination__nav-control pf-m-next">
1794 <button
1795 class="pf-v6-c-button pf-m-plain"
1796 type="button"
1797 aria-label="Go to next page"
1798 >
1799 <span class="pf-v6-c-button__icon">
1800 <svg
1801 class="pf-v6-svg"
1802 fill="currentColor"
1803 viewBox="0 0 20 20"
1804 aria-hidden="true"
1805 role="img"
1806 width="1em"
1807 height="1em"
1808 >
1809 <path
1810 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"
1811 />
1812 </svg>
1813 </span>
1814 </button>
1815 </div>
1816 <div class="pf-v6-c-pagination__nav-control pf-m-last">
1817 <button
1818 class="pf-v6-c-button pf-m-plain"
1819 type="button"
1820 disabled
1821 aria-label="Go to last page"
1822 >
1823 <span class="pf-v6-c-button__icon">
1824 <svg
1825 class="pf-v6-svg"
1826 fill="currentColor"
1827 viewBox="0 0 20 20"
1828 aria-hidden="true"
1829 role="img"
1830 width="1em"
1831 height="1em"
1832 >
1833 <path
1834 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"
1835 />
1836 </svg>
1837 </span>
1838 </button>
1839 </div>
1840 </nav>
1841 </div>
1842
1843 ```
1844
1845 ### Top with responsive display summary and display full modifiers
1846
1847 ```html
1848 <div
1849 class="pf-v6-c-pagination pf-m-display-summary pf-m-display-full-on-lg pf-m-display-summary-on-xl pf-m-display-full-on-2xl"
1850 >
1851 <div class="pf-v6-c-pagination__total-items">
1852 <b>1 - 10</b>&nbsp;of&nbsp;
1853 <b>36</b>
1854 </div>
1855 <div class="pf-v6-c-pagination__page-menu">
1856 <button
1857 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
1858 type="button"
1859 aria-expanded="false"
1860 id="pagination-top-with-responsive-summary-navigation-modifiers-menu-toggle"
1861 >
1862 <span class="pf-v6-c-menu-toggle__text">
1863 <b>1 - 10</b>&nbsp;of&nbsp;
1864 <b>36</b>
1865 </span>
1866 <span class="pf-v6-c-menu-toggle__controls">
1867 <span class="pf-v6-c-menu-toggle__toggle-icon">
1868 <svg
1869 class="pf-v6-svg"
1870 fill="currentColor"
1871 viewBox="0 0 20 20"
1872 aria-hidden="true"
1873 role="img"
1874 width="1em"
1875 height="1em"
1876 >
1877 <path
1878 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"
1879 />
1880 </svg>
1881 </span>
1882 </span>
1883 </button>
1884 </div>
1885 <nav
1886 class="pf-v6-c-pagination__nav"
1887 aria-label="Pagination nav - top with responsive display summary and display full modifiers example"
1888 >
1889 <div class="pf-v6-c-pagination__nav-control pf-m-first">
1890 <button
1891 class="pf-v6-c-button pf-m-plain"
1892 type="button"
1893 disabled
1894 aria-label="Go to first page"
1895 >
1896 <span class="pf-v6-c-button__icon">
1897 <svg
1898 class="pf-v6-svg"
1899 fill="currentColor"
1900 viewBox="0 0 20 20"
1901 aria-hidden="true"
1902 role="img"
1903 width="1em"
1904 height="1em"
1905 >
1906 <path
1907 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"
1908 />
1909 </svg>
1910 </span>
1911 </button>
1912 </div>
1913 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
1914 <button
1915 class="pf-v6-c-button pf-m-plain"
1916 type="button"
1917 disabled
1918 aria-label="Go to previous page"
1919 >
1920 <span class="pf-v6-c-button__icon">
1921 <svg
1922 class="pf-v6-svg"
1923 fill="currentColor"
1924 viewBox="0 0 20 20"
1925 aria-hidden="true"
1926 role="img"
1927 width="1em"
1928 height="1em"
1929 >
1930 <path
1931 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"
1932 />
1933 </svg>
1934 </span>
1935 </button>
1936 </div>
1937 <div class="pf-v6-c-pagination__nav-page-select">
1938 <span class="pf-v6-c-form-control">
1939 <input
1940 aria-label="Current page"
1941 type="number"
1942 min="1"
1943 max="4"
1944 value="1"
1945 />
1946 </span>
1947 <span aria-hidden="true">of 4</span>
1948 </div>
1949 <div class="pf-v6-c-pagination__nav-control pf-m-next">
1950 <button
1951 class="pf-v6-c-button pf-m-plain"
1952 type="button"
1953 aria-label="Go to next page"
1954 >
1955 <span class="pf-v6-c-button__icon">
1956 <svg
1957 class="pf-v6-svg"
1958 fill="currentColor"
1959 viewBox="0 0 20 20"
1960 aria-hidden="true"
1961 role="img"
1962 width="1em"
1963 height="1em"
1964 >
1965 <path
1966 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"
1967 />
1968 </svg>
1969 </span>
1970 </button>
1971 </div>
1972 <div class="pf-v6-c-pagination__nav-control pf-m-last">
1973 <button
1974 class="pf-v6-c-button pf-m-plain"
1975 type="button"
1976 disabled
1977 aria-label="Go to last page"
1978 >
1979 <span class="pf-v6-c-button__icon">
1980 <svg
1981 class="pf-v6-svg"
1982 fill="currentColor"
1983 viewBox="0 0 20 20"
1984 aria-hidden="true"
1985 role="img"
1986 width="1em"
1987 height="1em"
1988 >
1989 <path
1990 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"
1991 />
1992 </svg>
1993 </span>
1994 </button>
1995 </div>
1996 </nav>
1997 </div>
1998
1999 ```
2000
2001 ### Compact display full modifier
2002
2003 ```html
2004 <div class="pf-v6-c-pagination pf-m-display-full pf-m-compact">
2005 <div class="pf-v6-c-pagination__total-items">
2006 <b>1 - 10</b>&nbsp;of&nbsp;
2007 <b>36</b>
2008 </div>
2009 <div class="pf-v6-c-pagination__page-menu">
2010 <button
2011 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
2012 type="button"
2013 aria-expanded="false"
2014 id="pagination-compact-with-full-modifier-menu-toggle"
2015 >
2016 <span class="pf-v6-c-menu-toggle__text">
2017 <b>1 - 10</b>&nbsp;of&nbsp;
2018 <b>36</b>
2019 </span>
2020 <span class="pf-v6-c-menu-toggle__controls">
2021 <span class="pf-v6-c-menu-toggle__toggle-icon">
2022 <svg
2023 class="pf-v6-svg"
2024 fill="currentColor"
2025 viewBox="0 0 20 20"
2026 aria-hidden="true"
2027 role="img"
2028 width="1em"
2029 height="1em"
2030 >
2031 <path
2032 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"
2033 />
2034 </svg>
2035 </span>
2036 </span>
2037 </button>
2038 </div>
2039 <nav
2040 class="pf-v6-c-pagination__nav"
2041 aria-label="Pagination nav - compact display full modifier example"
2042 >
2043 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
2044 <button
2045 class="pf-v6-c-button pf-m-plain"
2046 type="button"
2047 disabled
2048 aria-label="Go to previous page"
2049 >
2050 <span class="pf-v6-c-button__icon">
2051 <svg
2052 class="pf-v6-svg"
2053 fill="currentColor"
2054 viewBox="0 0 20 20"
2055 aria-hidden="true"
2056 role="img"
2057 width="1em"
2058 height="1em"
2059 >
2060 <path
2061 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"
2062 />
2063 </svg>
2064 </span>
2065 </button>
2066 </div>
2067 <div class="pf-v6-c-pagination__nav-control pf-m-next">
2068 <button
2069 class="pf-v6-c-button pf-m-plain"
2070 type="button"
2071 aria-label="Go to next page"
2072 >
2073 <span class="pf-v6-c-button__icon">
2074 <svg
2075 class="pf-v6-svg"
2076 fill="currentColor"
2077 viewBox="0 0 20 20"
2078 aria-hidden="true"
2079 role="img"
2080 width="1em"
2081 height="1em"
2082 >
2083 <path
2084 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"
2085 />
2086 </svg>
2087 </span>
2088 </button>
2089 </div>
2090 </nav>
2091 </div>
2092
2093 ```
2094
2095 ### Inset
2096
2097 ```html
2098 <div
2099 class="pf-v6-c-pagination pf-m-inset-none pf-m-inset-md-on-md pf-m-inset-2xl-on-lg"
2100 >
2101 <div class="pf-v6-c-pagination__total-items">
2102 <b>1 - 10</b>&nbsp;of&nbsp;
2103 <b>36</b>
2104 </div>
2105 <div class="pf-v6-c-pagination__page-menu">
2106 <button
2107 class="pf-v6-c-menu-toggle pf-m-text pf-m-plain"
2108 type="button"
2109 aria-expanded="false"
2110 id="pagination-inset-menu-toggle"
2111 >
2112 <span class="pf-v6-c-menu-toggle__text">
2113 <b>1 - 10</b>&nbsp;of&nbsp;
2114 <b>36</b>
2115 </span>
2116 <span class="pf-v6-c-menu-toggle__controls">
2117 <span class="pf-v6-c-menu-toggle__toggle-icon">
2118 <svg
2119 class="pf-v6-svg"
2120 fill="currentColor"
2121 viewBox="0 0 20 20"
2122 aria-hidden="true"
2123 role="img"
2124 width="1em"
2125 height="1em"
2126 >
2127 <path
2128 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"
2129 />
2130 </svg>
2131 </span>
2132 </span>
2133 </button>
2134 </div>
2135 <nav
2136 class="pf-v6-c-pagination__nav"
2137 aria-label="Pagination nav - inset example"
2138 >
2139 <div class="pf-v6-c-pagination__nav-control pf-m-first">
2140 <button
2141 class="pf-v6-c-button pf-m-plain"
2142 type="button"
2143 disabled
2144 aria-label="Go to first page"
2145 >
2146 <span class="pf-v6-c-button__icon">
2147 <svg
2148 class="pf-v6-svg"
2149 fill="currentColor"
2150 viewBox="0 0 20 20"
2151 aria-hidden="true"
2152 role="img"
2153 width="1em"
2154 height="1em"
2155 >
2156 <path
2157 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"
2158 />
2159 </svg>
2160 </span>
2161 </button>
2162 </div>
2163 <div class="pf-v6-c-pagination__nav-control pf-m-prev">
2164 <button
2165 class="pf-v6-c-button pf-m-plain"
2166 type="button"
2167 disabled
2168 aria-label="Go to previous page"
2169 >
2170 <span class="pf-v6-c-button__icon">
2171 <svg
2172 class="pf-v6-svg"
2173 fill="currentColor"
2174 viewBox="0 0 20 20"
2175 aria-hidden="true"
2176 role="img"
2177 width="1em"
2178 height="1em"
2179 >
2180 <path
2181 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"
2182 />
2183 </svg>
2184 </span>
2185 </button>
2186 </div>
2187 <div class="pf-v6-c-pagination__nav-page-select">
2188 <span class="pf-v6-c-form-control">
2189 <input
2190 aria-label="Current page"
2191 type="number"
2192 min="1"
2193 max="4"
2194 value="1"
2195 />
2196 </span>
2197 <span aria-hidden="true">of 4</span>
2198 </div>
2199 <div class="pf-v6-c-pagination__nav-control pf-m-next">
2200 <button
2201 class="pf-v6-c-button pf-m-plain"
2202 type="button"
2203 aria-label="Go to next page"
2204 >
2205 <span class="pf-v6-c-button__icon">
2206 <svg
2207 class="pf-v6-svg"
2208 fill="currentColor"
2209 viewBox="0 0 20 20"
2210 aria-hidden="true"
2211 role="img"
2212 width="1em"
2213 height="1em"
2214 >
2215 <path
2216 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"
2217 />
2218 </svg>
2219 </span>
2220 </button>
2221 </div>
2222 <div class="pf-v6-c-pagination__nav-control pf-m-last">
2223 <button
2224 class="pf-v6-c-button pf-m-plain"
2225 type="button"
2226 disabled
2227 aria-label="Go to last page"
2228 >
2229 <span class="pf-v6-c-button__icon">
2230 <svg
2231 class="pf-v6-svg"
2232 fill="currentColor"
2233 viewBox="0 0 20 20"
2234 aria-hidden="true"
2235 role="img"
2236 width="1em"
2237 height="1em"
2238 >
2239 <path
2240 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"
2241 />
2242 </svg>
2243 </span>
2244 </button>
2245 </div>
2246 </nav>
2247 </div>
2248
2249 ```
2250
2251 ## Documentation
2252
2253 ### Accessibility
2254
2255 | Attribute | Applied to | Outcome |
2256 | -- | -- | -- |
2257 | `aria-label` | `.pf-v6-c-pagination__nav` | Provides an accessible name for pagination navigation element. **Required** |
2258 | `type="number"` | `.pf-v6-c-pagination__nav-page-select` > `.pf-v6-c-form-control` | Defines a field as a number. **Required** |
2259 | `value` | `.pf-v6-c-pagination__nav-page-select` > `.pf-v6-c-form-control` | Provides initial integer value. **Required** |
2260 | `min` | `.pf-v6-c-pagination__nav-page-select` > `.pf-v6-c-form-control` | Provides minimum integer value. **Required** |
2261 | `max` | `.pf-v6-c-pagination__nav-page-select` > `.pf-v6-c-form-control` | Provides max integer value. **Required** |
2262
2263 ### Usage
2264
2265 | Class | Applied to | Outcome |
2266 | -- | -- | -- |
2267 | `.pf-v6-c-pagination` | `<div>` | Initiates pagination. |
2268 | `.pf-v6-c-pagination__current` | `<div>` | Initiates element to display currently displayed items for use in responsive view. Only needed for default pagination, not `.pf-m-bottom`. |
2269 | `.pf-v6-c-pagination__total-items` | `<div>` | Initiates element to replace the menu toggle on summary. |
2270 | `.pf-v6-c-pagination__page-menu` | `<div>` | Initiates wrapper element for the pagination menu toggle. **Required** when a menu toggle is intended or expected to be rendered. |
2271 | `.pf-v6-c-pagination__nav` | `<nav>` | Initiates pagination nav. |
2272 | `.pf-v6-c-pagination__nav-control` | `<div>` | Initiates pagination nav control. |
2273 | `.pf-v6-c-pagination__nav-page-select` | `<div>` | Initiates pagination nav page select. |
2274 | `.pf-m-display-summary{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies for summary display pagination component styles at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
2275 | `.pf-m-display-full{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies for full display pagination component styles at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
2276 | `.pf-m-bottom` | `.pf-v6-c-pagination` | Modifies for bottom pagination component styles. |
2277 | `.pf-m-compact` | `.pf-v6-c-pagination` | Modifies for compact pagination component styles. |
2278 | `.pf-m-static` | `.pf-v6-c-pagination.pf-m-bottom` | Modifies bottom pagination to not be positioned sticky on summary. |
2279 | `.pf-m-sticky` | `.pf-v6-c-pagination` | Modifies the pagination to be sticky to its container. It will be sticky to the top of the container by default, and sticky to the bottom of the container when applied to `.pf-v6-c-pagination.pf-m-bottom`. |
2280 | `.pf-m-sticky-base` | `.pf-v6-c-pagination` | Makes the pagination sticky on scroll, but does not apply sticky styling. `.pf-m-sticky-stuck` must be used to apply sticky styling. |
2281 | `.pf-m-sticky-stuck` | `.pf-v6-c-pagination.pf-m-sticky-base` | Applies sticky styling to a pagination with `.pf-m-sticky-base`. |
2282 | `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v6-c-pagination` | Modifies pagination horizontal padding at optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
2283 | `.pf-m-page-insets` | `.pf-v6-c-pagination` | Modifies the pagination component padding/inset to visually match padding of page elements. |
2284 | `.pf-m-first` | `.pf-v6-c-pagination__nav-control` | Indicates the control is for the first page button. |
2285 | `.pf-m-prev` | `.pf-v6-c-pagination__nav-control` | Indicates the control is for the previous page button. |
2286 | `.pf-m-next` | `.pf-v6-c-pagination__nav-control` | Indicates the control is for the next page button. |
2287 | `.pf-m-last` | `.pf-v6-c-pagination__nav-control` | Indicates the control is for the last page button. |