Debian Codegraph @

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

raw
1 ---
2 id: Button
3 section: components
4 cssPrefix: pf-v6-c-button
5 ---import './Button.css'
6
7 ## Examples
8
9 ### Variations
10
11 ```html
12 <button class="pf-v6-c-button pf-m-primary" type="button">
13 <span class="pf-v6-c-button__text">Primary</span>
14 </button>
15
16 <button class="pf-v6-c-button pf-m-secondary" type="button">
17 <span class="pf-v6-c-button__text">Secondary</span>
18 </button>
19
20 <button class="pf-v6-c-button pf-m-danger pf-m-secondary" type="button">
21 <span class="pf-v6-c-button__text">Secondary danger</span>
22 </button>
23
24 <button class="pf-v6-c-button pf-m-tertiary" type="button">
25 <span class="pf-v6-c-button__text">Tertiary</span>
26 </button>
27
28 <button class="pf-v6-c-button pf-m-danger" type="button">
29 <span class="pf-v6-c-button__text">Danger</span>
30 </button>
31
32 <button class="pf-v6-c-button pf-m-warning" type="button">
33 <span class="pf-v6-c-button__text">Warning</span>
34 </button>
35
36 <br />
37 <br />
38
39 <button class="pf-v6-c-button pf-m-link" type="button">
40 <span class="pf-v6-c-button__text">Link</span>
41 </button>
42
43 <button class="pf-v6-c-button pf-m-link pf-m-danger" type="button">
44 <span class="pf-v6-c-button__text">Link danger</span>
45 </button>
46
47 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
48 <span class="pf-v6-c-button__text">Inline link</span>
49 </button>
50
51 <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Remove">
52 <span class="pf-v6-c-button__icon">
53 <svg
54 class="pf-v6-svg"
55 fill="currentColor"
56 viewBox="0 0 20 20"
57 aria-hidden="true"
58 role="img"
59 width="1em"
60 height="1em"
61 >
62 <path
63 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"
64 />
65 </svg>
66 </span>
67 </button>
68
69 <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Remove">
70 <span class="pf-v6-c-button__icon pf-m-start">
71 <svg
72 class="pf-v6-svg"
73 fill="currentColor"
74 viewBox="0 0 20 20"
75 aria-hidden="true"
76 role="img"
77 width="1em"
78 height="1em"
79 >
80 <path
81 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"
82 />
83 </svg>
84 </span>
85 <span class="pf-v6-c-button__text">Plain with text</span>
86 </button>
87
88 <br />
89 <br />
90
91 <button class="pf-v6-c-button pf-m-control" type="button">
92 <span class="pf-v6-c-button__text">Control</span>
93 </button>
94
95 <button
96 class="pf-v6-c-button pf-m-control"
97 type="button"
98 aria-label="Copy input"
99 >
100 <span class="pf-v6-c-button__icon">
101 <svg
102 class="pf-v6-svg"
103 fill="currentColor"
104 viewBox="0 0 32 32"
105 aria-hidden="true"
106 role="img"
107 width="1em"
108 height="1em"
109 >
110 <path
111 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
112 />
113 </svg>
114 </span>
115 </button>
116
117 <br />
118 <br />
119
120 <div>
121 <strong>Icon</strong>
122 </div>
123 <button class="pf-v6-c-button pf-m-primary" type="button">
124 <span class="pf-v6-c-button__icon pf-m-start">
125 <svg
126 class="pf-v6-svg"
127 fill="currentColor"
128 viewBox="0 0 32 32"
129 aria-hidden="true"
130 role="img"
131 width="1em"
132 height="1em"
133 >
134 <path
135 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
136 />
137 </svg>
138 </span>
139 <span class="pf-v6-c-button__text">Primary</span>
140 </button>
141
142 <button class="pf-v6-c-button pf-m-secondary" type="button">
143 <span class="pf-v6-c-button__icon pf-m-start">
144 <svg
145 class="pf-v6-svg"
146 fill="currentColor"
147 viewBox="0 0 32 32"
148 aria-hidden="true"
149 role="img"
150 width="1em"
151 height="1em"
152 >
153 <path
154 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
155 />
156 </svg>
157 </span>
158 <span class="pf-v6-c-button__text">Secondary</span>
159 </button>
160
161 <button class="pf-v6-c-button pf-m-danger pf-m-secondary" type="button">
162 <span class="pf-v6-c-button__icon pf-m-start">
163 <svg
164 class="pf-v6-svg"
165 fill="currentColor"
166 viewBox="0 0 32 32"
167 aria-hidden="true"
168 role="img"
169 width="1em"
170 height="1em"
171 >
172 <path
173 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
174 />
175 </svg>
176 </span>
177 <span class="pf-v6-c-button__text">Secondary danger</span>
178 </button>
179
180 <button class="pf-v6-c-button pf-m-tertiary" type="button">
181 <span class="pf-v6-c-button__icon pf-m-start">
182 <svg
183 class="pf-v6-svg"
184 fill="currentColor"
185 viewBox="0 0 32 32"
186 aria-hidden="true"
187 role="img"
188 width="1em"
189 height="1em"
190 >
191 <path
192 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
193 />
194 </svg>
195 </span>
196 <span class="pf-v6-c-button__text">Tertiary</span>
197 </button>
198
199 <button class="pf-v6-c-button pf-m-danger" type="button">
200 <span class="pf-v6-c-button__icon pf-m-start">
201 <svg
202 class="pf-v6-svg"
203 fill="currentColor"
204 viewBox="0 0 32 32"
205 aria-hidden="true"
206 role="img"
207 width="1em"
208 height="1em"
209 >
210 <path
211 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
212 />
213 </svg>
214 </span>
215 <span class="pf-v6-c-button__text">Danger</span>
216 </button>
217
218 <button class="pf-v6-c-button pf-m-warning" type="button">
219 <span class="pf-v6-c-button__icon pf-m-start">
220 <svg
221 class="pf-v6-svg"
222 fill="currentColor"
223 viewBox="0 0 32 32"
224 aria-hidden="true"
225 role="img"
226 width="1em"
227 height="1em"
228 >
229 <path
230 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
231 />
232 </svg>
233 </span>
234 <span class="pf-v6-c-button__text">Warning</span>
235 </button>
236
237 <br />
238 <br />
239
240 <button class="pf-v6-c-button pf-m-link" type="button">
241 <span class="pf-v6-c-button__icon pf-m-start">
242 <svg
243 class="pf-v6-svg"
244 fill="currentColor"
245 viewBox="0 0 32 32"
246 aria-hidden="true"
247 role="img"
248 width="1em"
249 height="1em"
250 >
251 <path
252 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
253 />
254 </svg>
255 </span>
256 <span class="pf-v6-c-button__text">Link</span>
257 </button>
258
259 <button class="pf-v6-c-button pf-m-link pf-m-danger" type="button">
260 <span class="pf-v6-c-button__icon pf-m-start">
261 <svg
262 class="pf-v6-svg"
263 fill="currentColor"
264 viewBox="0 0 32 32"
265 aria-hidden="true"
266 role="img"
267 width="1em"
268 height="1em"
269 >
270 <path
271 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
272 />
273 </svg>
274 </span>
275 <span class="pf-v6-c-button__text">Link danger</span>
276 </button>
277
278 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
279 <span class="pf-v6-c-button__icon pf-m-start">
280 <svg
281 class="pf-v6-svg"
282 fill="currentColor"
283 viewBox="0 0 32 32"
284 aria-hidden="true"
285 role="img"
286 width="1em"
287 height="1em"
288 >
289 <path
290 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
291 />
292 </svg>
293 </span>
294 <span class="pf-v6-c-button__text">Inline link</span>
295 </button>
296
297 <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Remove">
298 <span class="pf-v6-c-button__icon">
299 <svg
300 class="pf-v6-svg"
301 fill="currentColor"
302 viewBox="0 0 20 20"
303 aria-hidden="true"
304 role="img"
305 width="1em"
306 height="1em"
307 >
308 <path
309 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"
310 />
311 </svg>
312 </span>
313 </button>
314
315 <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Remove">
316 <span class="pf-v6-c-button__icon pf-m-start">
317 <svg
318 class="pf-v6-svg"
319 fill="currentColor"
320 viewBox="0 0 20 20"
321 aria-hidden="true"
322 role="img"
323 width="1em"
324 height="1em"
325 >
326 <path
327 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"
328 />
329 </svg>
330 </span>
331 <span class="pf-v6-c-button__text">Plain with text</span>
332 </button>
333
334 <br />
335 <br />
336
337 <button class="pf-v6-c-button pf-m-control" type="button">
338 <span class="pf-v6-c-button__icon pf-m-start">
339 <svg
340 class="pf-v6-svg"
341 fill="currentColor"
342 viewBox="0 0 32 32"
343 aria-hidden="true"
344 role="img"
345 width="1em"
346 height="1em"
347 >
348 <path
349 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
350 />
351 </svg>
352 </span>
353 <span class="pf-v6-c-button__text">Control</span>
354 </button>
355
356 <button
357 class="pf-v6-c-button pf-m-control"
358 type="button"
359 aria-label="Copy input"
360 >
361 <span class="pf-v6-c-button__icon">
362 <svg
363 class="pf-v6-svg"
364 fill="currentColor"
365 viewBox="0 0 32 32"
366 aria-hidden="true"
367 role="img"
368 width="1em"
369 height="1em"
370 >
371 <path
372 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
373 />
374 </svg>
375 </span>
376 </button>
377
378 <br />
379 <br />
380
381 <div>
382 <strong>Icon end</strong>
383 </div>
384 <button class="pf-v6-c-button pf-m-primary" type="button">
385 <span class="pf-v6-c-button__text">Primary</span>
386 <span class="pf-v6-c-button__icon pf-m-end">
387 <svg
388 class="pf-v6-svg"
389 fill="currentColor"
390 viewBox="0 0 32 32"
391 aria-hidden="true"
392 role="img"
393 width="1em"
394 height="1em"
395 >
396 <path
397 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
398 />
399 </svg>
400 </span>
401 </button>
402
403 <button class="pf-v6-c-button pf-m-secondary" type="button">
404 <span class="pf-v6-c-button__text">Secondary</span>
405 <span class="pf-v6-c-button__icon pf-m-end">
406 <svg
407 class="pf-v6-svg"
408 fill="currentColor"
409 viewBox="0 0 32 32"
410 aria-hidden="true"
411 role="img"
412 width="1em"
413 height="1em"
414 >
415 <path
416 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
417 />
418 </svg>
419 </span>
420 </button>
421
422 <button class="pf-v6-c-button pf-m-danger pf-m-secondary" type="button">
423 <span class="pf-v6-c-button__text">Secondary danger</span>
424 <span class="pf-v6-c-button__icon pf-m-end">
425 <svg
426 class="pf-v6-svg"
427 fill="currentColor"
428 viewBox="0 0 32 32"
429 aria-hidden="true"
430 role="img"
431 width="1em"
432 height="1em"
433 >
434 <path
435 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
436 />
437 </svg>
438 </span>
439 </button>
440
441 <button class="pf-v6-c-button pf-m-tertiary" type="button">
442 <span class="pf-v6-c-button__text">Tertiary</span>
443 <span class="pf-v6-c-button__icon pf-m-end">
444 <svg
445 class="pf-v6-svg"
446 fill="currentColor"
447 viewBox="0 0 32 32"
448 aria-hidden="true"
449 role="img"
450 width="1em"
451 height="1em"
452 >
453 <path
454 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
455 />
456 </svg>
457 </span>
458 </button>
459
460 <button class="pf-v6-c-button pf-m-danger" type="button">
461 <span class="pf-v6-c-button__text">Danger</span>
462 <span class="pf-v6-c-button__icon pf-m-end">
463 <svg
464 class="pf-v6-svg"
465 fill="currentColor"
466 viewBox="0 0 32 32"
467 aria-hidden="true"
468 role="img"
469 width="1em"
470 height="1em"
471 >
472 <path
473 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
474 />
475 </svg>
476 </span>
477 </button>
478
479 <button class="pf-v6-c-button pf-m-warning" type="button">
480 <span class="pf-v6-c-button__text">Warning</span>
481 <span class="pf-v6-c-button__icon pf-m-end">
482 <svg
483 class="pf-v6-svg"
484 fill="currentColor"
485 viewBox="0 0 32 32"
486 aria-hidden="true"
487 role="img"
488 width="1em"
489 height="1em"
490 >
491 <path
492 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
493 />
494 </svg>
495 </span>
496 </button>
497
498 <br />
499 <br />
500
501 <button class="pf-v6-c-button pf-m-link" type="button">
502 <span class="pf-v6-c-button__text">Link</span>
503 <span class="pf-v6-c-button__icon pf-m-end">
504 <svg
505 class="pf-v6-svg"
506 fill="currentColor"
507 viewBox="0 0 32 32"
508 aria-hidden="true"
509 role="img"
510 width="1em"
511 height="1em"
512 >
513 <path
514 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
515 />
516 </svg>
517 </span>
518 </button>
519
520 <button class="pf-v6-c-button pf-m-link pf-m-danger" type="button">
521 <span class="pf-v6-c-button__text">Link danger</span>
522 <span class="pf-v6-c-button__icon pf-m-end">
523 <svg
524 class="pf-v6-svg"
525 fill="currentColor"
526 viewBox="0 0 32 32"
527 aria-hidden="true"
528 role="img"
529 width="1em"
530 height="1em"
531 >
532 <path
533 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
534 />
535 </svg>
536 </span>
537 </button>
538
539 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button">
540 <span class="pf-v6-c-button__text">Inline link</span>
541 <span class="pf-v6-c-button__icon pf-m-end">
542 <svg
543 class="pf-v6-svg"
544 fill="currentColor"
545 viewBox="0 0 32 32"
546 aria-hidden="true"
547 role="img"
548 width="1em"
549 height="1em"
550 >
551 <path
552 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
553 />
554 </svg>
555 </span>
556 </button>
557
558 <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Remove">
559 <span class="pf-v6-c-button__icon">
560 <svg
561 class="pf-v6-svg"
562 fill="currentColor"
563 viewBox="0 0 20 20"
564 aria-hidden="true"
565 role="img"
566 width="1em"
567 height="1em"
568 >
569 <path
570 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"
571 />
572 </svg>
573 </span>
574 </button>
575
576 <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Remove">
577 <span class="pf-v6-c-button__text">Plain with text</span>
578 <span class="pf-v6-c-button__icon pf-m-end">
579 <svg
580 class="pf-v6-svg"
581 fill="currentColor"
582 viewBox="0 0 20 20"
583 aria-hidden="true"
584 role="img"
585 width="1em"
586 height="1em"
587 >
588 <path
589 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"
590 />
591 </svg>
592 </span>
593 </button>
594
595 <br />
596 <br />
597
598 <button class="pf-v6-c-button pf-m-control" type="button">
599 <span class="pf-v6-c-button__text">Control</span>
600 <span class="pf-v6-c-button__icon pf-m-end">
601 <svg
602 class="pf-v6-svg"
603 fill="currentColor"
604 viewBox="0 0 32 32"
605 aria-hidden="true"
606 role="img"
607 width="1em"
608 height="1em"
609 >
610 <path
611 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
612 />
613 </svg>
614 </span>
615 </button>
616
617 <button
618 class="pf-v6-c-button pf-m-control"
619 type="button"
620 aria-label="Copy input"
621 >
622 <span class="pf-v6-c-button__icon">
623 <svg
624 class="pf-v6-svg"
625 fill="currentColor"
626 viewBox="0 0 32 32"
627 aria-hidden="true"
628 role="img"
629 width="1em"
630 height="1em"
631 >
632 <path
633 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
634 />
635 </svg>
636 </span>
637 </button>
638
639 ```
640
641 ### Clicked buttons
642
643 ```html
644 <button class="pf-v6-c-button pf-m-clicked pf-m-primary" type="button">
645 <span class="pf-v6-c-button__text">Primary</span>
646 </button>
647
648 <button class="pf-v6-c-button pf-m-clicked pf-m-secondary" type="button">
649 <span class="pf-v6-c-button__text">Secondary</span>
650 </button>
651
652 <button
653 class="pf-v6-c-button pf-m-clicked pf-m-danger pf-m-secondary"
654 type="button"
655 >
656 <span class="pf-v6-c-button__text">Secondary danger</span>
657 </button>
658
659 <button class="pf-v6-c-button pf-m-clicked pf-m-tertiary" type="button">
660 <span class="pf-v6-c-button__text">Tertiary</span>
661 </button>
662
663 <button class="pf-v6-c-button pf-m-clicked pf-m-danger" type="button">
664 <span class="pf-v6-c-button__text">Danger</span>
665 </button>
666
667 <button class="pf-v6-c-button pf-m-clicked pf-m-warning" type="button">
668 <span class="pf-v6-c-button__text">Warning</span>
669 </button>
670
671 <br />
672 <br />
673
674 <button class="pf-v6-c-button pf-m-clicked pf-m-link" type="button">
675 <span class="pf-v6-c-button__text">Link</span>
676 </button>
677
678 <button class="pf-v6-c-button pf-m-clicked pf-m-link pf-m-danger" type="button">
679 <span class="pf-v6-c-button__text">Link danger</span>
680 </button>
681
682 <button class="pf-v6-c-button pf-m-clicked pf-m-inline pf-m-link" type="button">
683 <span class="pf-v6-c-button__text">Inline link</span>
684 </button>
685
686 <button
687 class="pf-v6-c-button pf-m-clicked pf-m-plain"
688 type="button"
689 aria-label="Remove"
690 >
691 <span class="pf-v6-c-button__icon">
692 <svg
693 class="pf-v6-svg"
694 fill="currentColor"
695 viewBox="0 0 20 20"
696 aria-hidden="true"
697 role="img"
698 width="1em"
699 height="1em"
700 >
701 <path
702 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"
703 />
704 </svg>
705 </span>
706 </button>
707
708 <button
709 class="pf-v6-c-button pf-m-clicked pf-m-plain"
710 type="button"
711 aria-label="Remove"
712 >
713 <span class="pf-v6-c-button__icon pf-m-start">
714 <svg
715 class="pf-v6-svg"
716 fill="currentColor"
717 viewBox="0 0 20 20"
718 aria-hidden="true"
719 role="img"
720 width="1em"
721 height="1em"
722 >
723 <path
724 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"
725 />
726 </svg>
727 </span>
728 <span class="pf-v6-c-button__text">Plain with text</span>
729 </button>
730
731 <br />
732 <br />
733
734 <button class="pf-v6-c-button pf-m-clicked pf-m-control" type="button">
735 <span class="pf-v6-c-button__text">Control</span>
736 </button>
737
738 <button
739 class="pf-v6-c-button pf-m-clicked pf-m-control"
740 type="button"
741 aria-label="Copy input"
742 >
743 <span class="pf-v6-c-button__icon">
744 <svg
745 class="pf-v6-svg"
746 fill="currentColor"
747 viewBox="0 0 32 32"
748 aria-hidden="true"
749 role="img"
750 width="1em"
751 height="1em"
752 >
753 <path
754 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
755 />
756 </svg>
757 </span>
758 </button>
759
760 <br />
761 <br />
762
763 <div>
764 <strong>Icon</strong>
765 </div>
766 <button class="pf-v6-c-button pf-m-clicked pf-m-primary" type="button">
767 <span class="pf-v6-c-button__icon pf-m-start">
768 <svg
769 class="pf-v6-svg"
770 fill="currentColor"
771 viewBox="0 0 32 32"
772 aria-hidden="true"
773 role="img"
774 width="1em"
775 height="1em"
776 >
777 <path
778 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
779 />
780 </svg>
781 </span>
782 <span class="pf-v6-c-button__text">Primary</span>
783 </button>
784
785 <button class="pf-v6-c-button pf-m-clicked pf-m-secondary" type="button">
786 <span class="pf-v6-c-button__icon pf-m-start">
787 <svg
788 class="pf-v6-svg"
789 fill="currentColor"
790 viewBox="0 0 32 32"
791 aria-hidden="true"
792 role="img"
793 width="1em"
794 height="1em"
795 >
796 <path
797 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
798 />
799 </svg>
800 </span>
801 <span class="pf-v6-c-button__text">Secondary</span>
802 </button>
803
804 <button
805 class="pf-v6-c-button pf-m-clicked pf-m-danger pf-m-secondary"
806 type="button"
807 >
808 <span class="pf-v6-c-button__icon pf-m-start">
809 <svg
810 class="pf-v6-svg"
811 fill="currentColor"
812 viewBox="0 0 32 32"
813 aria-hidden="true"
814 role="img"
815 width="1em"
816 height="1em"
817 >
818 <path
819 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
820 />
821 </svg>
822 </span>
823 <span class="pf-v6-c-button__text">Secondary danger</span>
824 </button>
825
826 <button class="pf-v6-c-button pf-m-clicked pf-m-tertiary" type="button">
827 <span class="pf-v6-c-button__icon pf-m-start">
828 <svg
829 class="pf-v6-svg"
830 fill="currentColor"
831 viewBox="0 0 32 32"
832 aria-hidden="true"
833 role="img"
834 width="1em"
835 height="1em"
836 >
837 <path
838 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
839 />
840 </svg>
841 </span>
842 <span class="pf-v6-c-button__text">Tertiary</span>
843 </button>
844
845 <button class="pf-v6-c-button pf-m-clicked pf-m-danger" type="button">
846 <span class="pf-v6-c-button__icon pf-m-start">
847 <svg
848 class="pf-v6-svg"
849 fill="currentColor"
850 viewBox="0 0 32 32"
851 aria-hidden="true"
852 role="img"
853 width="1em"
854 height="1em"
855 >
856 <path
857 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
858 />
859 </svg>
860 </span>
861 <span class="pf-v6-c-button__text">Danger</span>
862 </button>
863
864 <button class="pf-v6-c-button pf-m-clicked pf-m-warning" type="button">
865 <span class="pf-v6-c-button__icon pf-m-start">
866 <svg
867 class="pf-v6-svg"
868 fill="currentColor"
869 viewBox="0 0 32 32"
870 aria-hidden="true"
871 role="img"
872 width="1em"
873 height="1em"
874 >
875 <path
876 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
877 />
878 </svg>
879 </span>
880 <span class="pf-v6-c-button__text">Warning</span>
881 </button>
882
883 <br />
884 <br />
885
886 <button class="pf-v6-c-button pf-m-clicked pf-m-link" type="button">
887 <span class="pf-v6-c-button__icon pf-m-start">
888 <svg
889 class="pf-v6-svg"
890 fill="currentColor"
891 viewBox="0 0 32 32"
892 aria-hidden="true"
893 role="img"
894 width="1em"
895 height="1em"
896 >
897 <path
898 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
899 />
900 </svg>
901 </span>
902 <span class="pf-v6-c-button__text">Link</span>
903 </button>
904
905 <button class="pf-v6-c-button pf-m-clicked pf-m-link pf-m-danger" type="button">
906 <span class="pf-v6-c-button__icon pf-m-start">
907 <svg
908 class="pf-v6-svg"
909 fill="currentColor"
910 viewBox="0 0 32 32"
911 aria-hidden="true"
912 role="img"
913 width="1em"
914 height="1em"
915 >
916 <path
917 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
918 />
919 </svg>
920 </span>
921 <span class="pf-v6-c-button__text">Link danger</span>
922 </button>
923
924 <button class="pf-v6-c-button pf-m-clicked pf-m-inline pf-m-link" type="button">
925 <span class="pf-v6-c-button__icon pf-m-start">
926 <svg
927 class="pf-v6-svg"
928 fill="currentColor"
929 viewBox="0 0 32 32"
930 aria-hidden="true"
931 role="img"
932 width="1em"
933 height="1em"
934 >
935 <path
936 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
937 />
938 </svg>
939 </span>
940 <span class="pf-v6-c-button__text">Inline link</span>
941 </button>
942
943 <button
944 class="pf-v6-c-button pf-m-clicked pf-m-plain"
945 type="button"
946 aria-label="Remove"
947 >
948 <span class="pf-v6-c-button__icon">
949 <svg
950 class="pf-v6-svg"
951 fill="currentColor"
952 viewBox="0 0 20 20"
953 aria-hidden="true"
954 role="img"
955 width="1em"
956 height="1em"
957 >
958 <path
959 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"
960 />
961 </svg>
962 </span>
963 </button>
964
965 <button
966 class="pf-v6-c-button pf-m-clicked pf-m-plain"
967 type="button"
968 aria-label="Remove"
969 >
970 <span class="pf-v6-c-button__icon pf-m-start">
971 <svg
972 class="pf-v6-svg"
973 fill="currentColor"
974 viewBox="0 0 20 20"
975 aria-hidden="true"
976 role="img"
977 width="1em"
978 height="1em"
979 >
980 <path
981 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"
982 />
983 </svg>
984 </span>
985 <span class="pf-v6-c-button__text">Plain with text</span>
986 </button>
987
988 <br />
989 <br />
990
991 <button class="pf-v6-c-button pf-m-clicked pf-m-control" type="button">
992 <span class="pf-v6-c-button__icon pf-m-start">
993 <svg
994 class="pf-v6-svg"
995 fill="currentColor"
996 viewBox="0 0 32 32"
997 aria-hidden="true"
998 role="img"
999 width="1em"
1000 height="1em"
1001 >
1002 <path
1003 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1004 />
1005 </svg>
1006 </span>
1007 <span class="pf-v6-c-button__text">Control</span>
1008 </button>
1009
1010 <button
1011 class="pf-v6-c-button pf-m-clicked pf-m-control"
1012 type="button"
1013 aria-label="Copy input"
1014 >
1015 <span class="pf-v6-c-button__icon">
1016 <svg
1017 class="pf-v6-svg"
1018 fill="currentColor"
1019 viewBox="0 0 32 32"
1020 aria-hidden="true"
1021 role="img"
1022 width="1em"
1023 height="1em"
1024 >
1025 <path
1026 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
1027 />
1028 </svg>
1029 </span>
1030 </button>
1031
1032 <br />
1033 <br />
1034
1035 <div>
1036 <strong>Icon end</strong>
1037 </div>
1038 <button class="pf-v6-c-button pf-m-clicked pf-m-primary" type="button">
1039 <span class="pf-v6-c-button__text">Primary</span>
1040 <span class="pf-v6-c-button__icon pf-m-end">
1041 <svg
1042 class="pf-v6-svg"
1043 fill="currentColor"
1044 viewBox="0 0 32 32"
1045 aria-hidden="true"
1046 role="img"
1047 width="1em"
1048 height="1em"
1049 >
1050 <path
1051 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1052 />
1053 </svg>
1054 </span>
1055 </button>
1056
1057 <button class="pf-v6-c-button pf-m-clicked pf-m-secondary" type="button">
1058 <span class="pf-v6-c-button__text">Secondary</span>
1059 <span class="pf-v6-c-button__icon pf-m-end">
1060 <svg
1061 class="pf-v6-svg"
1062 fill="currentColor"
1063 viewBox="0 0 32 32"
1064 aria-hidden="true"
1065 role="img"
1066 width="1em"
1067 height="1em"
1068 >
1069 <path
1070 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1071 />
1072 </svg>
1073 </span>
1074 </button>
1075
1076 <button
1077 class="pf-v6-c-button pf-m-clicked pf-m-danger pf-m-secondary"
1078 type="button"
1079 >
1080 <span class="pf-v6-c-button__text">Secondary danger</span>
1081 <span class="pf-v6-c-button__icon pf-m-end">
1082 <svg
1083 class="pf-v6-svg"
1084 fill="currentColor"
1085 viewBox="0 0 32 32"
1086 aria-hidden="true"
1087 role="img"
1088 width="1em"
1089 height="1em"
1090 >
1091 <path
1092 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1093 />
1094 </svg>
1095 </span>
1096 </button>
1097
1098 <button class="pf-v6-c-button pf-m-clicked pf-m-tertiary" type="button">
1099 <span class="pf-v6-c-button__text">Tertiary</span>
1100 <span class="pf-v6-c-button__icon pf-m-end">
1101 <svg
1102 class="pf-v6-svg"
1103 fill="currentColor"
1104 viewBox="0 0 32 32"
1105 aria-hidden="true"
1106 role="img"
1107 width="1em"
1108 height="1em"
1109 >
1110 <path
1111 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1112 />
1113 </svg>
1114 </span>
1115 </button>
1116
1117 <button class="pf-v6-c-button pf-m-clicked pf-m-danger" type="button">
1118 <span class="pf-v6-c-button__text">Danger</span>
1119 <span class="pf-v6-c-button__icon pf-m-end">
1120 <svg
1121 class="pf-v6-svg"
1122 fill="currentColor"
1123 viewBox="0 0 32 32"
1124 aria-hidden="true"
1125 role="img"
1126 width="1em"
1127 height="1em"
1128 >
1129 <path
1130 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1131 />
1132 </svg>
1133 </span>
1134 </button>
1135
1136 <button class="pf-v6-c-button pf-m-clicked pf-m-warning" type="button">
1137 <span class="pf-v6-c-button__text">Warning</span>
1138 <span class="pf-v6-c-button__icon pf-m-end">
1139 <svg
1140 class="pf-v6-svg"
1141 fill="currentColor"
1142 viewBox="0 0 32 32"
1143 aria-hidden="true"
1144 role="img"
1145 width="1em"
1146 height="1em"
1147 >
1148 <path
1149 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1150 />
1151 </svg>
1152 </span>
1153 </button>
1154
1155 <br />
1156 <br />
1157
1158 <button class="pf-v6-c-button pf-m-clicked pf-m-link" type="button">
1159 <span class="pf-v6-c-button__text">Link</span>
1160 <span class="pf-v6-c-button__icon pf-m-end">
1161 <svg
1162 class="pf-v6-svg"
1163 fill="currentColor"
1164 viewBox="0 0 32 32"
1165 aria-hidden="true"
1166 role="img"
1167 width="1em"
1168 height="1em"
1169 >
1170 <path
1171 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1172 />
1173 </svg>
1174 </span>
1175 </button>
1176
1177 <button class="pf-v6-c-button pf-m-clicked pf-m-link pf-m-danger" type="button">
1178 <span class="pf-v6-c-button__text">Link danger</span>
1179 <span class="pf-v6-c-button__icon pf-m-end">
1180 <svg
1181 class="pf-v6-svg"
1182 fill="currentColor"
1183 viewBox="0 0 32 32"
1184 aria-hidden="true"
1185 role="img"
1186 width="1em"
1187 height="1em"
1188 >
1189 <path
1190 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1191 />
1192 </svg>
1193 </span>
1194 </button>
1195
1196 <button class="pf-v6-c-button pf-m-clicked pf-m-inline pf-m-link" type="button">
1197 <span class="pf-v6-c-button__text">Inline link</span>
1198 <span class="pf-v6-c-button__icon pf-m-end">
1199 <svg
1200 class="pf-v6-svg"
1201 fill="currentColor"
1202 viewBox="0 0 32 32"
1203 aria-hidden="true"
1204 role="img"
1205 width="1em"
1206 height="1em"
1207 >
1208 <path
1209 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1210 />
1211 </svg>
1212 </span>
1213 </button>
1214
1215 <button
1216 class="pf-v6-c-button pf-m-clicked pf-m-plain"
1217 type="button"
1218 aria-label="Remove"
1219 >
1220 <span class="pf-v6-c-button__icon">
1221 <svg
1222 class="pf-v6-svg"
1223 fill="currentColor"
1224 viewBox="0 0 20 20"
1225 aria-hidden="true"
1226 role="img"
1227 width="1em"
1228 height="1em"
1229 >
1230 <path
1231 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"
1232 />
1233 </svg>
1234 </span>
1235 </button>
1236
1237 <button
1238 class="pf-v6-c-button pf-m-clicked pf-m-plain"
1239 type="button"
1240 aria-label="Remove"
1241 >
1242 <span class="pf-v6-c-button__text">Plain with text</span>
1243 <span class="pf-v6-c-button__icon pf-m-end">
1244 <svg
1245 class="pf-v6-svg"
1246 fill="currentColor"
1247 viewBox="0 0 20 20"
1248 aria-hidden="true"
1249 role="img"
1250 width="1em"
1251 height="1em"
1252 >
1253 <path
1254 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"
1255 />
1256 </svg>
1257 </span>
1258 </button>
1259
1260 <br />
1261 <br />
1262
1263 <button class="pf-v6-c-button pf-m-clicked pf-m-control" type="button">
1264 <span class="pf-v6-c-button__text">Control</span>
1265 <span class="pf-v6-c-button__icon pf-m-end">
1266 <svg
1267 class="pf-v6-svg"
1268 fill="currentColor"
1269 viewBox="0 0 32 32"
1270 aria-hidden="true"
1271 role="img"
1272 width="1em"
1273 height="1em"
1274 >
1275 <path
1276 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1277 />
1278 </svg>
1279 </span>
1280 </button>
1281
1282 <button
1283 class="pf-v6-c-button pf-m-clicked pf-m-control"
1284 type="button"
1285 aria-label="Copy input"
1286 >
1287 <span class="pf-v6-c-button__icon">
1288 <svg
1289 class="pf-v6-svg"
1290 fill="currentColor"
1291 viewBox="0 0 32 32"
1292 aria-hidden="true"
1293 role="img"
1294 width="1em"
1295 height="1em"
1296 >
1297 <path
1298 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
1299 />
1300 </svg>
1301 </span>
1302 </button>
1303
1304 ```
1305
1306 ### Small buttons
1307
1308 ```html
1309 <button class="pf-v6-c-button pf-m-small pf-m-primary" type="button">
1310 <span class="pf-v6-c-button__text">Primary</span>
1311 </button>
1312
1313 <button class="pf-v6-c-button pf-m-small pf-m-secondary" type="button">
1314 <span class="pf-v6-c-button__text">Secondary</span>
1315 </button>
1316
1317 <button
1318 class="pf-v6-c-button pf-m-small pf-m-danger pf-m-secondary"
1319 type="button"
1320 >
1321 <span class="pf-v6-c-button__text">Secondary danger</span>
1322 </button>
1323
1324 <button class="pf-v6-c-button pf-m-small pf-m-tertiary" type="button">
1325 <span class="pf-v6-c-button__text">Tertiary</span>
1326 </button>
1327
1328 <button class="pf-v6-c-button pf-m-small pf-m-danger" type="button">
1329 <span class="pf-v6-c-button__text">Danger</span>
1330 </button>
1331
1332 <button class="pf-v6-c-button pf-m-small pf-m-warning" type="button">
1333 <span class="pf-v6-c-button__text">Warning</span>
1334 </button>
1335
1336 <br />
1337 <br />
1338
1339 <button class="pf-v6-c-button pf-m-small pf-m-link" type="button">
1340 <span class="pf-v6-c-button__text">Link</span>
1341 </button>
1342
1343 <button class="pf-v6-c-button pf-m-small pf-m-link pf-m-danger" type="button">
1344 <span class="pf-v6-c-button__text">Link danger</span>
1345 </button>
1346
1347 <button class="pf-v6-c-button pf-m-small pf-m-inline pf-m-link" type="button">
1348 <span class="pf-v6-c-button__text">Inline link</span>
1349 </button>
1350
1351 <button
1352 class="pf-v6-c-button pf-m-small pf-m-plain"
1353 type="button"
1354 aria-label="Remove"
1355 >
1356 <span class="pf-v6-c-button__icon">
1357 <svg
1358 class="pf-v6-svg"
1359 fill="currentColor"
1360 viewBox="0 0 20 20"
1361 aria-hidden="true"
1362 role="img"
1363 width="1em"
1364 height="1em"
1365 >
1366 <path
1367 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"
1368 />
1369 </svg>
1370 </span>
1371 </button>
1372
1373 <button
1374 class="pf-v6-c-button pf-m-small pf-m-plain"
1375 type="button"
1376 aria-label="Remove"
1377 >
1378 <span class="pf-v6-c-button__icon pf-m-start">
1379 <svg
1380 class="pf-v6-svg"
1381 fill="currentColor"
1382 viewBox="0 0 20 20"
1383 aria-hidden="true"
1384 role="img"
1385 width="1em"
1386 height="1em"
1387 >
1388 <path
1389 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"
1390 />
1391 </svg>
1392 </span>
1393 <span class="pf-v6-c-button__text">Plain with text</span>
1394 </button>
1395
1396 <br />
1397 <br />
1398
1399 <button class="pf-v6-c-button pf-m-small pf-m-control" type="button">
1400 <span class="pf-v6-c-button__text">Control</span>
1401 </button>
1402
1403 <button
1404 class="pf-v6-c-button pf-m-small pf-m-control"
1405 type="button"
1406 aria-label="Copy input"
1407 >
1408 <span class="pf-v6-c-button__icon">
1409 <svg
1410 class="pf-v6-svg"
1411 fill="currentColor"
1412 viewBox="0 0 32 32"
1413 aria-hidden="true"
1414 role="img"
1415 width="1em"
1416 height="1em"
1417 >
1418 <path
1419 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
1420 />
1421 </svg>
1422 </span>
1423 </button>
1424
1425 <br />
1426 <br />
1427
1428 <div>
1429 <strong>Icon</strong>
1430 </div>
1431 <button class="pf-v6-c-button pf-m-small pf-m-primary" type="button">
1432 <span class="pf-v6-c-button__icon pf-m-start">
1433 <svg
1434 class="pf-v6-svg"
1435 fill="currentColor"
1436 viewBox="0 0 32 32"
1437 aria-hidden="true"
1438 role="img"
1439 width="1em"
1440 height="1em"
1441 >
1442 <path
1443 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1444 />
1445 </svg>
1446 </span>
1447 <span class="pf-v6-c-button__text">Primary</span>
1448 </button>
1449
1450 <button class="pf-v6-c-button pf-m-small pf-m-secondary" type="button">
1451 <span class="pf-v6-c-button__icon pf-m-start">
1452 <svg
1453 class="pf-v6-svg"
1454 fill="currentColor"
1455 viewBox="0 0 32 32"
1456 aria-hidden="true"
1457 role="img"
1458 width="1em"
1459 height="1em"
1460 >
1461 <path
1462 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1463 />
1464 </svg>
1465 </span>
1466 <span class="pf-v6-c-button__text">Secondary</span>
1467 </button>
1468
1469 <button
1470 class="pf-v6-c-button pf-m-small pf-m-danger pf-m-secondary"
1471 type="button"
1472 >
1473 <span class="pf-v6-c-button__icon pf-m-start">
1474 <svg
1475 class="pf-v6-svg"
1476 fill="currentColor"
1477 viewBox="0 0 32 32"
1478 aria-hidden="true"
1479 role="img"
1480 width="1em"
1481 height="1em"
1482 >
1483 <path
1484 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1485 />
1486 </svg>
1487 </span>
1488 <span class="pf-v6-c-button__text">Secondary danger</span>
1489 </button>
1490
1491 <button class="pf-v6-c-button pf-m-small pf-m-tertiary" type="button">
1492 <span class="pf-v6-c-button__icon pf-m-start">
1493 <svg
1494 class="pf-v6-svg"
1495 fill="currentColor"
1496 viewBox="0 0 32 32"
1497 aria-hidden="true"
1498 role="img"
1499 width="1em"
1500 height="1em"
1501 >
1502 <path
1503 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1504 />
1505 </svg>
1506 </span>
1507 <span class="pf-v6-c-button__text">Tertiary</span>
1508 </button>
1509
1510 <button class="pf-v6-c-button pf-m-small pf-m-danger" type="button">
1511 <span class="pf-v6-c-button__icon pf-m-start">
1512 <svg
1513 class="pf-v6-svg"
1514 fill="currentColor"
1515 viewBox="0 0 32 32"
1516 aria-hidden="true"
1517 role="img"
1518 width="1em"
1519 height="1em"
1520 >
1521 <path
1522 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1523 />
1524 </svg>
1525 </span>
1526 <span class="pf-v6-c-button__text">Danger</span>
1527 </button>
1528
1529 <button class="pf-v6-c-button pf-m-small pf-m-warning" type="button">
1530 <span class="pf-v6-c-button__icon pf-m-start">
1531 <svg
1532 class="pf-v6-svg"
1533 fill="currentColor"
1534 viewBox="0 0 32 32"
1535 aria-hidden="true"
1536 role="img"
1537 width="1em"
1538 height="1em"
1539 >
1540 <path
1541 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1542 />
1543 </svg>
1544 </span>
1545 <span class="pf-v6-c-button__text">Warning</span>
1546 </button>
1547
1548 <br />
1549 <br />
1550
1551 <button class="pf-v6-c-button pf-m-small pf-m-link" type="button">
1552 <span class="pf-v6-c-button__icon pf-m-start">
1553 <svg
1554 class="pf-v6-svg"
1555 fill="currentColor"
1556 viewBox="0 0 32 32"
1557 aria-hidden="true"
1558 role="img"
1559 width="1em"
1560 height="1em"
1561 >
1562 <path
1563 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1564 />
1565 </svg>
1566 </span>
1567 <span class="pf-v6-c-button__text">Link</span>
1568 </button>
1569
1570 <button class="pf-v6-c-button pf-m-small pf-m-link pf-m-danger" type="button">
1571 <span class="pf-v6-c-button__icon pf-m-start">
1572 <svg
1573 class="pf-v6-svg"
1574 fill="currentColor"
1575 viewBox="0 0 32 32"
1576 aria-hidden="true"
1577 role="img"
1578 width="1em"
1579 height="1em"
1580 >
1581 <path
1582 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1583 />
1584 </svg>
1585 </span>
1586 <span class="pf-v6-c-button__text">Link danger</span>
1587 </button>
1588
1589 <button class="pf-v6-c-button pf-m-small pf-m-inline pf-m-link" type="button">
1590 <span class="pf-v6-c-button__icon pf-m-start">
1591 <svg
1592 class="pf-v6-svg"
1593 fill="currentColor"
1594 viewBox="0 0 32 32"
1595 aria-hidden="true"
1596 role="img"
1597 width="1em"
1598 height="1em"
1599 >
1600 <path
1601 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1602 />
1603 </svg>
1604 </span>
1605 <span class="pf-v6-c-button__text">Inline link</span>
1606 </button>
1607
1608 <button
1609 class="pf-v6-c-button pf-m-small pf-m-plain"
1610 type="button"
1611 aria-label="Remove"
1612 >
1613 <span class="pf-v6-c-button__icon">
1614 <svg
1615 class="pf-v6-svg"
1616 fill="currentColor"
1617 viewBox="0 0 20 20"
1618 aria-hidden="true"
1619 role="img"
1620 width="1em"
1621 height="1em"
1622 >
1623 <path
1624 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"
1625 />
1626 </svg>
1627 </span>
1628 </button>
1629
1630 <button
1631 class="pf-v6-c-button pf-m-small pf-m-plain"
1632 type="button"
1633 aria-label="Remove"
1634 >
1635 <span class="pf-v6-c-button__icon pf-m-start">
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.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"
1647 />
1648 </svg>
1649 </span>
1650 <span class="pf-v6-c-button__text">Plain with text</span>
1651 </button>
1652
1653 <br />
1654 <br />
1655
1656 <button class="pf-v6-c-button pf-m-small pf-m-control" type="button">
1657 <span class="pf-v6-c-button__icon pf-m-start">
1658 <svg
1659 class="pf-v6-svg"
1660 fill="currentColor"
1661 viewBox="0 0 32 32"
1662 aria-hidden="true"
1663 role="img"
1664 width="1em"
1665 height="1em"
1666 >
1667 <path
1668 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1669 />
1670 </svg>
1671 </span>
1672 <span class="pf-v6-c-button__text">Control</span>
1673 </button>
1674
1675 <button
1676 class="pf-v6-c-button pf-m-small pf-m-control"
1677 type="button"
1678 aria-label="Copy input"
1679 >
1680 <span class="pf-v6-c-button__icon">
1681 <svg
1682 class="pf-v6-svg"
1683 fill="currentColor"
1684 viewBox="0 0 32 32"
1685 aria-hidden="true"
1686 role="img"
1687 width="1em"
1688 height="1em"
1689 >
1690 <path
1691 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
1692 />
1693 </svg>
1694 </span>
1695 </button>
1696
1697 <br />
1698 <br />
1699
1700 <div>
1701 <strong>Icon end</strong>
1702 </div>
1703 <button class="pf-v6-c-button pf-m-small pf-m-primary" type="button">
1704 <span class="pf-v6-c-button__text">Primary</span>
1705 <span class="pf-v6-c-button__icon pf-m-end">
1706 <svg
1707 class="pf-v6-svg"
1708 fill="currentColor"
1709 viewBox="0 0 32 32"
1710 aria-hidden="true"
1711 role="img"
1712 width="1em"
1713 height="1em"
1714 >
1715 <path
1716 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1717 />
1718 </svg>
1719 </span>
1720 </button>
1721
1722 <button class="pf-v6-c-button pf-m-small pf-m-secondary" type="button">
1723 <span class="pf-v6-c-button__text">Secondary</span>
1724 <span class="pf-v6-c-button__icon pf-m-end">
1725 <svg
1726 class="pf-v6-svg"
1727 fill="currentColor"
1728 viewBox="0 0 32 32"
1729 aria-hidden="true"
1730 role="img"
1731 width="1em"
1732 height="1em"
1733 >
1734 <path
1735 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1736 />
1737 </svg>
1738 </span>
1739 </button>
1740
1741 <button
1742 class="pf-v6-c-button pf-m-small pf-m-danger pf-m-secondary"
1743 type="button"
1744 >
1745 <span class="pf-v6-c-button__text">Secondary danger</span>
1746 <span class="pf-v6-c-button__icon pf-m-end">
1747 <svg
1748 class="pf-v6-svg"
1749 fill="currentColor"
1750 viewBox="0 0 32 32"
1751 aria-hidden="true"
1752 role="img"
1753 width="1em"
1754 height="1em"
1755 >
1756 <path
1757 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1758 />
1759 </svg>
1760 </span>
1761 </button>
1762
1763 <button class="pf-v6-c-button pf-m-small pf-m-tertiary" type="button">
1764 <span class="pf-v6-c-button__text">Tertiary</span>
1765 <span class="pf-v6-c-button__icon pf-m-end">
1766 <svg
1767 class="pf-v6-svg"
1768 fill="currentColor"
1769 viewBox="0 0 32 32"
1770 aria-hidden="true"
1771 role="img"
1772 width="1em"
1773 height="1em"
1774 >
1775 <path
1776 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1777 />
1778 </svg>
1779 </span>
1780 </button>
1781
1782 <button class="pf-v6-c-button pf-m-small pf-m-danger" type="button">
1783 <span class="pf-v6-c-button__text">Danger</span>
1784 <span class="pf-v6-c-button__icon pf-m-end">
1785 <svg
1786 class="pf-v6-svg"
1787 fill="currentColor"
1788 viewBox="0 0 32 32"
1789 aria-hidden="true"
1790 role="img"
1791 width="1em"
1792 height="1em"
1793 >
1794 <path
1795 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1796 />
1797 </svg>
1798 </span>
1799 </button>
1800
1801 <button class="pf-v6-c-button pf-m-small pf-m-warning" type="button">
1802 <span class="pf-v6-c-button__text">Warning</span>
1803 <span class="pf-v6-c-button__icon pf-m-end">
1804 <svg
1805 class="pf-v6-svg"
1806 fill="currentColor"
1807 viewBox="0 0 32 32"
1808 aria-hidden="true"
1809 role="img"
1810 width="1em"
1811 height="1em"
1812 >
1813 <path
1814 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1815 />
1816 </svg>
1817 </span>
1818 </button>
1819
1820 <br />
1821 <br />
1822
1823 <button class="pf-v6-c-button pf-m-small pf-m-link" type="button">
1824 <span class="pf-v6-c-button__text">Link</span>
1825 <span class="pf-v6-c-button__icon pf-m-end">
1826 <svg
1827 class="pf-v6-svg"
1828 fill="currentColor"
1829 viewBox="0 0 32 32"
1830 aria-hidden="true"
1831 role="img"
1832 width="1em"
1833 height="1em"
1834 >
1835 <path
1836 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1837 />
1838 </svg>
1839 </span>
1840 </button>
1841
1842 <button class="pf-v6-c-button pf-m-small pf-m-link pf-m-danger" type="button">
1843 <span class="pf-v6-c-button__text">Link danger</span>
1844 <span class="pf-v6-c-button__icon pf-m-end">
1845 <svg
1846 class="pf-v6-svg"
1847 fill="currentColor"
1848 viewBox="0 0 32 32"
1849 aria-hidden="true"
1850 role="img"
1851 width="1em"
1852 height="1em"
1853 >
1854 <path
1855 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1856 />
1857 </svg>
1858 </span>
1859 </button>
1860
1861 <button class="pf-v6-c-button pf-m-small pf-m-inline pf-m-link" type="button">
1862 <span class="pf-v6-c-button__text">Inline link</span>
1863 <span class="pf-v6-c-button__icon pf-m-end">
1864 <svg
1865 class="pf-v6-svg"
1866 fill="currentColor"
1867 viewBox="0 0 32 32"
1868 aria-hidden="true"
1869 role="img"
1870 width="1em"
1871 height="1em"
1872 >
1873 <path
1874 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1875 />
1876 </svg>
1877 </span>
1878 </button>
1879
1880 <button
1881 class="pf-v6-c-button pf-m-small pf-m-plain"
1882 type="button"
1883 aria-label="Remove"
1884 >
1885 <span class="pf-v6-c-button__icon">
1886 <svg
1887 class="pf-v6-svg"
1888 fill="currentColor"
1889 viewBox="0 0 20 20"
1890 aria-hidden="true"
1891 role="img"
1892 width="1em"
1893 height="1em"
1894 >
1895 <path
1896 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"
1897 />
1898 </svg>
1899 </span>
1900 </button>
1901
1902 <button
1903 class="pf-v6-c-button pf-m-small pf-m-plain"
1904 type="button"
1905 aria-label="Remove"
1906 >
1907 <span class="pf-v6-c-button__text">Plain with text</span>
1908 <span class="pf-v6-c-button__icon pf-m-end">
1909 <svg
1910 class="pf-v6-svg"
1911 fill="currentColor"
1912 viewBox="0 0 20 20"
1913 aria-hidden="true"
1914 role="img"
1915 width="1em"
1916 height="1em"
1917 >
1918 <path
1919 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"
1920 />
1921 </svg>
1922 </span>
1923 </button>
1924
1925 <br />
1926 <br />
1927
1928 <button class="pf-v6-c-button pf-m-small pf-m-control" type="button">
1929 <span class="pf-v6-c-button__text">Control</span>
1930 <span class="pf-v6-c-button__icon pf-m-end">
1931 <svg
1932 class="pf-v6-svg"
1933 fill="currentColor"
1934 viewBox="0 0 32 32"
1935 aria-hidden="true"
1936 role="img"
1937 width="1em"
1938 height="1em"
1939 >
1940 <path
1941 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
1942 />
1943 </svg>
1944 </span>
1945 </button>
1946
1947 <button
1948 class="pf-v6-c-button pf-m-small pf-m-control"
1949 type="button"
1950 aria-label="Copy input"
1951 >
1952 <span class="pf-v6-c-button__icon">
1953 <svg
1954 class="pf-v6-svg"
1955 fill="currentColor"
1956 viewBox="0 0 32 32"
1957 aria-hidden="true"
1958 role="img"
1959 width="1em"
1960 height="1em"
1961 >
1962 <path
1963 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
1964 />
1965 </svg>
1966 </span>
1967 </button>
1968
1969 ```
1970
1971 ### Disabled
1972
1973 ```html
1974 <button class="pf-v6-c-button pf-m-primary" type="button" disabled>
1975 <span class="pf-v6-c-button__text">Primary</span>
1976 </button>
1977
1978 <button class="pf-v6-c-button pf-m-secondary" type="button" disabled>
1979 <span class="pf-v6-c-button__text">Secondary</span>
1980 </button>
1981
1982 <button
1983 class="pf-v6-c-button pf-m-danger pf-m-secondary"
1984 type="button"
1985 disabled
1986 >
1987 <span class="pf-v6-c-button__text">Secondary danger</span>
1988 </button>
1989
1990 <button class="pf-v6-c-button pf-m-tertiary" type="button" disabled>
1991 <span class="pf-v6-c-button__text">Tertiary</span>
1992 </button>
1993
1994 <button class="pf-v6-c-button pf-m-danger" type="button" disabled>
1995 <span class="pf-v6-c-button__text">Danger</span>
1996 </button>
1997
1998 <button class="pf-v6-c-button pf-m-warning" type="button" disabled>
1999 <span class="pf-v6-c-button__text">Warning</span>
2000 </button>
2001
2002 <br />
2003 <br />
2004
2005 <button class="pf-v6-c-button pf-m-link" type="button" disabled>
2006 <span class="pf-v6-c-button__text">Link</span>
2007 </button>
2008
2009 <button class="pf-v6-c-button pf-m-link pf-m-danger" type="button" disabled>
2010 <span class="pf-v6-c-button__text">Link danger</span>
2011 </button>
2012
2013 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button" disabled>
2014 <span class="pf-v6-c-button__text">Inline link</span>
2015 </button>
2016
2017 <button
2018 class="pf-v6-c-button pf-m-plain"
2019 type="button"
2020 aria-label="Remove"
2021 disabled
2022 >
2023 <span class="pf-v6-c-button__icon">
2024 <svg
2025 class="pf-v6-svg"
2026 fill="currentColor"
2027 viewBox="0 0 20 20"
2028 aria-hidden="true"
2029 role="img"
2030 width="1em"
2031 height="1em"
2032 >
2033 <path
2034 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"
2035 />
2036 </svg>
2037 </span>
2038 </button>
2039
2040 <button
2041 class="pf-v6-c-button pf-m-plain"
2042 type="button"
2043 aria-label="Remove"
2044 disabled
2045 >
2046 <span class="pf-v6-c-button__icon pf-m-start">
2047 <svg
2048 class="pf-v6-svg"
2049 fill="currentColor"
2050 viewBox="0 0 20 20"
2051 aria-hidden="true"
2052 role="img"
2053 width="1em"
2054 height="1em"
2055 >
2056 <path
2057 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"
2058 />
2059 </svg>
2060 </span>
2061 <span class="pf-v6-c-button__text">Plain with text</span>
2062 </button>
2063
2064 <br />
2065 <br />
2066
2067 <button class="pf-v6-c-button pf-m-control" type="button" disabled>
2068 <span class="pf-v6-c-button__text">Control</span>
2069 </button>
2070
2071 <button
2072 class="pf-v6-c-button pf-m-control"
2073 type="button"
2074 aria-label="Copy input"
2075 disabled
2076 >
2077 <span class="pf-v6-c-button__icon">
2078 <svg
2079 class="pf-v6-svg"
2080 fill="currentColor"
2081 viewBox="0 0 32 32"
2082 aria-hidden="true"
2083 role="img"
2084 width="1em"
2085 height="1em"
2086 >
2087 <path
2088 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
2089 />
2090 </svg>
2091 </span>
2092 </button>
2093
2094 <br />
2095 <br />
2096
2097 <div>
2098 <strong>Icon</strong>
2099 </div>
2100 <button class="pf-v6-c-button pf-m-primary" type="button" disabled>
2101 <span class="pf-v6-c-button__icon pf-m-start">
2102 <svg
2103 class="pf-v6-svg"
2104 fill="currentColor"
2105 viewBox="0 0 32 32"
2106 aria-hidden="true"
2107 role="img"
2108 width="1em"
2109 height="1em"
2110 >
2111 <path
2112 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2113 />
2114 </svg>
2115 </span>
2116 <span class="pf-v6-c-button__text">Primary</span>
2117 </button>
2118
2119 <button class="pf-v6-c-button pf-m-secondary" type="button" disabled>
2120 <span class="pf-v6-c-button__icon pf-m-start">
2121 <svg
2122 class="pf-v6-svg"
2123 fill="currentColor"
2124 viewBox="0 0 32 32"
2125 aria-hidden="true"
2126 role="img"
2127 width="1em"
2128 height="1em"
2129 >
2130 <path
2131 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2132 />
2133 </svg>
2134 </span>
2135 <span class="pf-v6-c-button__text">Secondary</span>
2136 </button>
2137
2138 <button
2139 class="pf-v6-c-button pf-m-danger pf-m-secondary"
2140 type="button"
2141 disabled
2142 >
2143 <span class="pf-v6-c-button__icon pf-m-start">
2144 <svg
2145 class="pf-v6-svg"
2146 fill="currentColor"
2147 viewBox="0 0 32 32"
2148 aria-hidden="true"
2149 role="img"
2150 width="1em"
2151 height="1em"
2152 >
2153 <path
2154 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2155 />
2156 </svg>
2157 </span>
2158 <span class="pf-v6-c-button__text">Secondary danger</span>
2159 </button>
2160
2161 <button class="pf-v6-c-button pf-m-tertiary" type="button" disabled>
2162 <span class="pf-v6-c-button__icon pf-m-start">
2163 <svg
2164 class="pf-v6-svg"
2165 fill="currentColor"
2166 viewBox="0 0 32 32"
2167 aria-hidden="true"
2168 role="img"
2169 width="1em"
2170 height="1em"
2171 >
2172 <path
2173 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2174 />
2175 </svg>
2176 </span>
2177 <span class="pf-v6-c-button__text">Tertiary</span>
2178 </button>
2179
2180 <button class="pf-v6-c-button pf-m-danger" type="button" disabled>
2181 <span class="pf-v6-c-button__icon pf-m-start">
2182 <svg
2183 class="pf-v6-svg"
2184 fill="currentColor"
2185 viewBox="0 0 32 32"
2186 aria-hidden="true"
2187 role="img"
2188 width="1em"
2189 height="1em"
2190 >
2191 <path
2192 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2193 />
2194 </svg>
2195 </span>
2196 <span class="pf-v6-c-button__text">Danger</span>
2197 </button>
2198
2199 <button class="pf-v6-c-button pf-m-warning" type="button" disabled>
2200 <span class="pf-v6-c-button__icon pf-m-start">
2201 <svg
2202 class="pf-v6-svg"
2203 fill="currentColor"
2204 viewBox="0 0 32 32"
2205 aria-hidden="true"
2206 role="img"
2207 width="1em"
2208 height="1em"
2209 >
2210 <path
2211 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2212 />
2213 </svg>
2214 </span>
2215 <span class="pf-v6-c-button__text">Warning</span>
2216 </button>
2217
2218 <br />
2219 <br />
2220
2221 <button class="pf-v6-c-button pf-m-link" type="button" disabled>
2222 <span class="pf-v6-c-button__icon pf-m-start">
2223 <svg
2224 class="pf-v6-svg"
2225 fill="currentColor"
2226 viewBox="0 0 32 32"
2227 aria-hidden="true"
2228 role="img"
2229 width="1em"
2230 height="1em"
2231 >
2232 <path
2233 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2234 />
2235 </svg>
2236 </span>
2237 <span class="pf-v6-c-button__text">Link</span>
2238 </button>
2239
2240 <button class="pf-v6-c-button pf-m-link pf-m-danger" type="button" disabled>
2241 <span class="pf-v6-c-button__icon pf-m-start">
2242 <svg
2243 class="pf-v6-svg"
2244 fill="currentColor"
2245 viewBox="0 0 32 32"
2246 aria-hidden="true"
2247 role="img"
2248 width="1em"
2249 height="1em"
2250 >
2251 <path
2252 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2253 />
2254 </svg>
2255 </span>
2256 <span class="pf-v6-c-button__text">Link danger</span>
2257 </button>
2258
2259 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button" disabled>
2260 <span class="pf-v6-c-button__icon pf-m-start">
2261 <svg
2262 class="pf-v6-svg"
2263 fill="currentColor"
2264 viewBox="0 0 32 32"
2265 aria-hidden="true"
2266 role="img"
2267 width="1em"
2268 height="1em"
2269 >
2270 <path
2271 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2272 />
2273 </svg>
2274 </span>
2275 <span class="pf-v6-c-button__text">Inline link</span>
2276 </button>
2277
2278 <button
2279 class="pf-v6-c-button pf-m-plain"
2280 type="button"
2281 aria-label="Remove"
2282 disabled
2283 >
2284 <span class="pf-v6-c-button__icon">
2285 <svg
2286 class="pf-v6-svg"
2287 fill="currentColor"
2288 viewBox="0 0 20 20"
2289 aria-hidden="true"
2290 role="img"
2291 width="1em"
2292 height="1em"
2293 >
2294 <path
2295 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"
2296 />
2297 </svg>
2298 </span>
2299 </button>
2300
2301 <button
2302 class="pf-v6-c-button pf-m-plain"
2303 type="button"
2304 aria-label="Remove"
2305 disabled
2306 >
2307 <span class="pf-v6-c-button__icon pf-m-start">
2308 <svg
2309 class="pf-v6-svg"
2310 fill="currentColor"
2311 viewBox="0 0 20 20"
2312 aria-hidden="true"
2313 role="img"
2314 width="1em"
2315 height="1em"
2316 >
2317 <path
2318 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"
2319 />
2320 </svg>
2321 </span>
2322 <span class="pf-v6-c-button__text">Plain with text</span>
2323 </button>
2324
2325 <br />
2326 <br />
2327
2328 <button class="pf-v6-c-button pf-m-control" type="button" disabled>
2329 <span class="pf-v6-c-button__icon pf-m-start">
2330 <svg
2331 class="pf-v6-svg"
2332 fill="currentColor"
2333 viewBox="0 0 32 32"
2334 aria-hidden="true"
2335 role="img"
2336 width="1em"
2337 height="1em"
2338 >
2339 <path
2340 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2341 />
2342 </svg>
2343 </span>
2344 <span class="pf-v6-c-button__text">Control</span>
2345 </button>
2346
2347 <button
2348 class="pf-v6-c-button pf-m-control"
2349 type="button"
2350 aria-label="Copy input"
2351 disabled
2352 >
2353 <span class="pf-v6-c-button__icon">
2354 <svg
2355 class="pf-v6-svg"
2356 fill="currentColor"
2357 viewBox="0 0 32 32"
2358 aria-hidden="true"
2359 role="img"
2360 width="1em"
2361 height="1em"
2362 >
2363 <path
2364 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
2365 />
2366 </svg>
2367 </span>
2368 </button>
2369
2370 <br />
2371 <br />
2372
2373 <div>
2374 <strong>Icon end</strong>
2375 </div>
2376 <button class="pf-v6-c-button pf-m-primary" type="button" disabled>
2377 <span class="pf-v6-c-button__text">Primary</span>
2378 <span class="pf-v6-c-button__icon pf-m-end">
2379 <svg
2380 class="pf-v6-svg"
2381 fill="currentColor"
2382 viewBox="0 0 32 32"
2383 aria-hidden="true"
2384 role="img"
2385 width="1em"
2386 height="1em"
2387 >
2388 <path
2389 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2390 />
2391 </svg>
2392 </span>
2393 </button>
2394
2395 <button class="pf-v6-c-button pf-m-secondary" type="button" disabled>
2396 <span class="pf-v6-c-button__text">Secondary</span>
2397 <span class="pf-v6-c-button__icon pf-m-end">
2398 <svg
2399 class="pf-v6-svg"
2400 fill="currentColor"
2401 viewBox="0 0 32 32"
2402 aria-hidden="true"
2403 role="img"
2404 width="1em"
2405 height="1em"
2406 >
2407 <path
2408 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2409 />
2410 </svg>
2411 </span>
2412 </button>
2413
2414 <button
2415 class="pf-v6-c-button pf-m-danger pf-m-secondary"
2416 type="button"
2417 disabled
2418 >
2419 <span class="pf-v6-c-button__text">Secondary danger</span>
2420 <span class="pf-v6-c-button__icon pf-m-end">
2421 <svg
2422 class="pf-v6-svg"
2423 fill="currentColor"
2424 viewBox="0 0 32 32"
2425 aria-hidden="true"
2426 role="img"
2427 width="1em"
2428 height="1em"
2429 >
2430 <path
2431 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2432 />
2433 </svg>
2434 </span>
2435 </button>
2436
2437 <button class="pf-v6-c-button pf-m-tertiary" type="button" disabled>
2438 <span class="pf-v6-c-button__text">Tertiary</span>
2439 <span class="pf-v6-c-button__icon pf-m-end">
2440 <svg
2441 class="pf-v6-svg"
2442 fill="currentColor"
2443 viewBox="0 0 32 32"
2444 aria-hidden="true"
2445 role="img"
2446 width="1em"
2447 height="1em"
2448 >
2449 <path
2450 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2451 />
2452 </svg>
2453 </span>
2454 </button>
2455
2456 <button class="pf-v6-c-button pf-m-danger" type="button" disabled>
2457 <span class="pf-v6-c-button__text">Danger</span>
2458 <span class="pf-v6-c-button__icon pf-m-end">
2459 <svg
2460 class="pf-v6-svg"
2461 fill="currentColor"
2462 viewBox="0 0 32 32"
2463 aria-hidden="true"
2464 role="img"
2465 width="1em"
2466 height="1em"
2467 >
2468 <path
2469 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2470 />
2471 </svg>
2472 </span>
2473 </button>
2474
2475 <button class="pf-v6-c-button pf-m-warning" type="button" disabled>
2476 <span class="pf-v6-c-button__text">Warning</span>
2477 <span class="pf-v6-c-button__icon pf-m-end">
2478 <svg
2479 class="pf-v6-svg"
2480 fill="currentColor"
2481 viewBox="0 0 32 32"
2482 aria-hidden="true"
2483 role="img"
2484 width="1em"
2485 height="1em"
2486 >
2487 <path
2488 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2489 />
2490 </svg>
2491 </span>
2492 </button>
2493
2494 <br />
2495 <br />
2496
2497 <button class="pf-v6-c-button pf-m-link" type="button" disabled>
2498 <span class="pf-v6-c-button__text">Link</span>
2499 <span class="pf-v6-c-button__icon pf-m-end">
2500 <svg
2501 class="pf-v6-svg"
2502 fill="currentColor"
2503 viewBox="0 0 32 32"
2504 aria-hidden="true"
2505 role="img"
2506 width="1em"
2507 height="1em"
2508 >
2509 <path
2510 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2511 />
2512 </svg>
2513 </span>
2514 </button>
2515
2516 <button class="pf-v6-c-button pf-m-link pf-m-danger" type="button" disabled>
2517 <span class="pf-v6-c-button__text">Link danger</span>
2518 <span class="pf-v6-c-button__icon pf-m-end">
2519 <svg
2520 class="pf-v6-svg"
2521 fill="currentColor"
2522 viewBox="0 0 32 32"
2523 aria-hidden="true"
2524 role="img"
2525 width="1em"
2526 height="1em"
2527 >
2528 <path
2529 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2530 />
2531 </svg>
2532 </span>
2533 </button>
2534
2535 <button class="pf-v6-c-button pf-m-inline pf-m-link" type="button" disabled>
2536 <span class="pf-v6-c-button__text">Inline link</span>
2537 <span class="pf-v6-c-button__icon pf-m-end">
2538 <svg
2539 class="pf-v6-svg"
2540 fill="currentColor"
2541 viewBox="0 0 32 32"
2542 aria-hidden="true"
2543 role="img"
2544 width="1em"
2545 height="1em"
2546 >
2547 <path
2548 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2549 />
2550 </svg>
2551 </span>
2552 </button>
2553
2554 <button
2555 class="pf-v6-c-button pf-m-plain"
2556 type="button"
2557 aria-label="Remove"
2558 disabled
2559 >
2560 <span class="pf-v6-c-button__icon">
2561 <svg
2562 class="pf-v6-svg"
2563 fill="currentColor"
2564 viewBox="0 0 20 20"
2565 aria-hidden="true"
2566 role="img"
2567 width="1em"
2568 height="1em"
2569 >
2570 <path
2571 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"
2572 />
2573 </svg>
2574 </span>
2575 </button>
2576
2577 <button
2578 class="pf-v6-c-button pf-m-plain"
2579 type="button"
2580 aria-label="Remove"
2581 disabled
2582 >
2583 <span class="pf-v6-c-button__text">Plain with text</span>
2584 <span class="pf-v6-c-button__icon pf-m-end">
2585 <svg
2586 class="pf-v6-svg"
2587 fill="currentColor"
2588 viewBox="0 0 20 20"
2589 aria-hidden="true"
2590 role="img"
2591 width="1em"
2592 height="1em"
2593 >
2594 <path
2595 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"
2596 />
2597 </svg>
2598 </span>
2599 </button>
2600
2601 <br />
2602 <br />
2603
2604 <button class="pf-v6-c-button pf-m-control" type="button" disabled>
2605 <span class="pf-v6-c-button__text">Control</span>
2606 <span class="pf-v6-c-button__icon pf-m-end">
2607 <svg
2608 class="pf-v6-svg"
2609 fill="currentColor"
2610 viewBox="0 0 32 32"
2611 aria-hidden="true"
2612 role="img"
2613 width="1em"
2614 height="1em"
2615 >
2616 <path
2617 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2618 />
2619 </svg>
2620 </span>
2621 </button>
2622
2623 <button
2624 class="pf-v6-c-button pf-m-control"
2625 type="button"
2626 aria-label="Copy input"
2627 disabled
2628 >
2629 <span class="pf-v6-c-button__icon">
2630 <svg
2631 class="pf-v6-svg"
2632 fill="currentColor"
2633 viewBox="0 0 32 32"
2634 aria-hidden="true"
2635 role="img"
2636 width="1em"
2637 height="1em"
2638 >
2639 <path
2640 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
2641 />
2642 </svg>
2643 </span>
2644 </button>
2645
2646 ```
2647
2648 ### Aria-disabled
2649
2650 ```html
2651 <button
2652 class="pf-v6-c-button pf-m-aria-disabled pf-m-primary"
2653 type="button"
2654 aria-disabled="true"
2655 >
2656 <span class="pf-v6-c-button__text">Primary</span>
2657 </button>
2658
2659 <button
2660 class="pf-v6-c-button pf-m-aria-disabled pf-m-secondary"
2661 type="button"
2662 aria-disabled="true"
2663 >
2664 <span class="pf-v6-c-button__text">Secondary</span>
2665 </button>
2666
2667 <button
2668 class="pf-v6-c-button pf-m-aria-disabled pf-m-danger pf-m-secondary"
2669 type="button"
2670 aria-disabled="true"
2671 >
2672 <span class="pf-v6-c-button__text">Secondary danger</span>
2673 </button>
2674
2675 <button
2676 class="pf-v6-c-button pf-m-aria-disabled pf-m-tertiary"
2677 type="button"
2678 aria-disabled="true"
2679 >
2680 <span class="pf-v6-c-button__text">Tertiary</span>
2681 </button>
2682
2683 <button
2684 class="pf-v6-c-button pf-m-aria-disabled pf-m-danger"
2685 type="button"
2686 aria-disabled="true"
2687 >
2688 <span class="pf-v6-c-button__text">Danger</span>
2689 </button>
2690
2691 <button
2692 class="pf-v6-c-button pf-m-aria-disabled pf-m-warning"
2693 type="button"
2694 aria-disabled="true"
2695 >
2696 <span class="pf-v6-c-button__text">Warning</span>
2697 </button>
2698
2699 <br />
2700 <br />
2701
2702 <button
2703 class="pf-v6-c-button pf-m-aria-disabled pf-m-link"
2704 type="button"
2705 aria-disabled="true"
2706 >
2707 <span class="pf-v6-c-button__text">Link</span>
2708 </button>
2709
2710 <button
2711 class="pf-v6-c-button pf-m-aria-disabled pf-m-link pf-m-danger"
2712 type="button"
2713 aria-disabled="true"
2714 >
2715 <span class="pf-v6-c-button__text">Link danger</span>
2716 </button>
2717
2718 <button
2719 class="pf-v6-c-button pf-m-aria-disabled pf-m-inline pf-m-link"
2720 type="button"
2721 aria-disabled="true"
2722 >
2723 <span class="pf-v6-c-button__text">Inline link</span>
2724 </button>
2725
2726 <button
2727 class="pf-v6-c-button pf-m-aria-disabled pf-m-plain"
2728 type="button"
2729 aria-label="Remove"
2730 aria-disabled="true"
2731 >
2732 <span class="pf-v6-c-button__icon">
2733 <svg
2734 class="pf-v6-svg"
2735 fill="currentColor"
2736 viewBox="0 0 20 20"
2737 aria-hidden="true"
2738 role="img"
2739 width="1em"
2740 height="1em"
2741 >
2742 <path
2743 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"
2744 />
2745 </svg>
2746 </span>
2747 </button>
2748
2749 <button
2750 class="pf-v6-c-button pf-m-aria-disabled pf-m-plain"
2751 type="button"
2752 aria-label="Remove"
2753 aria-disabled="true"
2754 >
2755 <span class="pf-v6-c-button__icon pf-m-start">
2756 <svg
2757 class="pf-v6-svg"
2758 fill="currentColor"
2759 viewBox="0 0 20 20"
2760 aria-hidden="true"
2761 role="img"
2762 width="1em"
2763 height="1em"
2764 >
2765 <path
2766 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"
2767 />
2768 </svg>
2769 </span>
2770 <span class="pf-v6-c-button__text">Plain with text</span>
2771 </button>
2772
2773 <br />
2774 <br />
2775
2776 <button
2777 class="pf-v6-c-button pf-m-aria-disabled pf-m-control"
2778 type="button"
2779 aria-disabled="true"
2780 >
2781 <span class="pf-v6-c-button__text">Control</span>
2782 </button>
2783
2784 <button
2785 class="pf-v6-c-button pf-m-aria-disabled pf-m-control"
2786 type="button"
2787 aria-label="Copy input"
2788 aria-disabled="true"
2789 >
2790 <span class="pf-v6-c-button__icon">
2791 <svg
2792 class="pf-v6-svg"
2793 fill="currentColor"
2794 viewBox="0 0 32 32"
2795 aria-hidden="true"
2796 role="img"
2797 width="1em"
2798 height="1em"
2799 >
2800 <path
2801 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
2802 />
2803 </svg>
2804 </span>
2805 </button>
2806
2807 <br />
2808 <br />
2809
2810 <div>
2811 <strong>Icon</strong>
2812 </div>
2813 <button
2814 class="pf-v6-c-button pf-m-aria-disabled pf-m-primary"
2815 type="button"
2816 aria-disabled="true"
2817 >
2818 <span class="pf-v6-c-button__icon pf-m-start">
2819 <svg
2820 class="pf-v6-svg"
2821 fill="currentColor"
2822 viewBox="0 0 32 32"
2823 aria-hidden="true"
2824 role="img"
2825 width="1em"
2826 height="1em"
2827 >
2828 <path
2829 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2830 />
2831 </svg>
2832 </span>
2833 <span class="pf-v6-c-button__text">Primary</span>
2834 </button>
2835
2836 <button
2837 class="pf-v6-c-button pf-m-aria-disabled pf-m-secondary"
2838 type="button"
2839 aria-disabled="true"
2840 >
2841 <span class="pf-v6-c-button__icon pf-m-start">
2842 <svg
2843 class="pf-v6-svg"
2844 fill="currentColor"
2845 viewBox="0 0 32 32"
2846 aria-hidden="true"
2847 role="img"
2848 width="1em"
2849 height="1em"
2850 >
2851 <path
2852 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2853 />
2854 </svg>
2855 </span>
2856 <span class="pf-v6-c-button__text">Secondary</span>
2857 </button>
2858
2859 <button
2860 class="pf-v6-c-button pf-m-aria-disabled pf-m-danger pf-m-secondary"
2861 type="button"
2862 aria-disabled="true"
2863 >
2864 <span class="pf-v6-c-button__icon pf-m-start">
2865 <svg
2866 class="pf-v6-svg"
2867 fill="currentColor"
2868 viewBox="0 0 32 32"
2869 aria-hidden="true"
2870 role="img"
2871 width="1em"
2872 height="1em"
2873 >
2874 <path
2875 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2876 />
2877 </svg>
2878 </span>
2879 <span class="pf-v6-c-button__text">Secondary danger</span>
2880 </button>
2881
2882 <button
2883 class="pf-v6-c-button pf-m-aria-disabled pf-m-tertiary"
2884 type="button"
2885 aria-disabled="true"
2886 >
2887 <span class="pf-v6-c-button__icon pf-m-start">
2888 <svg
2889 class="pf-v6-svg"
2890 fill="currentColor"
2891 viewBox="0 0 32 32"
2892 aria-hidden="true"
2893 role="img"
2894 width="1em"
2895 height="1em"
2896 >
2897 <path
2898 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2899 />
2900 </svg>
2901 </span>
2902 <span class="pf-v6-c-button__text">Tertiary</span>
2903 </button>
2904
2905 <button
2906 class="pf-v6-c-button pf-m-aria-disabled pf-m-danger"
2907 type="button"
2908 aria-disabled="true"
2909 >
2910 <span class="pf-v6-c-button__icon pf-m-start">
2911 <svg
2912 class="pf-v6-svg"
2913 fill="currentColor"
2914 viewBox="0 0 32 32"
2915 aria-hidden="true"
2916 role="img"
2917 width="1em"
2918 height="1em"
2919 >
2920 <path
2921 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2922 />
2923 </svg>
2924 </span>
2925 <span class="pf-v6-c-button__text">Danger</span>
2926 </button>
2927
2928 <button
2929 class="pf-v6-c-button pf-m-aria-disabled pf-m-warning"
2930 type="button"
2931 aria-disabled="true"
2932 >
2933 <span class="pf-v6-c-button__icon pf-m-start">
2934 <svg
2935 class="pf-v6-svg"
2936 fill="currentColor"
2937 viewBox="0 0 32 32"
2938 aria-hidden="true"
2939 role="img"
2940 width="1em"
2941 height="1em"
2942 >
2943 <path
2944 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2945 />
2946 </svg>
2947 </span>
2948 <span class="pf-v6-c-button__text">Warning</span>
2949 </button>
2950
2951 <br />
2952 <br />
2953
2954 <button
2955 class="pf-v6-c-button pf-m-aria-disabled pf-m-link"
2956 type="button"
2957 aria-disabled="true"
2958 >
2959 <span class="pf-v6-c-button__icon pf-m-start">
2960 <svg
2961 class="pf-v6-svg"
2962 fill="currentColor"
2963 viewBox="0 0 32 32"
2964 aria-hidden="true"
2965 role="img"
2966 width="1em"
2967 height="1em"
2968 >
2969 <path
2970 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2971 />
2972 </svg>
2973 </span>
2974 <span class="pf-v6-c-button__text">Link</span>
2975 </button>
2976
2977 <button
2978 class="pf-v6-c-button pf-m-aria-disabled pf-m-link pf-m-danger"
2979 type="button"
2980 aria-disabled="true"
2981 >
2982 <span class="pf-v6-c-button__icon pf-m-start">
2983 <svg
2984 class="pf-v6-svg"
2985 fill="currentColor"
2986 viewBox="0 0 32 32"
2987 aria-hidden="true"
2988 role="img"
2989 width="1em"
2990 height="1em"
2991 >
2992 <path
2993 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
2994 />
2995 </svg>
2996 </span>
2997 <span class="pf-v6-c-button__text">Link danger</span>
2998 </button>
2999
3000 <button
3001 class="pf-v6-c-button pf-m-aria-disabled pf-m-inline pf-m-link"
3002 type="button"
3003 aria-disabled="true"
3004 >
3005 <span class="pf-v6-c-button__icon pf-m-start">
3006 <svg
3007 class="pf-v6-svg"
3008 fill="currentColor"
3009 viewBox="0 0 32 32"
3010 aria-hidden="true"
3011 role="img"
3012 width="1em"
3013 height="1em"
3014 >
3015 <path
3016 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3017 />
3018 </svg>
3019 </span>
3020 <span class="pf-v6-c-button__text">Inline link</span>
3021 </button>
3022
3023 <button
3024 class="pf-v6-c-button pf-m-aria-disabled pf-m-plain"
3025 type="button"
3026 aria-label="Remove"
3027 aria-disabled="true"
3028 >
3029 <span class="pf-v6-c-button__icon">
3030 <svg
3031 class="pf-v6-svg"
3032 fill="currentColor"
3033 viewBox="0 0 20 20"
3034 aria-hidden="true"
3035 role="img"
3036 width="1em"
3037 height="1em"
3038 >
3039 <path
3040 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"
3041 />
3042 </svg>
3043 </span>
3044 </button>
3045
3046 <button
3047 class="pf-v6-c-button pf-m-aria-disabled pf-m-plain"
3048 type="button"
3049 aria-label="Remove"
3050 aria-disabled="true"
3051 >
3052 <span class="pf-v6-c-button__icon pf-m-start">
3053 <svg
3054 class="pf-v6-svg"
3055 fill="currentColor"
3056 viewBox="0 0 20 20"
3057 aria-hidden="true"
3058 role="img"
3059 width="1em"
3060 height="1em"
3061 >
3062 <path
3063 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"
3064 />
3065 </svg>
3066 </span>
3067 <span class="pf-v6-c-button__text">Plain with text</span>
3068 </button>
3069
3070 <br />
3071 <br />
3072
3073 <button
3074 class="pf-v6-c-button pf-m-aria-disabled pf-m-control"
3075 type="button"
3076 aria-disabled="true"
3077 >
3078 <span class="pf-v6-c-button__icon pf-m-start">
3079 <svg
3080 class="pf-v6-svg"
3081 fill="currentColor"
3082 viewBox="0 0 32 32"
3083 aria-hidden="true"
3084 role="img"
3085 width="1em"
3086 height="1em"
3087 >
3088 <path
3089 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3090 />
3091 </svg>
3092 </span>
3093 <span class="pf-v6-c-button__text">Control</span>
3094 </button>
3095
3096 <button
3097 class="pf-v6-c-button pf-m-aria-disabled pf-m-control"
3098 type="button"
3099 aria-label="Copy input"
3100 aria-disabled="true"
3101 >
3102 <span class="pf-v6-c-button__icon">
3103 <svg
3104 class="pf-v6-svg"
3105 fill="currentColor"
3106 viewBox="0 0 32 32"
3107 aria-hidden="true"
3108 role="img"
3109 width="1em"
3110 height="1em"
3111 >
3112 <path
3113 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
3114 />
3115 </svg>
3116 </span>
3117 </button>
3118
3119 <br />
3120 <br />
3121
3122 <div>
3123 <strong>Icon end</strong>
3124 </div>
3125 <button
3126 class="pf-v6-c-button pf-m-aria-disabled pf-m-primary"
3127 type="button"
3128 aria-disabled="true"
3129 >
3130 <span class="pf-v6-c-button__text">Primary</span>
3131 <span class="pf-v6-c-button__icon pf-m-end">
3132 <svg
3133 class="pf-v6-svg"
3134 fill="currentColor"
3135 viewBox="0 0 32 32"
3136 aria-hidden="true"
3137 role="img"
3138 width="1em"
3139 height="1em"
3140 >
3141 <path
3142 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3143 />
3144 </svg>
3145 </span>
3146 </button>
3147
3148 <button
3149 class="pf-v6-c-button pf-m-aria-disabled pf-m-secondary"
3150 type="button"
3151 aria-disabled="true"
3152 >
3153 <span class="pf-v6-c-button__text">Secondary</span>
3154 <span class="pf-v6-c-button__icon pf-m-end">
3155 <svg
3156 class="pf-v6-svg"
3157 fill="currentColor"
3158 viewBox="0 0 32 32"
3159 aria-hidden="true"
3160 role="img"
3161 width="1em"
3162 height="1em"
3163 >
3164 <path
3165 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3166 />
3167 </svg>
3168 </span>
3169 </button>
3170
3171 <button
3172 class="pf-v6-c-button pf-m-aria-disabled pf-m-danger pf-m-secondary"
3173 type="button"
3174 aria-disabled="true"
3175 >
3176 <span class="pf-v6-c-button__text">Secondary danger</span>
3177 <span class="pf-v6-c-button__icon pf-m-end">
3178 <svg
3179 class="pf-v6-svg"
3180 fill="currentColor"
3181 viewBox="0 0 32 32"
3182 aria-hidden="true"
3183 role="img"
3184 width="1em"
3185 height="1em"
3186 >
3187 <path
3188 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3189 />
3190 </svg>
3191 </span>
3192 </button>
3193
3194 <button
3195 class="pf-v6-c-button pf-m-aria-disabled pf-m-tertiary"
3196 type="button"
3197 aria-disabled="true"
3198 >
3199 <span class="pf-v6-c-button__text">Tertiary</span>
3200 <span class="pf-v6-c-button__icon pf-m-end">
3201 <svg
3202 class="pf-v6-svg"
3203 fill="currentColor"
3204 viewBox="0 0 32 32"
3205 aria-hidden="true"
3206 role="img"
3207 width="1em"
3208 height="1em"
3209 >
3210 <path
3211 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3212 />
3213 </svg>
3214 </span>
3215 </button>
3216
3217 <button
3218 class="pf-v6-c-button pf-m-aria-disabled pf-m-danger"
3219 type="button"
3220 aria-disabled="true"
3221 >
3222 <span class="pf-v6-c-button__text">Danger</span>
3223 <span class="pf-v6-c-button__icon pf-m-end">
3224 <svg
3225 class="pf-v6-svg"
3226 fill="currentColor"
3227 viewBox="0 0 32 32"
3228 aria-hidden="true"
3229 role="img"
3230 width="1em"
3231 height="1em"
3232 >
3233 <path
3234 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3235 />
3236 </svg>
3237 </span>
3238 </button>
3239
3240 <button
3241 class="pf-v6-c-button pf-m-aria-disabled pf-m-warning"
3242 type="button"
3243 aria-disabled="true"
3244 >
3245 <span class="pf-v6-c-button__text">Warning</span>
3246 <span class="pf-v6-c-button__icon pf-m-end">
3247 <svg
3248 class="pf-v6-svg"
3249 fill="currentColor"
3250 viewBox="0 0 32 32"
3251 aria-hidden="true"
3252 role="img"
3253 width="1em"
3254 height="1em"
3255 >
3256 <path
3257 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3258 />
3259 </svg>
3260 </span>
3261 </button>
3262
3263 <br />
3264 <br />
3265
3266 <button
3267 class="pf-v6-c-button pf-m-aria-disabled pf-m-link"
3268 type="button"
3269 aria-disabled="true"
3270 >
3271 <span class="pf-v6-c-button__text">Link</span>
3272 <span class="pf-v6-c-button__icon pf-m-end">
3273 <svg
3274 class="pf-v6-svg"
3275 fill="currentColor"
3276 viewBox="0 0 32 32"
3277 aria-hidden="true"
3278 role="img"
3279 width="1em"
3280 height="1em"
3281 >
3282 <path
3283 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3284 />
3285 </svg>
3286 </span>
3287 </button>
3288
3289 <button
3290 class="pf-v6-c-button pf-m-aria-disabled pf-m-link pf-m-danger"
3291 type="button"
3292 aria-disabled="true"
3293 >
3294 <span class="pf-v6-c-button__text">Link danger</span>
3295 <span class="pf-v6-c-button__icon pf-m-end">
3296 <svg
3297 class="pf-v6-svg"
3298 fill="currentColor"
3299 viewBox="0 0 32 32"
3300 aria-hidden="true"
3301 role="img"
3302 width="1em"
3303 height="1em"
3304 >
3305 <path
3306 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3307 />
3308 </svg>
3309 </span>
3310 </button>
3311
3312 <button
3313 class="pf-v6-c-button pf-m-aria-disabled pf-m-inline pf-m-link"
3314 type="button"
3315 aria-disabled="true"
3316 >
3317 <span class="pf-v6-c-button__text">Inline link</span>
3318 <span class="pf-v6-c-button__icon pf-m-end">
3319 <svg
3320 class="pf-v6-svg"
3321 fill="currentColor"
3322 viewBox="0 0 32 32"
3323 aria-hidden="true"
3324 role="img"
3325 width="1em"
3326 height="1em"
3327 >
3328 <path
3329 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3330 />
3331 </svg>
3332 </span>
3333 </button>
3334
3335 <button
3336 class="pf-v6-c-button pf-m-aria-disabled pf-m-plain"
3337 type="button"
3338 aria-label="Remove"
3339 aria-disabled="true"
3340 >
3341 <span class="pf-v6-c-button__icon">
3342 <svg
3343 class="pf-v6-svg"
3344 fill="currentColor"
3345 viewBox="0 0 20 20"
3346 aria-hidden="true"
3347 role="img"
3348 width="1em"
3349 height="1em"
3350 >
3351 <path
3352 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"
3353 />
3354 </svg>
3355 </span>
3356 </button>
3357
3358 <button
3359 class="pf-v6-c-button pf-m-aria-disabled pf-m-plain"
3360 type="button"
3361 aria-label="Remove"
3362 aria-disabled="true"
3363 >
3364 <span class="pf-v6-c-button__text">Plain with text</span>
3365 <span class="pf-v6-c-button__icon pf-m-end">
3366 <svg
3367 class="pf-v6-svg"
3368 fill="currentColor"
3369 viewBox="0 0 20 20"
3370 aria-hidden="true"
3371 role="img"
3372 width="1em"
3373 height="1em"
3374 >
3375 <path
3376 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"
3377 />
3378 </svg>
3379 </span>
3380 </button>
3381
3382 <br />
3383 <br />
3384
3385 <button
3386 class="pf-v6-c-button pf-m-aria-disabled pf-m-control"
3387 type="button"
3388 aria-disabled="true"
3389 >
3390 <span class="pf-v6-c-button__text">Control</span>
3391 <span class="pf-v6-c-button__icon pf-m-end">
3392 <svg
3393 class="pf-v6-svg"
3394 fill="currentColor"
3395 viewBox="0 0 32 32"
3396 aria-hidden="true"
3397 role="img"
3398 width="1em"
3399 height="1em"
3400 >
3401 <path
3402 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3403 />
3404 </svg>
3405 </span>
3406 </button>
3407
3408 <button
3409 class="pf-v6-c-button pf-m-aria-disabled pf-m-control"
3410 type="button"
3411 aria-label="Copy input"
3412 aria-disabled="true"
3413 >
3414 <span class="pf-v6-c-button__icon">
3415 <svg
3416 class="pf-v6-svg"
3417 fill="currentColor"
3418 viewBox="0 0 32 32"
3419 aria-hidden="true"
3420 role="img"
3421 width="1em"
3422 height="1em"
3423 >
3424 <path
3425 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
3426 />
3427 </svg>
3428 </span>
3429 </button>
3430
3431 ```
3432
3433 ### Links as buttons
3434
3435 ```html
3436 <a
3437 class="pf-v6-c-button pf-m-primary"
3438 href="https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html#ARIA8-examples"
3439 >
3440 <span class="pf-v6-c-button__text">Primary link to W3.org</span>
3441 </a>
3442
3443 <a
3444 class="pf-v6-c-button pf-m-secondary"
3445 aria-label="Read more about button documentation"
3446 href="#overview"
3447 >
3448 <span class="pf-v6-c-button__text">Secondary link to anchor</span>
3449 </a>
3450
3451 <a
3452 class="pf-v6-c-button pf-m-danger pf-m-secondary"
3453 aria-label="Read more about button documentation"
3454 href="#overview"
3455 >
3456 <span class="pf-v6-c-button__text">Secondary danger link to anchor</span>
3457 </a>
3458
3459 <a
3460 class="pf-v6-c-button pf-m-tertiary pf-m-disabled"
3461 href="https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html#ARIA8-examples"
3462 aria-disabled="true"
3463 tabindex="-1"
3464 >
3465 <span class="pf-v6-c-button__text">Tertiary link to W3.org</span>
3466 </a>
3467
3468 <a
3469 class="pf-v6-c-button pf-m-link"
3470 href="https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html#ARIA8-examples"
3471 >
3472 <span class="pf-v6-c-button__text">Link to W3.org</span>
3473 </a>
3474
3475 <a
3476 class="pf-v6-c-button pf-m-link pf-m-danger"
3477 href="https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html#ARIA8-examples"
3478 >
3479 <span class="pf-v6-c-button__text">Link danger to W3.org</span>
3480 </a>
3481
3482 ```
3483
3484 ### Inline link as span
3485
3486 ```html
3487 <strong>Plain</strong>
3488 <br />
3489 <span
3490 class="pf-v6-c-button pf-m-plain"
3491 type="button"
3492 role="button"
3493 tabindex="0"
3494 aria-label="Remove"
3495 >
3496 <span class="pf-v6-c-button__icon">
3497 <svg
3498 class="pf-v6-svg"
3499 fill="currentColor"
3500 viewBox="0 0 20 20"
3501 aria-hidden="true"
3502 role="img"
3503 width="1em"
3504 height="1em"
3505 >
3506 <path
3507 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"
3508 />
3509 </svg>
3510 </span>
3511 </span>
3512 <br />
3513 <br />
3514 <strong>Plain no padding</strong>
3515 <br />
3516 <span
3517 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
3518 type="button"
3519 role="button"
3520 tabindex="0"
3521 aria-label="Remove"
3522 >
3523 <span class="pf-v6-c-button__icon">
3524 <svg
3525 class="pf-v6-svg"
3526 fill="currentColor"
3527 viewBox="0 0 20 20"
3528 aria-hidden="true"
3529 role="img"
3530 width="1em"
3531 height="1em"
3532 >
3533 <path
3534 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"
3535 />
3536 </svg>
3537 </span>
3538 </span>
3539 <br />
3540 <br />
3541 <strong>Inline link</strong>
3542 <br />Lorem ipsum dolor sit amet, consectetur adipiscing elit.
3543 <span
3544 class="pf-v6-c-button pf-m-inline pf-m-link"
3545 type="button"
3546 role="button"
3547 tabindex="0"
3548 >
3549 <span
3550 class="pf-v6-c-button__text"
3551 >This is long button text that needs to be a span so that it will wrap inline with the text around it.</span>
3552 </span>
3553 Sed hendrerit nisi in cursus maximus. Ut malesuada nisi turpis, in condimentum velit elementum non.
3554
3555 ```
3556
3557 ### Block level
3558
3559 ```html
3560 <button class="pf-v6-c-button pf-m-block pf-m-primary" type="button">
3561 <span class="pf-v6-c-button__text">Block level button</span>
3562 </button>
3563
3564 ```
3565
3566 ### Types
3567
3568 ```html
3569 <button class="pf-v6-c-button pf-m-primary" type="submit">
3570 <span class="pf-v6-c-button__text">Submit</span>
3571 </button>
3572
3573 <button class="pf-v6-c-button pf-m-primary" type="reset">
3574 <span class="pf-v6-c-button__text">Reset</span>
3575 </button>
3576
3577 <button class="pf-v6-c-button pf-m-primary" type="button">
3578 <span class="pf-v6-c-button__text">Default</span>
3579 </button>
3580
3581 ```
3582
3583 ### Call to action
3584
3585 ```html
3586 <button class="pf-v6-c-button pf-m-display-lg pf-m-primary" type="button">
3587 <span class="pf-v6-c-button__text">Call to action</span>
3588 </button>
3589
3590 <button class="pf-v6-c-button pf-m-display-lg pf-m-secondary" type="button">
3591 <span class="pf-v6-c-button__text">Call to action</span>
3592 </button>
3593
3594 <button class="pf-v6-c-button pf-m-display-lg pf-m-tertiary" type="button">
3595 <span class="pf-v6-c-button__text">Call to action</span>
3596 </button>
3597
3598 <button class="pf-v6-c-button pf-m-display-lg pf-m-link" type="button">
3599 <span class="pf-v6-c-button__text">Call to action</span>
3600 <span class="pf-v6-c-button__icon pf-m-end">
3601 <svg
3602 class="pf-v6-svg"
3603 fill="currentColor"
3604 viewBox="0 0 32 32"
3605 aria-hidden="true"
3606 role="img"
3607 width="1em"
3608 height="1em"
3609 >
3610 <path
3611 d="M30.354 14.939 19.708 4.293a.999.999 0 1 0-1.414 1.414L27.587 15H2a1 1 0 0 0 0 2h25.586l-9.293 9.293a.999.999 0 1 0 1.414 1.414l10.646-10.646c.283-.283.439-.66.439-1.061s-.156-.777-.439-1.061Z"
3612 />
3613 </svg>
3614 </span>
3615 </button>
3616
3617 <button
3618 class="pf-v6-c-button pf-m-display-lg pf-m-inline pf-m-link"
3619 type="button"
3620 >
3621 <span class="pf-v6-c-button__text">Call to action</span>
3622 <span class="pf-v6-c-button__icon pf-m-end">
3623 <svg
3624 class="pf-v6-svg"
3625 fill="currentColor"
3626 viewBox="0 0 32 32"
3627 aria-hidden="true"
3628 role="img"
3629 width="1em"
3630 height="1em"
3631 >
3632 <path
3633 d="M30.354 14.939 19.708 4.293a.999.999 0 1 0-1.414 1.414L27.587 15H2a1 1 0 0 0 0 2h25.586l-9.293 9.293a.999.999 0 1 0 1.414 1.414l10.646-10.646c.283-.283.439-.66.439-1.061s-.156-.777-.439-1.061Z"
3634 />
3635 </svg>
3636 </span>
3637 </button>
3638 <br />
3639 <br />
3640 <strong>disabled</strong>
3641 <br />
3642 <button
3643 class="pf-v6-c-button pf-m-display-lg pf-m-primary"
3644 type="button"
3645 disabled
3646 >
3647 <span class="pf-v6-c-button__text">Call to action</span>
3648 </button>
3649
3650 <button
3651 class="pf-v6-c-button pf-m-display-lg pf-m-secondary"
3652 type="button"
3653 disabled
3654 >
3655 <span class="pf-v6-c-button__text">Call to action</span>
3656 </button>
3657
3658 <button
3659 class="pf-v6-c-button pf-m-display-lg pf-m-tertiary"
3660 type="button"
3661 disabled
3662 >
3663 <span class="pf-v6-c-button__text">Call to action</span>
3664 </button>
3665
3666 <button class="pf-v6-c-button pf-m-display-lg pf-m-link" type="button" disabled>
3667 <span class="pf-v6-c-button__text">Call to action</span>
3668 <span class="pf-v6-c-button__icon pf-m-end">
3669 <svg
3670 class="pf-v6-svg"
3671 fill="currentColor"
3672 viewBox="0 0 32 32"
3673 aria-hidden="true"
3674 role="img"
3675 width="1em"
3676 height="1em"
3677 >
3678 <path
3679 d="M30.354 14.939 19.708 4.293a.999.999 0 1 0-1.414 1.414L27.587 15H2a1 1 0 0 0 0 2h25.586l-9.293 9.293a.999.999 0 1 0 1.414 1.414l10.646-10.646c.283-.283.439-.66.439-1.061s-.156-.777-.439-1.061Z"
3680 />
3681 </svg>
3682 </span>
3683 </button>
3684
3685 <button
3686 class="pf-v6-c-button pf-m-display-lg pf-m-inline pf-m-link"
3687 type="button"
3688 disabled
3689 >
3690 <span class="pf-v6-c-button__text">Call to action</span>
3691 <span class="pf-v6-c-button__icon pf-m-end">
3692 <svg
3693 class="pf-v6-svg"
3694 fill="currentColor"
3695 viewBox="0 0 32 32"
3696 aria-hidden="true"
3697 role="img"
3698 width="1em"
3699 height="1em"
3700 >
3701 <path
3702 d="M30.354 14.939 19.708 4.293a.999.999 0 1 0-1.414 1.414L27.587 15H2a1 1 0 0 0 0 2h25.586l-9.293 9.293a.999.999 0 1 0 1.414 1.414l10.646-10.646c.283-.283.439-.66.439-1.061s-.156-.777-.439-1.061Z"
3703 />
3704 </svg>
3705 </span>
3706 </button>
3707
3708 ```
3709
3710 ### Progress
3711
3712 ```html
3713 <button class="pf-v6-c-button pf-m-progress pf-m-primary" type="button">
3714 <span class="pf-v6-c-button__text">Primary loader</span>
3715 </button>
3716
3717 <button
3718 class="pf-v6-c-button pf-m-in-progress pf-m-progress pf-m-primary"
3719 type="button"
3720 >
3721 <span class="pf-v6-c-button__progress">
3722 <svg
3723 class="pf-v6-c-spinner pf-m-md"
3724 role="progressbar"
3725 viewBox="0 0 100 100"
3726 aria-label="Loading..."
3727 >
3728 <circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
3729 </svg>
3730 </span>
3731
3732 <span class="pf-v6-c-button__text">Primary loading</span>
3733 </button>
3734 <br />
3735 <button class="pf-v6-c-button pf-m-progress pf-m-secondary" type="button">
3736 <span class="pf-v6-c-button__text">Secondary loader</span>
3737 </button>
3738
3739 <button
3740 class="pf-v6-c-button pf-m-in-progress pf-m-progress pf-m-secondary"
3741 type="button"
3742 >
3743 <span class="pf-v6-c-button__progress">
3744 <svg
3745 class="pf-v6-c-spinner pf-m-md"
3746 role="progressbar"
3747 viewBox="0 0 100 100"
3748 aria-label="Loading..."
3749 >
3750 <circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
3751 </svg>
3752 </span>
3753
3754 <span class="pf-v6-c-button__text">Secondary loading</span>
3755 </button>
3756 <br />
3757 <button class="pf-v6-c-button pf-m-plain" type="button" aria-label="Upload">
3758 <span class="pf-v6-c-button__icon">
3759 <svg
3760 class="pf-v6-svg"
3761 fill="currentColor"
3762 viewBox="0 0 32 32"
3763 aria-hidden="true"
3764 role="img"
3765 width="1em"
3766 height="1em"
3767 >
3768 <path
3769 d="M30 29a1 1 0 0 1-1 1H3a1 1 0 1 1 0-2h26a1 1 0 0 1 1 1ZM7.707 12.707 15 5.414V24a1 1 0 1 0 2 0V5.414l7.293 7.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414l-8.646-8.647a1.5 1.5 0 0 0-2.121 0l-8.647 8.647a.999.999 0 1 0 1.414 1.414Z"
3770 />
3771 </svg>
3772 </span>
3773 </button>
3774
3775 <button class="pf-v6-c-button pf-m-in-progress pf-m-plain" type="button">
3776 <span class="pf-v6-c-button__progress">
3777 <svg
3778 class="pf-v6-c-spinner pf-m-md"
3779 role="progressbar"
3780 viewBox="0 0 100 100"
3781 aria-label="Uploading..."
3782 >
3783 <circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
3784 </svg>
3785 </span>
3786
3787 <span class="pf-v6-c-button__icon">
3788 <svg
3789 class="pf-v6-svg"
3790 fill="currentColor"
3791 viewBox="0 0 32 32"
3792 aria-hidden="true"
3793 role="img"
3794 width="1em"
3795 height="1em"
3796 >
3797 <path
3798 d="M30 29a1 1 0 0 1-1 1H3a1 1 0 1 1 0-2h26a1 1 0 0 1 1 1ZM7.707 12.707 15 5.414V24a1 1 0 1 0 2 0V5.414l7.293 7.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414l-8.646-8.647a1.5 1.5 0 0 0-2.121 0l-8.647 8.647a.999.999 0 1 0 1.414 1.414Z"
3799 />
3800 </svg>
3801 </span>
3802 </button>
3803 <br />
3804 <button
3805 class="pf-v6-c-button pf-m-progress pf-m-inline pf-m-link"
3806 type="button"
3807 >
3808 <span class="pf-v6-c-button__text">Inline loader</span>
3809 </button>
3810
3811 <button
3812 class="pf-v6-c-button pf-m-in-progress pf-m-progress pf-m-inline pf-m-link"
3813 type="button"
3814 >
3815 <span class="pf-v6-c-button__progress">
3816 <svg
3817 class="pf-v6-c-spinner pf-m-inline"
3818 role="progressbar"
3819 viewBox="0 0 100 100"
3820 aria-label="Loading..."
3821 >
3822 <circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
3823 </svg>
3824 </span>
3825
3826 <span class="pf-v6-c-button__text">Inline loading</span>
3827 </button>
3828
3829 ```
3830
3831 ### Circle buttons
3832
3833 ```html isBeta
3834 <button
3835 class="pf-v6-c-button pf-m-circle pf-m-primary"
3836 type="button"
3837 aria-label="Add primary circle variant"
3838 >
3839 <span class="pf-v6-c-button__icon pf-m-start">
3840 <svg
3841 class="pf-v6-svg"
3842 fill="currentColor"
3843 viewBox="0 0 32 32"
3844 aria-hidden="true"
3845 role="img"
3846 width="1em"
3847 height="1em"
3848 >
3849 <path
3850 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3851 />
3852 </svg>
3853 </span>
3854 </button>
3855
3856 <button
3857 class="pf-v6-c-button pf-m-circle pf-m-secondary"
3858 type="button"
3859 aria-label="Add secondary circle variant"
3860 >
3861 <span class="pf-v6-c-button__icon pf-m-start">
3862 <svg
3863 class="pf-v6-svg"
3864 fill="currentColor"
3865 viewBox="0 0 32 32"
3866 aria-hidden="true"
3867 role="img"
3868 width="1em"
3869 height="1em"
3870 >
3871 <path
3872 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3873 />
3874 </svg>
3875 </span>
3876 </button>
3877
3878 <button
3879 class="pf-v6-c-button pf-m-circle pf-m-tertiary"
3880 type="button"
3881 aria-label="Add tertiary circle variant"
3882 >
3883 <span class="pf-v6-c-button__icon pf-m-start">
3884 <svg
3885 class="pf-v6-svg"
3886 fill="currentColor"
3887 viewBox="0 0 32 32"
3888 aria-hidden="true"
3889 role="img"
3890 width="1em"
3891 height="1em"
3892 >
3893 <path
3894 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3895 />
3896 </svg>
3897 </span>
3898 </button>
3899
3900 <button
3901 class="pf-v6-c-button pf-m-circle pf-m-danger"
3902 type="button"
3903 aria-label="Add danger circle variant"
3904 >
3905 <span class="pf-v6-c-button__icon pf-m-start">
3906 <svg
3907 class="pf-v6-svg"
3908 fill="currentColor"
3909 viewBox="0 0 32 32"
3910 aria-hidden="true"
3911 role="img"
3912 width="1em"
3913 height="1em"
3914 >
3915 <path
3916 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3917 />
3918 </svg>
3919 </span>
3920 </button>
3921
3922 <button
3923 class="pf-v6-c-button pf-m-circle pf-m-warning"
3924 type="button"
3925 aria-label="Add warning circle variant"
3926 >
3927 <span class="pf-v6-c-button__icon pf-m-start">
3928 <svg
3929 class="pf-v6-svg"
3930 fill="currentColor"
3931 viewBox="0 0 32 32"
3932 aria-hidden="true"
3933 role="img"
3934 width="1em"
3935 height="1em"
3936 >
3937 <path
3938 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3939 />
3940 </svg>
3941 </span>
3942 </button>
3943
3944 <button
3945 class="pf-v6-c-button pf-m-circle pf-m-link"
3946 type="button"
3947 aria-label="Add link circle variant"
3948 >
3949 <span class="pf-v6-c-button__icon pf-m-start">
3950 <svg
3951 class="pf-v6-svg"
3952 fill="currentColor"
3953 viewBox="0 0 32 32"
3954 aria-hidden="true"
3955 role="img"
3956 width="1em"
3957 height="1em"
3958 >
3959 <path
3960 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm8-13a1 1 0 0 1-1 1h-6v6a1 1 0 0 1-2 0v-6H9a1 1 0 0 1 0-2h6V9a1 1 0 0 1 2 0v6h6a1 1 0 0 1 1 1Z"
3961 />
3962 </svg>
3963 </span>
3964 </button>
3965
3966 <button
3967 class="pf-v6-c-button pf-m-circle pf-m-plain"
3968 type="button"
3969 aria-label="Remove plain circle variant"
3970 >
3971 <span class="pf-v6-c-button__icon pf-m-start">
3972 <svg
3973 class="pf-v6-svg"
3974 fill="currentColor"
3975 viewBox="0 0 20 20"
3976 aria-hidden="true"
3977 role="img"
3978 width="1em"
3979 height="1em"
3980 >
3981 <path
3982 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"
3983 />
3984 </svg>
3985 </span>
3986 </button>
3987
3988 <button
3989 class="pf-v6-c-button pf-m-circle pf-m-control"
3990 type="button"
3991 aria-label="Copy control circle variant"
3992 >
3993 <span class="pf-v6-c-button__icon pf-m-start">
3994 <svg
3995 class="pf-v6-svg"
3996 fill="currentColor"
3997 viewBox="0 0 32 32"
3998 aria-hidden="true"
3999 role="img"
4000 width="1em"
4001 height="1em"
4002 >
4003 <path
4004 d="M28 7v22.607c0 .768-.622 1.393-1.387 1.393H10a1 1 0 1 1 0-2h16V7a1 1 0 1 1 2 0Zm-6.5 19h-16c-.827 0-1.5-.673-1.5-1.5V8a1.001 1.001 0 0 1 .294-.708l5.998-5.998A1.001 1.001 0 0 1 11 1h10.5c.827 0 1.5.673 1.5 1.5v22c0 .827-.673 1.5-1.5 1.5ZM7.414 7H10V4.414L7.414 7ZM21 3h-9v4.614C12 8.378 11.378 9 10.613 9H6v15h15V3Z"
4005 />
4006 </svg>
4007 </span>
4008 </button>
4009
4010 <button
4011 class="pf-v6-c-button pf-m-circle pf-m-plain"
4012 type="button"
4013 aria-label="Upload circle variant"
4014 >
4015 <span class="pf-v6-c-button__icon">
4016 <svg
4017 class="pf-v6-svg"
4018 fill="currentColor"
4019 viewBox="0 0 32 32"
4020 aria-hidden="true"
4021 role="img"
4022 width="1em"
4023 height="1em"
4024 >
4025 <path
4026 d="M30 29a1 1 0 0 1-1 1H3a1 1 0 1 1 0-2h26a1 1 0 0 1 1 1ZM7.707 12.707 15 5.414V24a1 1 0 1 0 2 0V5.414l7.293 7.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414l-8.646-8.647a1.5 1.5 0 0 0-2.121 0l-8.647 8.647a.999.999 0 1 0 1.414 1.414Z"
4027 />
4028 </svg>
4029 </span>
4030 </button>
4031
4032 <button
4033 class="pf-v6-c-button pf-m-circle pf-m-in-progress pf-m-plain"
4034 type="button"
4035 >
4036 <span class="pf-v6-c-button__progress">
4037 <svg
4038 class="pf-v6-c-spinner pf-m-md"
4039 role="progressbar"
4040 viewBox="0 0 100 100"
4041 aria-label="Uploading circle variant..."
4042 >
4043 <circle class="pf-v6-c-spinner__path" cx="50" cy="50" r="45" fill="none" />
4044 </svg>
4045 </span>
4046
4047 <span class="pf-v6-c-button__icon">
4048 <svg
4049 class="pf-v6-svg"
4050 fill="currentColor"
4051 viewBox="0 0 32 32"
4052 aria-hidden="true"
4053 role="img"
4054 width="1em"
4055 height="1em"
4056 >
4057 <path
4058 d="M30 29a1 1 0 0 1-1 1H3a1 1 0 1 1 0-2h26a1 1 0 0 1 1 1ZM7.707 12.707 15 5.414V24a1 1 0 1 0 2 0V5.414l7.293 7.293a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414l-8.646-8.647a1.5 1.5 0 0 0-2.121 0l-8.647 8.647a.999.999 0 1 0 1.414 1.414Z"
4059 />
4060 </svg>
4061 </span>
4062 </button>
4063
4064 ```
4065
4066 ### Counts
4067
4068 ```html
4069 <button class="pf-v6-c-button pf-m-primary" type="button">
4070 <span class="pf-v6-c-button__text">View issues</span>
4071 <span class="pf-v6-c-button__count">
4072 <span class="pf-v6-c-badge pf-m-unread">
4073 7
4074 <span class="pf-v6-screen-reader">unread messages</span>
4075 </span>
4076 </span>
4077 </button>
4078 <button class="pf-v6-c-button pf-m-primary" type="button">
4079 <span class="pf-v6-c-button__text">View issues</span>
4080 <span class="pf-v6-c-button__count">
4081 <span class="pf-v6-c-badge pf-m-read">7</span>
4082 </span>
4083 </button>
4084 <button class="pf-v6-c-button pf-m-link" type="button">
4085 <span class="pf-v6-c-button__text">View issues</span>
4086 <span class="pf-v6-c-button__count">
4087 <span class="pf-v6-c-badge pf-m-unread">
4088 7
4089 <span class="pf-v6-screen-reader">unread messages</span>
4090 </span>
4091 </span>
4092 </button>
4093 <button class="pf-v6-c-button pf-m-link" type="button">
4094 <span class="pf-v6-c-button__text">View issues</span>
4095 <span class="pf-v6-c-button__count">
4096 <span class="pf-v6-c-badge pf-m-read">7</span>
4097 </span>
4098 </button>
4099 <br />
4100 <strong>disabled</strong>
4101 <br />
4102 <button class="pf-v6-c-button pf-m-primary" type="button" disabled>
4103 <span class="pf-v6-c-button__text">View issues</span>
4104 <span class="pf-v6-c-button__count">
4105 <span class="pf-v6-c-badge pf-m-unread pf-m-disabled">7</span>
4106 </span>
4107 </button>
4108 <button class="pf-v6-c-button pf-m-primary" type="button" disabled>
4109 <span class="pf-v6-c-button__text">View issues</span>
4110 <span class="pf-v6-c-button__count">
4111 <span class="pf-v6-c-badge pf-m-read pf-m-disabled">7</span>
4112 </span>
4113 </button>
4114 <button class="pf-v6-c-button pf-m-link" type="button" disabled>
4115 <span class="pf-v6-c-button__text">View issues</span>
4116 <span class="pf-v6-c-button__count">
4117 <span class="pf-v6-c-badge pf-m-unread pf-m-disabled">7</span>
4118 </span>
4119 </button>
4120 <button class="pf-v6-c-button pf-m-link" type="button" disabled>
4121 <span class="pf-v6-c-button__text">View issues</span>
4122 <span class="pf-v6-c-button__count">
4123 <span class="pf-v6-c-badge pf-m-read pf-m-disabled">7</span>
4124 </span>
4125 </button>
4126
4127 ```
4128
4129 ### Plain with no padding
4130
4131 ```html
4132 For when a plain/icon button is placed inline with text
4133 <button
4134 class="pf-v6-c-button pf-m-no-padding pf-m-plain"
4135 type="button"
4136 aria-label="More info"
4137 >
4138 <span class="pf-v6-c-button__icon">
4139 <svg
4140 class="pf-v6-svg"
4141 fill="currentColor"
4142 viewBox="0 0 32 32"
4143 aria-hidden="true"
4144 role="img"
4145 width="1em"
4146 height="1em"
4147 >
4148 <path
4149 d="M16 1C7.729 1 1 7.729 1 16s6.729 15 15 15 15-6.729 15-15S24.271 1 16 1Zm0 28C8.832 29 3 23.168 3 16S8.832 3 16 3s13 5.832 13 13-5.832 13-13 13Zm5-17a5.008 5.008 0 0 1-4 4.899V19a1 1 0 0 1-2 0v-3a1 1 0 0 1 1-1c1.654 0 3-1.346 3-3s-1.346-3-3-3-3 1.346-3 3a1 1 0 0 1-2 0c0-2.757 2.243-5 5-5s5 2.243 5 5Zm-3.25 12a1.75 1.75 0 1 1-3.501-.001A1.75 1.75 0 0 1 17.75 24Z"
4150 />
4151 </svg>
4152 </span>
4153 </button>
4154 .
4155
4156 ```
4157
4158 ### Stateful
4159
4160 ```html
4161 <strong>Read</strong>
4162 <br />
4163 <button class="pf-v6-c-button pf-m-read pf-m-stateful" type="button">
4164 <span class="pf-v6-c-button__icon pf-m-start">
4165 <svg
4166 class="pf-v6-svg"
4167 fill="currentColor"
4168 viewBox="0 0 32 32"
4169 aria-hidden="true"
4170 role="img"
4171 width="1em"
4172 height="1em"
4173 >
4174 <path
4175 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4176 />
4177 </svg>
4178 </span>
4179 <span class="pf-v6-c-button__text">
4180 10
4181 <span class="pf-v6-screen-reader">items</span>
4182 </span>
4183 </button>
4184
4185 <button
4186 class="pf-v6-c-button pf-m-read pf-m-stateful pf-m-clicked"
4187 type="button"
4188 >
4189 <span class="pf-v6-c-button__icon pf-m-start">
4190 <svg
4191 class="pf-v6-svg"
4192 fill="currentColor"
4193 viewBox="0 0 32 32"
4194 aria-hidden="true"
4195 role="img"
4196 width="1em"
4197 height="1em"
4198 >
4199 <path
4200 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4201 />
4202 </svg>
4203 </span>
4204 <span class="pf-v6-c-button__text">
4205 10
4206 <span class="pf-v6-screen-reader">items</span>
4207 </span>
4208 </button>
4209
4210 <br />
4211 <br />
4212
4213 <strong>Unread</strong>
4214 <br />
4215 <button class="pf-v6-c-button pf-m-unread pf-m-stateful" type="button">
4216 <span class="pf-v6-c-button__icon pf-m-start">
4217 <svg
4218 class="pf-v6-svg"
4219 fill="currentColor"
4220 viewBox="0 0 32 32"
4221 aria-hidden="true"
4222 role="img"
4223 width="1em"
4224 height="1em"
4225 >
4226 <path
4227 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4228 />
4229 </svg>
4230 </span>
4231 <span class="pf-v6-c-button__text">
4232 10
4233 <span class="pf-v6-screen-reader">unread items</span>
4234 </span>
4235 </button>
4236
4237 <button
4238 class="pf-v6-c-button pf-m-unread pf-m-stateful pf-m-clicked"
4239 type="button"
4240 >
4241 <span class="pf-v6-c-button__icon pf-m-start">
4242 <svg
4243 class="pf-v6-svg"
4244 fill="currentColor"
4245 viewBox="0 0 32 32"
4246 aria-hidden="true"
4247 role="img"
4248 width="1em"
4249 height="1em"
4250 >
4251 <path
4252 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4253 />
4254 </svg>
4255 </span>
4256 <span class="pf-v6-c-button__text">
4257 10
4258 <span class="pf-v6-screen-reader">unread items</span>
4259 </span>
4260 </button>
4261
4262 <br />
4263 <br />
4264
4265 <strong>Attention</strong>
4266 <br />
4267 <button class="pf-v6-c-button pf-m-attention pf-m-stateful" type="button">
4268 <span class="pf-v6-c-button__icon pf-m-start">
4269 <svg
4270 class="pf-v6-svg"
4271 fill="currentColor"
4272 viewBox="0 0 32 32"
4273 aria-hidden="true"
4274 role="img"
4275 width="1em"
4276 height="1em"
4277 >
4278 <path
4279 d="M28 21c-1.103 0-2-.897-2-2v-4c0-4.884-3.523-8.955-8.159-9.823.405-.444.659-1.03.659-1.677C18.5 2.121 17.379 1 16 1s-2.5 1.121-2.5 2.5c0 .648.254 1.233.659 1.677C9.523 6.045 6 10.116 6 15v4c0 1.103-.897 2-2 2a1 1 0 0 0-1 1v3.5c0 .827.673 1.5 1.5 1.5H12c0 2.206 1.794 4 4 4s4-1.794 4-4h7.5c.827 0 1.5-.673 1.5-1.5V22a1 1 0 0 0-1-1ZM14.5 11a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 24.014a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 24.014Z"
4280 />
4281 </svg>
4282 </span>
4283 <span class="pf-v6-c-button__text">
4284 10
4285 <span class="pf-v6-screen-reader">unread items, needs attention</span>
4286 </span>
4287 </button>
4288
4289 <button
4290 class="pf-v6-c-button pf-m-attention pf-m-stateful pf-m-clicked"
4291 type="button"
4292 >
4293 <span class="pf-v6-c-button__icon pf-m-start">
4294 <svg
4295 class="pf-v6-svg"
4296 fill="currentColor"
4297 viewBox="0 0 32 32"
4298 aria-hidden="true"
4299 role="img"
4300 width="1em"
4301 height="1em"
4302 >
4303 <path
4304 d="M28 21c-1.103 0-2-.897-2-2v-4c0-4.884-3.523-8.955-8.159-9.823.405-.444.659-1.03.659-1.677C18.5 2.121 17.379 1 16 1s-2.5 1.121-2.5 2.5c0 .648.254 1.233.659 1.677C9.523 6.045 6 10.116 6 15v4c0 1.103-.897 2-2 2a1 1 0 0 0-1 1v3.5c0 .827.673 1.5 1.5 1.5H12c0 2.206 1.794 4 4 4s4-1.794 4-4h7.5c.827 0 1.5-.673 1.5-1.5V22a1 1 0 0 0-1-1ZM14.5 11a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 24.014a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 24.014Z"
4305 />
4306 </svg>
4307 </span>
4308 <span class="pf-v6-c-button__text">
4309 10
4310 <span class="pf-v6-screen-reader">unread items, needs attention</span>
4311 </span>
4312 </button>
4313
4314 <br />
4315 <br />
4316
4317 <strong>Plain</strong>
4318 <br />
4319 <button
4320 class="pf-v6-c-button pf-m-read pf-m-stateful pf-m-plain"
4321 type="button"
4322 aria-label="all items read"
4323 >
4324 <span class="pf-v6-c-button__icon pf-m-start">
4325 <svg
4326 class="pf-v6-svg"
4327 fill="currentColor"
4328 viewBox="0 0 32 32"
4329 aria-hidden="true"
4330 role="img"
4331 width="1em"
4332 height="1em"
4333 >
4334 <path
4335 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4336 />
4337 </svg>
4338 </span>
4339 </button>
4340
4341 <button
4342 class="pf-v6-c-button pf-m-read pf-m-stateful pf-m-clicked pf-m-plain"
4343 type="button"
4344 aria-label="all items read"
4345 >
4346 <span class="pf-v6-c-button__icon pf-m-start">
4347 <svg
4348 class="pf-v6-svg"
4349 fill="currentColor"
4350 viewBox="0 0 32 32"
4351 aria-hidden="true"
4352 role="img"
4353 width="1em"
4354 height="1em"
4355 >
4356 <path
4357 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4358 />
4359 </svg>
4360 </span>
4361 </button>
4362
4363 <br />
4364
4365 <button
4366 class="pf-v6-c-button pf-m-unread pf-m-stateful pf-m-plain"
4367 type="button"
4368 aria-label="unread items"
4369 >
4370 <span class="pf-v6-c-button__icon pf-m-start">
4371 <svg
4372 class="pf-v6-svg"
4373 fill="currentColor"
4374 viewBox="0 0 32 32"
4375 aria-hidden="true"
4376 role="img"
4377 width="1em"
4378 height="1em"
4379 >
4380 <path
4381 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4382 />
4383 </svg>
4384 </span>
4385 </button>
4386
4387 <button
4388 class="pf-v6-c-button pf-m-unread pf-m-stateful pf-m-clicked pf-m-plain"
4389 type="button"
4390 aria-label="unread items"
4391 >
4392 <span class="pf-v6-c-button__icon pf-m-start">
4393 <svg
4394 class="pf-v6-svg"
4395 fill="currentColor"
4396 viewBox="0 0 32 32"
4397 aria-hidden="true"
4398 role="img"
4399 width="1em"
4400 height="1em"
4401 >
4402 <path
4403 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4404 />
4405 </svg>
4406 </span>
4407 </button>
4408
4409 <br />
4410
4411 <button
4412 class="pf-v6-c-button pf-m-attention pf-m-stateful pf-m-plain"
4413 type="button"
4414 aria-label="unread items, needs attention"
4415 >
4416 <span class="pf-v6-c-button__icon pf-m-start">
4417 <svg
4418 class="pf-v6-svg"
4419 fill="currentColor"
4420 viewBox="0 0 32 32"
4421 aria-hidden="true"
4422 role="img"
4423 width="1em"
4424 height="1em"
4425 >
4426 <path
4427 d="M28 21c-1.103 0-2-.897-2-2v-4c0-4.884-3.523-8.955-8.159-9.823.405-.444.659-1.03.659-1.677C18.5 2.121 17.379 1 16 1s-2.5 1.121-2.5 2.5c0 .648.254 1.233.659 1.677C9.523 6.045 6 10.116 6 15v4c0 1.103-.897 2-2 2a1 1 0 0 0-1 1v3.5c0 .827.673 1.5 1.5 1.5H12c0 2.206 1.794 4 4 4s4-1.794 4-4h7.5c.827 0 1.5-.673 1.5-1.5V22a1 1 0 0 0-1-1ZM14.5 11a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 24.014a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 24.014Z"
4428 />
4429 </svg>
4430 </span>
4431 </button>
4432
4433 <button
4434 class="pf-v6-c-button pf-m-attention pf-m-stateful pf-m-clicked pf-m-plain"
4435 type="button"
4436 aria-label="unread items, needs attention"
4437 >
4438 <span class="pf-v6-c-button__icon pf-m-start">
4439 <svg
4440 class="pf-v6-svg"
4441 fill="currentColor"
4442 viewBox="0 0 32 32"
4443 aria-hidden="true"
4444 role="img"
4445 width="1em"
4446 height="1em"
4447 >
4448 <path
4449 d="M28 21c-1.103 0-2-.897-2-2v-4c0-4.884-3.523-8.955-8.159-9.823.405-.444.659-1.03.659-1.677C18.5 2.121 17.379 1 16 1s-2.5 1.121-2.5 2.5c0 .648.254 1.233.659 1.677C9.523 6.045 6 10.116 6 15v4c0 1.103-.897 2-2 2a1 1 0 0 0-1 1v3.5c0 .827.673 1.5 1.5 1.5H12c0 2.206 1.794 4 4 4s4-1.794 4-4h7.5c.827 0 1.5-.673 1.5-1.5V22a1 1 0 0 0-1-1ZM14.5 11a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 24.014a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 24.014Z"
4450 />
4451 </svg>
4452 </span>
4453 </button>
4454
4455 <br />
4456 <br />
4457
4458 <strong>Plain with count</strong>
4459 <br />
4460 <button class="pf-v6-c-button pf-m-read pf-m-stateful pf-m-plain" type="button">
4461 <span class="pf-v6-c-button__icon pf-m-start">
4462 <svg
4463 class="pf-v6-svg"
4464 fill="currentColor"
4465 viewBox="0 0 32 32"
4466 aria-hidden="true"
4467 role="img"
4468 width="1em"
4469 height="1em"
4470 >
4471 <path
4472 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4473 />
4474 </svg>
4475 </span>
4476 <span class="pf-v6-c-button__text">
4477 10
4478 <span class="pf-v6-screen-reader">items</span>
4479 </span>
4480 </button>
4481
4482 <button
4483 class="pf-v6-c-button pf-m-read pf-m-stateful pf-m-clicked pf-m-plain"
4484 type="button"
4485 >
4486 <span class="pf-v6-c-button__icon pf-m-start">
4487 <svg
4488 class="pf-v6-svg"
4489 fill="currentColor"
4490 viewBox="0 0 32 32"
4491 aria-hidden="true"
4492 role="img"
4493 width="1em"
4494 height="1em"
4495 >
4496 <path
4497 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4498 />
4499 </svg>
4500 </span>
4501 <span class="pf-v6-c-button__text">
4502 10
4503 <span class="pf-v6-screen-reader">items</span>
4504 </span>
4505 </button>
4506
4507 <br />
4508
4509 <button
4510 class="pf-v6-c-button pf-m-unread pf-m-stateful pf-m-plain"
4511 type="button"
4512 >
4513 <span class="pf-v6-c-button__icon pf-m-start">
4514 <svg
4515 class="pf-v6-svg"
4516 fill="currentColor"
4517 viewBox="0 0 32 32"
4518 aria-hidden="true"
4519 role="img"
4520 width="1em"
4521 height="1em"
4522 >
4523 <path
4524 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4525 />
4526 </svg>
4527 </span>
4528 <span class="pf-v6-c-button__text">
4529 10
4530 <span class="pf-v6-screen-reader">unread items</span>
4531 </span>
4532 </button>
4533
4534 <button
4535 class="pf-v6-c-button pf-m-unread pf-m-stateful pf-m-clicked pf-m-plain"
4536 type="button"
4537 >
4538 <span class="pf-v6-c-button__icon pf-m-start">
4539 <svg
4540 class="pf-v6-svg"
4541 fill="currentColor"
4542 viewBox="0 0 32 32"
4543 aria-hidden="true"
4544 role="img"
4545 width="1em"
4546 height="1em"
4547 >
4548 <path
4549 d="M28.75 22v3.5c0 .689-.561 1.25-1.25 1.25h-7.521c.005.084.021.166.021.25 0 2.206-1.794 4-4 4s-4-1.794-4-4c0-.084.016-.166.021-.25H4.5c-.689 0-1.25-.561-1.25-1.25V22a.75.75 0 0 1 .75-.75c1.24 0 2.25-1.009 2.25-2.25v-4c0-4.826 3.528-8.833 8.138-9.605A2.482 2.482 0 0 1 13.5 3.5C13.5 2.122 14.621 1 16 1s2.5 1.122 2.5 2.5c0 .761-.349 1.436-.888 1.895 4.61.772 8.138 4.779 8.138 9.605v4c0 1.241 1.01 2.25 2.25 2.25a.75.75 0 0 1 .75.75Z"
4550 />
4551 </svg>
4552 </span>
4553 <span class="pf-v6-c-button__text">
4554 10
4555 <span class="pf-v6-screen-reader">unread items</span>
4556 </span>
4557 </button>
4558
4559 <br />
4560
4561 <button
4562 class="pf-v6-c-button pf-m-attention pf-m-stateful pf-m-plain"
4563 type="button"
4564 >
4565 <span class="pf-v6-c-button__icon pf-m-start">
4566 <svg
4567 class="pf-v6-svg"
4568 fill="currentColor"
4569 viewBox="0 0 32 32"
4570 aria-hidden="true"
4571 role="img"
4572 width="1em"
4573 height="1em"
4574 >
4575 <path
4576 d="M28 21c-1.103 0-2-.897-2-2v-4c0-4.884-3.523-8.955-8.159-9.823.405-.444.659-1.03.659-1.677C18.5 2.121 17.379 1 16 1s-2.5 1.121-2.5 2.5c0 .648.254 1.233.659 1.677C9.523 6.045 6 10.116 6 15v4c0 1.103-.897 2-2 2a1 1 0 0 0-1 1v3.5c0 .827.673 1.5 1.5 1.5H12c0 2.206 1.794 4 4 4s4-1.794 4-4h7.5c.827 0 1.5-.673 1.5-1.5V22a1 1 0 0 0-1-1ZM14.5 11a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 24.014a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 24.014Z"
4577 />
4578 </svg>
4579 </span>
4580 <span class="pf-v6-c-button__text">
4581 10
4582 <span class="pf-v6-screen-reader">unread items, needs attention</span>
4583 </span>
4584 </button>
4585
4586 <button
4587 class="pf-v6-c-button pf-m-attention pf-m-stateful pf-m-clicked pf-m-plain"
4588 type="button"
4589 >
4590 <span class="pf-v6-c-button__icon pf-m-start">
4591 <svg
4592 class="pf-v6-svg"
4593 fill="currentColor"
4594 viewBox="0 0 32 32"
4595 aria-hidden="true"
4596 role="img"
4597 width="1em"
4598 height="1em"
4599 >
4600 <path
4601 d="M28 21c-1.103 0-2-.897-2-2v-4c0-4.884-3.523-8.955-8.159-9.823.405-.444.659-1.03.659-1.677C18.5 2.121 17.379 1 16 1s-2.5 1.121-2.5 2.5c0 .648.254 1.233.659 1.677C9.523 6.045 6 10.116 6 15v4c0 1.103-.897 2-2 2a1 1 0 0 0-1 1v3.5c0 .827.673 1.5 1.5 1.5H12c0 2.206 1.794 4 4 4s4-1.794 4-4h7.5c.827 0 1.5-.673 1.5-1.5V22a1 1 0 0 0-1-1ZM14.5 11a1.5 1.5 0 0 1 3 0v5a1.5 1.5 0 0 1-3 0v-5ZM16 24.014a2 2 0 1 1-.001-3.999A2 2 0 0 1 16 24.014Z"
4602 />
4603 </svg>
4604 </span>
4605 <span class="pf-v6-c-button__text">
4606 10
4607 <span class="pf-v6-screen-reader">unread items, needs attention</span>
4608 </span>
4609 </button>
4610
4611 ```
4612
4613 ### Favorite
4614
4615 A favorite button should use a plain button with the star icon. Applying `.pf-m-favorited` to the button initiates a microanimation and indicates that the item is favorited.
4616
4617 ```html
4618 <button
4619 class="pf-v6-c-button pf-m-favorite pf-m-plain"
4620 type="button"
4621 aria-label="not starred"
4622 >
4623 <span class="pf-v6-c-button__icon">
4624 <span class="pf-v6-c-button__icon-favorite">
4625 <svg
4626 class="pf-v6-svg"
4627 viewBox="0 0 576 512"
4628 fill="currentColor"
4629 aria-hidden="true"
4630 role="img"
4631 width="1em"
4632 height="1em"
4633 >
4634 <path
4635 d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
4636 />
4637 </svg>
4638 </span>
4639 <span class="pf-v6-c-button__icon-favorited">
4640 <svg
4641 class="pf-v6-svg"
4642 viewBox="0 0 576 512"
4643 fill="currentColor"
4644 aria-hidden="true"
4645 role="img"
4646 width="1em"
4647 height="1em"
4648 >
4649 <path
4650 d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
4651 />
4652 </svg>
4653 </span>
4654 </span>
4655 </button>
4656 <button
4657 class="pf-v6-c-button pf-m-favorited pf-m-favorite pf-m-plain"
4658 type="button"
4659 aria-label="starred"
4660 >
4661 <span class="pf-v6-c-button__icon">
4662 <span class="pf-v6-c-button__icon-favorite">
4663 <svg
4664 class="pf-v6-svg"
4665 viewBox="0 0 576 512"
4666 fill="currentColor"
4667 aria-hidden="true"
4668 role="img"
4669 width="1em"
4670 height="1em"
4671 >
4672 <path
4673 d="M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"
4674 />
4675 </svg>
4676 </span>
4677 <span class="pf-v6-c-button__icon-favorited">
4678 <svg
4679 class="pf-v6-svg"
4680 viewBox="0 0 576 512"
4681 fill="currentColor"
4682 aria-hidden="true"
4683 role="img"
4684 width="1em"
4685 height="1em"
4686 >
4687 <path
4688 d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"
4689 />
4690 </svg>
4691 </span>
4692 </span>
4693 </button>
4694
4695 ```
4696
4697 ### Settings
4698
4699 ```html
4700 <button
4701 class="pf-v6-c-button pf-m-settings pf-m-plain"
4702 type="button"
4703 aria-label="Settings"
4704 >
4705 <span class="pf-v6-c-button__icon">
4706 <svg
4707 class="pf-v6-svg"
4708 fill="currentColor"
4709 viewBox="0 0 32 32"
4710 aria-hidden="true"
4711 role="img"
4712 width="1em"
4713 height="1em"
4714 >
4715 <path
4716 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"
4717 />
4718 </svg>
4719 </span>
4720 </button>
4721
4722 ```
4723
4724 ### Hamburger
4725
4726 ```html
4727 <button
4728 class="pf-v6-c-button pf-m-hamburger pf-m-plain"
4729 type="button"
4730 aria-expanded="false"
4731 aria-label="Hamburger"
4732 >
4733 <span class="pf-v6-c-button__icon">
4734 <svg
4735 viewBox="0 0 10 10"
4736 class="pf-v6-c-button--hamburger-icon pf-v6-svg"
4737 width="1em"
4738 height="1em"
4739 >
4740 <path class="pf-v6-c-button--hamburger-icon--top" d="M1,1 L9,1" />
4741 <path class="pf-v6-c-button--hamburger-icon--middle" d="M1,5 L9,5" />
4742 <path class="pf-v6-c-button--hamburger-icon--arrow" d="M1,5 L1,5 L1,5" />
4743 <path class="pf-v6-c-button--hamburger-icon--bottom" d="M9,9 L1,9" />
4744 </svg>
4745 </span>
4746 </button>
4747 <button
4748 class="pf-v6-c-button pf-m-expand pf-m-hamburger pf-m-plain"
4749 type="button"
4750 aria-expanded="false"
4751 aria-label="Hamburger"
4752 >
4753 <span class="pf-v6-c-button__icon">
4754 <svg
4755 viewBox="0 0 10 10"
4756 class="pf-v6-c-button--hamburger-icon pf-v6-svg"
4757 width="1em"
4758 height="1em"
4759 >
4760 <path class="pf-v6-c-button--hamburger-icon--top" d="M1,1 L9,1" />
4761 <path class="pf-v6-c-button--hamburger-icon--middle" d="M1,5 L9,5" />
4762 <path class="pf-v6-c-button--hamburger-icon--arrow" d="M1,5 L1,5 L1,5" />
4763 <path class="pf-v6-c-button--hamburger-icon--bottom" d="M9,9 L1,9" />
4764 </svg>
4765 </span>
4766 </button>
4767 <button
4768 class="pf-v6-c-button pf-m-collapse pf-m-hamburger pf-m-plain"
4769 type="button"
4770 aria-expanded="true"
4771 aria-label="Hamburger"
4772 >
4773 <span class="pf-v6-c-button__icon">
4774 <svg
4775 viewBox="0 0 10 10"
4776 class="pf-v6-c-button--hamburger-icon pf-v6-svg"
4777 width="1em"
4778 height="1em"
4779 >
4780 <path class="pf-v6-c-button--hamburger-icon--top" d="M1,1 L9,1" />
4781 <path class="pf-v6-c-button--hamburger-icon--middle" d="M1,5 L9,5" />
4782 <path class="pf-v6-c-button--hamburger-icon--arrow" d="M1,5 L1,5 L1,5" />
4783 <path class="pf-v6-c-button--hamburger-icon--bottom" d="M9,9 L1,9" />
4784 </svg>
4785 </span>
4786 </button>
4787
4788 ```
4789
4790 ## Documentation
4791
4792 ### Overview
4793
4794 Always add a modifier class to add color to the button.
4795
4796 ### Button vs link
4797
4798 Semantic buttons and links are important for usability as well as accessibility. Using an `a` instead of a `button` element to perform user initiated actions should be avoided, unless absolutely necessary.
4799
4800 ### Accessibility
4801
4802 | Attribute | Applied to | Outcome |
4803 | -- | -- | -- |
4804 | `aria-pressed="true or false"` | `.pf-v6-c-button` | Indicates that the button is a toggle. When set to true, `pf-m-active` should also be set so that the button displays in an active state. **Required when button is a toggle** |
4805 | `aria-label="[button label text]"` | `.pf-v6-c-button.pf-m-plain` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text** |
4806 | `aria-label="[descriptive text]"` | `a.pf-v6-c-button`, `span.pf-v6-c-button.pf-m-link.pf-m-inline` | The button component's text should adequately describe its purpose. If it does not, `aria-label` can provide more detailed interaction information. |
4807 | `disabled` | `button.pf-v6-c-button` | When a button element is used, indicates that it is unavailable and removes it from keyboard focus. **Required when button is disabled** |
4808 | `aria-disabled=true` | `button.pf-v6-c-button` | When a button element is used, indicates that it is unavailable but does not prevent keyboard or hover interactions. Used when a disabled button provides interactive elements like a tooltip. |
4809 | `aria-disabled=true` | `a.pf-v6-c-button.pf-m-disabled`, `span.pf-v6-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, indicates that it is unavailable. **Required when element is disabled** |
4810 | `aria-expanded=true` | `.pf-v6-c-button.pf-m-expanded` | Indicates that the expanded content element is visible. **Required** |
4811 | `tabindex="-1"` | `a.pf-v6-c-button.pf-m-disabled`, `span.pf-v6-c-button.pf-m-link.pf-m-inline.pf-m-disabled` | When a non-button element is used, removes it from keyboard focus. **Required when element is disabled** |
4812 | `tabindex="0"` | `span.pf-v6-c-button.pf-m-link.pf-m-inline` | Inserts the span into the tab order of the page so that it is focusable. **Required when the element is a span** |
4813
4814 ### Usage
4815
4816 | Class | Applied to | Outcome |
4817 | -- | -- | -- |
4818 | `.pf-v6-c-button` | `<button>, <span>` | Initiates a button. Always use it with a modifier class. **Required** |
4819 | `.pf-v6-c-button__icon` | `<span>` | Initiates a button icon. |
4820 | `.pf-v6-c-button__progress` | `<span>` | Initiates a button progress container. |
4821 | `.pf-v6-c-button__count` | `<span>` | Initiates a button count container. **Note:** Count should only be used on link buttons. |
4822 | `.pf-m-primary` | `.pf-v6-c-button` | Modifies for primary styles. |
4823 | `.pf-m-secondary` | `.pf-v6-c-button` | Modifies for secondary styles. |
4824 | `.pf-m-tertiary` | `.pf-v6-c-button` | Modifies for tertiary styles. |
4825 | `.pf-m-danger` | `.pf-v6-c-button` | Modifies for danger styles. |
4826 | `.pf-m-warning` | `.pf-v6-c-button` | Modifies for warning styles. |
4827 | `.pf-m-link` | `.pf-v6-c-button` | Modifies for link styles. This button has no background or border and is styled as a link. This button would commonly appear in a form and may include an icon. |
4828 | `.pf-m-plain` | `.pf-v6-c-button` | Modifies for icon styles. This button has no background or border, uses a standard text color, and is used for `.pf-m-plain` icon buttons such as close, expand, kebab, stateful, etc. |
4829 | `.pf-m-no-padding` | `.pf-v6-c-button.pf-m-plain` | Modifies a plain button to remove padding. This modifier should only be used when the button is inline within a sentence or block of text. Adjacent plain buttons without padding should always have spacing between them. |
4830 | `.pf-m-inline` | `.pf-v6-c-button.pf-m-link` | Modifies for inline styles. This button is presented similar to a normal link and has no padding and is displayed inline with other inline content. When used as a `<span>`, the text will flow inline with text around it. |
4831 | `.pf-m-block` | `.pf-v6-c-button` | Creates a block level button. |
4832 | `.pf-m-control` | `.pf-v6-c-button` | Modifies for control styles. **Note:** This modifier should only be used when using buttons in the Input Group or Clipboard Copy components. |
4833 | `.pf-m-expanded` | `.pf-v6-c-button.pf-m-control` | Modifies a control button for the expanded state. |
4834 | `.pf-m-start` | `.pf-v6-c-button__icon` | Applies right spacing to an icon inside of a button when the icon comes before text. |
4835 | `.pf-m-end` | `.pf-v6-c-button__icon` | Applies left spacing to an icon inside of a button when the icon comes after text. |
4836 | `.pf-m-active` | `.pf-v6-c-button` | Forces display of the active state of the button. This modifier should be used when `aria-pressed` is set to true so that the button displays in an active state. |
4837 | `.pf-m-small` | `.pf-v6-c-button` | Modifies the button for small/compact styles. |
4838 | `.pf-m-aria-disabled` | `.pf-v6-c-button` | Modifies a button to be visually disabled, yet is still focusable. |
4839 | `.pf-m-display-lg` | `.pf-v6-c-button`, `pf-v6-c-button.pf-m-link` | Modifies the button and link button for large display styling. For example, use this modifier to achieve "call to action" styles. |
4840 | `.pf-m-progress` | `.pf-v6-c-button` | Indicates that the button supports the progress state. **Note:** Not used with the plain variation. |
4841 | `.pf-m-in-progress` | `.pf-v6-c-button` | Indicates that the button is in the in progress state. |
4842 | `.pf-m-stateful` | `.pf-v6-c-button` | Indicates that the button is used for one of read, unread, and attention states. **Note:** Always use with a modifier of `.pf-m-read`, `.pf-m-unread`, or `.pf-m-attention`. |
4843 | `.pf-m-notify` | `.pf-v6-c-button` | Indicates that the button should show the user notification of an event. **Note:** This is intended for use with a bell icon in the notification badge. |
4844 | `.pf-m-favorite` | `.pf-v6-c-button.pf-m-plain` | Modifies a plain button to be a favorite button. **Note:** This is intended for use with a star icon. |
4845 | `.pf-m-favorited` | `.pf-v6-c-button.pf-m-plain.pf-m-favorite` | Modifies a favorite button to indicate that item is favorited. |
4846 | `.pf-m-settings` | `.pf-v6-c-button.pf-m-plain` | Modifies a plain button to be a settings button. |
4847 | `.pf-m-hamburger` | `.pf-v6-c-button.pf-m-plain` | Modifies a plain button to be a hamburger button. |
4848 | `.pf-m-expand` | `.pf-v6-c-button.pf-m-hamburger` | Modifies a hamburger button to indicate that it will expand a menu. |
4849 | `.pf-m-collapse` | `.pf-v6-c-button.pf-m-hamburger` | Modifies a hamburger button to indicate that it will collapse a menu. |
4850 | `.pf-m-circle` | `.pf-v6-c-button` | Modifies a button to have a circular shape, instead of only rounded corners or a pill shape. Intended for buttons that contain only an icon. |