Skip to main content

Popover

UI Design

What is a Popover

A popover is a small, temporary panel that appears above the page next to the element that opened it. It opens when users click or tap a control and closes when they click elsewhere, without blocking the rest of the screen.

How a Popover works

  • Anchored: Points to the button or field that opened it
  • Non-modal: The page stays usable
  • Light dismiss: Closes on an outside click or Escape
  • Rich content: Can hold text, links and small controls

When to use a Popover

Use popovers for small amounts of extra information or quick tasks, such as editing an event time, picking an option or showing details about an item. If the task is long or needs full attention, use a page or a modal instead.

Popover vs. Tooltip vs. Modal

A tooltip shows a short hint on hover or focus and has nothing to click. A popover opens on click and can contain controls. A modal blocks the whole page until closed.

Frequently asked questions

What is the difference between a popover and a tooltip?

A tooltip shows a short text hint when users hover over or focus an element, and it contains nothing to click. A popover opens on click or tap and can hold richer content and controls, such as a small form or menu.

What is the difference between a popover and a modal?

A modal blocks the rest of the page until users close it. A popover is non-modal: it sits above the content next to the control that opened it and closes when users click elsewhere.

Is there a native way to build popovers on the web?

Yes. The HTML Popover API lets developers show popover content on top of the page with HTML attributes or JavaScript, including closing it when users click outside.