ComponentsOverlay

Popover

A panel of content next to an element — a share box, a small form, a list of notifications. Focus moves inside when it opens and back when it closes.

Features6APIThemingAccessibility

Basic

[txPopoverTrigger] opens and closes the popover. Focus moves to the first field; Escape, the close button or a click outside close it and focus returns to the button.

Form

A small form with actions in the txPopoverFooter slot. Call hide() on the popover from its own buttons.

Budget: $1,200

Arrow

The arrow points at the middle of the element for a centred placement and sits near its start or end for -start and -end; placement takes any of the 12 placements. Without a header, name the dialog with ariaLabel.

Target

One popover for many elements: toggle($event) anchors it to the clicked button and moves it when another one is clicked. <ng-template txPopoverContent> creates the content only while it is open.

  • Q3 report.pdf
  • Roadmap.xlsx
  • Logo.svg

Nested

A popover can open another one from inside. A click in the inner popover keeps the outer one open; Escape closes the top one first.

Design tokens

dt changes the tokens of one popover; override popover in the preset for all of them.