1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723
|
---
id: Popover
section: components
cssPrefix: pf-v6-c-popover
---import './Popover.css'
## Examples
### Top
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-top"
role="dialog"
aria-modal="true"
aria-labelledby="popover-top-header"
aria-describedby="popover-top-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-top-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-top-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Right
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-right"
role="dialog"
aria-modal="true"
aria-labelledby="popover-right-header"
aria-describedby="popover-right-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-right-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-right-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Bottom
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-bottom"
role="dialog"
aria-modal="true"
aria-labelledby="popover-bottom-header"
aria-describedby="popover-bottom-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-bottom-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-bottom-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Left
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-left"
role="dialog"
aria-modal="true"
aria-labelledby="popover-left-header"
aria-describedby="popover-left-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-left-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-left-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Left top
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-left-top"
role="dialog"
aria-modal="true"
aria-labelledby="popover-left-start-header"
aria-describedby="popover-left-start-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-left-start-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-left-start-body"
>This popover is to the left and at the start position</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Left bottom
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-left-bottom"
role="dialog"
aria-modal="true"
aria-labelledby="popover-left-end-header"
aria-describedby="popover-left-end-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-left-end-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-left-end-body"
>This popover is to the left and at the end position</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Bottom left
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-bottom-left"
role="dialog"
aria-modal="true"
aria-labelledby="popover-bottom-start-header"
aria-describedby="popover-bottom-start-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-bottom-start-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-bottom-start-body"
>This popover is to the bottom and at the start position</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Bottom right
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-bottom-right"
role="dialog"
aria-modal="true"
aria-labelledby="popover-bottom-end-header"
aria-describedby="popover-bottom-end-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-bottom-end-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-bottom-end-body"
>This popover is to the bottom and at the end position</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Without header/footer
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-right"
role="dialog"
aria-modal="true"
aria-label="Popover with no header example"
aria-describedby="popover-no-header-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<div
class="pf-v6-c-popover__body"
id="popover-no-header-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
</div>
</div>
```
### No padding
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-right pf-m-no-padding"
role="dialog"
aria-modal="true"
aria-label="Popover with no padding example"
aria-describedby="popover-no-padding-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div
class="pf-v6-c-popover__body"
id="popover-no-padding-body"
>This popover has no padding itself. Instead it is intended for use with content that has its own padding that prevents it from touching the popover container's edges.</div>
</div>
</div>
```
### Width auto
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-right pf-m-width-auto"
role="dialog"
aria-modal="true"
aria-labelledby="popover-width-auto-header"
aria-describedby="popover-width-auto-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-width-auto-header">
<h1 class="pf-v6-c-popover__title-text">Popover header</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-width-auto-body"
>Popovers body</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Popover with icon in the title
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-left"
role="dialog"
aria-modal="true"
aria-labelledby="popover-icon-title-header"
aria-describedby="popover-icon-title-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-icon-title-header">
<span class="pf-v6-c-popover__title-icon">
<i class="fas fa-fw fa-bullhorn" aria-hidden="true"></i>
</span>
<h1 class="pf-v6-c-popover__title-text">Popover with icon title</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-icon-title-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Custom alert popover
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-custom pf-m-left"
role="dialog"
aria-modal="true"
aria-labelledby="popover-custom-alert-header"
aria-describedby="popover-custom-alert-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-custom-alert-header">
<span class="pf-v6-c-popover__title-icon">
<i class="fas fa-fw fa-bell" aria-hidden="true"></i>
</span>
<h1 class="pf-v6-c-popover__title-text">
<span class="pf-v6-screen-reader">
Custom
alert:
</span>
Custom popover title
</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-custom-alert-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Info alert popover
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-info pf-m-top"
role="dialog"
aria-modal="true"
aria-labelledby="popover-info-alert-header"
aria-describedby="popover-info-alert-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-info-alert-header">
<span class="pf-v6-c-popover__title-icon">
<i class="fas fa-fw fa-info-circle" aria-hidden="true"></i>
</span>
<h1 class="pf-v6-c-popover__title-text">
<span class="pf-v6-screen-reader">
Info
alert:
</span>
Info popover title
</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-info-alert-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Success alert popover
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-success pf-m-top"
role="dialog"
aria-modal="true"
aria-labelledby="popover-success-alert-header"
aria-describedby="popover-success-alert-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-success-alert-header">
<span class="pf-v6-c-popover__title-icon">
<i class="fas fa-fw fa-check-circle" aria-hidden="true"></i>
</span>
<h1 class="pf-v6-c-popover__title-text">
<span class="pf-v6-screen-reader">
Success
alert:
</span>
Success popover title
</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-success-alert-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Warning alert popover
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-warning pf-m-top"
role="dialog"
aria-modal="true"
aria-labelledby="popover-warning-alert-header"
aria-describedby="popover-warning-alert-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-warning-alert-header">
<span class="pf-v6-c-popover__title-icon">
<i class="fas fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
</span>
<h1 class="pf-v6-c-popover__title-text">
<span class="pf-v6-screen-reader">
Warning
alert:
</span>
Warning popover title
</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-warning-alert-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
### Danger alert popover
```html isFullscreen
<div
class="pf-v6-c-popover pf-m-danger pf-m-top"
role="dialog"
aria-modal="true"
aria-labelledby="popover-danger-alert-header"
aria-describedby="popover-danger-alert-body"
>
<div class="pf-v6-c-popover__arrow"></div>
<div class="pf-v6-c-popover__content">
<div class="pf-v6-c-popover__close">
<button
class="pf-v6-c-button pf-m-plain"
type="button"
aria-label="Close"
>
<span class="pf-v6-c-button__icon">
<i class="fas fa-times" aria-hidden="true"></i>
</span>
</button>
</div>
<header class="pf-v6-c-popover__header">
<div class="pf-v6-c-popover__title" id="popover-danger-alert-header">
<span class="pf-v6-c-popover__title-icon">
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
</span>
<h1 class="pf-v6-c-popover__title-text">
<span class="pf-v6-screen-reader">
Danger
alert:
</span>
Danger popover title
</h1>
</div>
</header>
<div
class="pf-v6-c-popover__body"
id="popover-danger-alert-body"
>Popovers are triggered by click rather than hover. Click again to close.</div>
<footer class="pf-v6-c-popover__footer">Popover footer</footer>
</div>
</div>
```
## Documentation
### Overview
A popover is used to provide contextual information for another component on click. The popover itself is made up of two main elements: arrow and content. The content element follows the pattern of the popover box component, with a close icon in the top right corner, as well as a header and body. One of the directional modifiers (`.pf-m-left`, `.pf-m-top`, etc.) is required on the popover component
### Accessibility
| Attribute | Applies to | Outcome |
| -- | -- | -- |
| `role="dialog"` | `.pf-v6-c-popover` | Identifies the element that serves as the popover container. **Required** |
| `aria-labelledby="[id value of .pf-v6-c-title]"` | `.pf-v6-c-popover` | Gives the popover an accessible name by referring to the element that provides the dialog title. **Required when .pf-v6-c-title is present** |
| `aria-label="[title of popover]"` | `.pf-v6-c-popover` | Gives the popover an accessible name. **Required when .pf-v6-c-title is *not* present** |
| `aria-describedby="[id value of applicable content]"` | `.pf-v6-c-popover` | Gives the popover an accessible description by referring to the popover content that describes the primary message or purpose of the dialog. Not used if there is no static text that describes the popover. |
| `aria-modal="true"` | `.pf-v6-c-popover` | Tells assistive technologies that the windows underneath the current popover are not available for interaction. **Required**|
| `aria-label="Close"` | `.pf-v6-c-button` | Provides an accessible name for the close button as it uses an icon instead of text. **Required**|
| `aria-hidden="true"` | Parent element containing the page contents when the popover is open. | Hides main contents of the page from screen readers. The element with `.pf-v6-c-popover` must not be a descendent of the element with `aria-hidden="true"`. For more info, see [trapping focus](/accessibility/product-development-guide#trapping-focus). **Required** |
| `.pf-v6-screen-reader` | `.pf-v6-c-popover__title-text <span>` | Adds text to be read saying the alert status before the title. If `.pf-v6-c-popover__title-text` is not used to create a title, this must be added within the title. **Required for popovers that are alerts** |
### Usage
| Class | Applied to | Outcome |
| -- | -- | -- |
| `.pf-v6-c-popover` | `<div>` | Creates a popover. Always use it with a modifier class that positions the popover relative to the element that triggered it. **Required** |
| `.pf-v6-c-popover__arrow` | `<div>` | Creates an arrow pointing towards the element the popover describes. **Required** |
| `.pf-v6-c-popover__content` | `<div>` | Creates the content area of the popover. **Required** |
| `.pf-v6-c-popover__close` | `<div>` | Positions the close icon in the top-right corner of the popover. **Required if there is a close button** |
| `.pf-v6-c-popover__header` | `<header>` | Creates the popover header. **Required if there is a title**|
| `.pf-v6-c-popover__title` | `<div>` | Creates the popover title. |
| `.pf-v6-c-popover__title-icon` | `<span>` | Creates the popover title icon. |
| `.pf-v6-c-popover__title-text` | `<h1>`,`<h2>`,`<h3>`,`<h4>`,`<h5>`,`<h6>`,`<span>` | Creates the popover title text. |
| `.pf-v6-c-popover__body` | `<div>` | The popover's body text. **Required** |
| `.pf-v6-c-popover__footer` | `<footer>` | Initiates a popover footer. |
| `.pf-m-left{-top/bottom}` | `.pf-v6-c-popover` | Positions the popover to the left (or left top/left bottom) of the element. |
| `.pf-m-right{-top/bottom}` | `.pf-v6-c-popover` | Positions the popover to the right (or right top/right bottom) of the element. |
| `.pf-m-top{-left/right}` | `.pf-v6-c-popover` | Positions the popover to the top (or top left/top right) of the element. |
| `.pf-m-bottom{-left/right}` | `.pf-v6-c-popover` | Positions the popover to the bottom (or bottom left/bottom right) of the element. |
| `.pf-m-no-padding` | `.pf-v6-c-popover` | Removes the outer padding from the popover content. |
| `.pf-m-width-auto` | `.pf-v6-c-popover` | Allows popover width to be defined by the popover content. |
| `.pf-m-custom` | `.pf-v6-c-popover` | Modifies for the custom alert state. |
| `.pf-m-info` | `.pf-v6-c-popover` | Modifies for the info alert state. |
| `.pf-m-success` | `.pf-v6-c-popover` | Modifies for the success alert state. |
| `.pf-m-warning` | `.pf-v6-c-popover` | Modifies for the warning alert state. |
| `.pf-m-danger` | `.pf-v6-c-popover` | Modifies for the danger alert state. |
|