Popover

The Popover block is a custom block that displays a button which opens a popover or pop-up when clicked. Both the button and the pop-up are fully customizable, allowing a wide range of popover styles and behaviors.

A Popover consists of a strict set of three blocks: the Popover wrapper containing exactly one Popover button and one Pop-up as child blocks. This structure cannot be altered—no other child blocks can be added to the Popover, and the Popover button and Pop-up blocks can only exist within a Popover.

The Pop-up itself can contain any other block, which means you can include any type of content inside it (see the Pop-up block documentation for details). Additionally, the Popover block can be used as a child block of the Navigation block to provide popovers in menus.

Screenshot of the popover block which just got added to the editor, explained in the paragraphs above and below.

In the editor, the Popover block appears as a wrapper containing the Popover button and Pop-up blocks. By default, only the Popover button is shown. You can click Show popover in the toolbar to display the Pop-up in the editor and edit its contents. The toolbar includes only the Show popover button to preview and edit the pop-up contents.

Block Supports and Styles

Core supports include an HTML anchor and additional CSS classes for custom styling. Advanced supports (see Core Block Extensions documentation) allow you to hide the block on selected breakpoints.

The Popover block also includes three variations:

  • Popover (default)
  • Burger menu: makes the Popover button use the Burger variation and the Pop-up use the Offcanvas variation
  • Dropdown menu: makes the Popover button use the Button variation and the Pop-up use the Dropdown variation

Settings

Screenshot of the popover settings, explained in the following paragraphs.

The Show panel contains a toggle control to determine whether the block is shown at each breakpoint, by default it is enabled for all breakpoints. This is essentially the inverse of the Advanced support “Hide per breakpoint” setting.

The Advanced panel contains settings for the HTML anchor, additional CSS classes and toggles to hide the block per breakpoint.

Video

You are currently viewing a placeholder content from Vimeo. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information

More in this section

  • Pop-up

    The Pop-up block is a dedicated child block of the Popover block and cannot be placed on its own. It serves as the container for the content displayed when the Popover is triggered. Functionally, it behaves like a fully customizable wrapper block — similar to the core Group block or the Content Box — and […]

    Read more

  • Popover button

    The Popover button block is used exclusively as a child of the Popover block and cannot be placed on its own. Its purpose is to trigger the Popover’s Pop-up when clicked. While similar to the Button (Greyd) block, it adds dedicated options for Popover interaction and offers an additional “Burger” variation for navigation-style menus. Two […]

    Read more

Last updated: