Feedback & Status

Popover

A popover is an overlay element positioned relative to a trigger.

A popover is an overlay element positioned relative to a trigger.

Component props#

NameTypeDescription
placementPlacement"top" | "bottom" | "left" | "right" | "start" | "end"
offsetnumberDistance from the trigger element
isFullscreenbooleanOpens popover in fullscreen mode
isOpenbooleanControlled open state. Used when the popover is not wrapped in a DialogTrigger
defaultOpenbooleanInitial open state. Used when the popover is not wrapped in a DialogTrigger
onOpenChange(open: boolean) => voidCalled when the open state changes
isNonModalbooleanAllows interaction with the rest of the page while open
sideOffsetnumberDistance from the trigger element (default: 4)

The popup carries the default surface (w-72, border, shadow, padding). A Dialog nested inside a popover drops its own surface so the two do not stack.

Parts#

NameTypeDescription
PopoverTriggercomponentOpens the popover
PopoverClosecomponentCloses the popover
PopoverTitlecomponentAccessible title, rendered as a Heading
PopoverDescriptioncomponentAccessible description, rendered as muted Text