Popover

Rich content in a floating panel anchored to a trigger.

Installation

  1. Add the registryOnce per project
  2. Add popover

Usage

Unlike a Dialog, a popover leaves the rest of the page interactive. side and align on PopoverContent set its position.

Composition

Examples

Form controls

Set a w-* class on PopoverContent to fit its content.

Infotip

openOnHover on PopoverTrigger opens the popover on hover as well as click. Unlike a Tooltip, it works on touch screens and with screen readers, and can hold a link. Give the icon button an aria-label.

Props

The tables leave out className, style and render. Parts built on Base UI take them as its styling and composition guides describe.

Popover

PopoverTrigger

PopoverContent