Edit page

Popover

Popover allows users to add actions to a dropdown menu. The actions do not update any labels upon being selected, like a Select would.

Import Syntax

Basic Usage

Overflow Container

positionFixed
appendToBody

With Select

With Image

Props

PropertyTypeRequiredDefaultDescription
openBoolfalsefalseWhether or not the Popover is visible.
placementEnumfalsebottom-startPlacement of the Popover in relation to the target.
transitionDurationNumberfalse200Duration of animation in milliseconds.
enterDelayNumberfalse0How long it takes for the Popover to show up.
childrenNodefalse-Nodes to be used as options in the Popover.
targetElNodefalse-The element that will anchor the Popover.
onRequestCloseFuncfalse-Function called when the Popover receives an event that may trigger a close.
closeOnSelectBoolfalse-Whether or not the Popover should trigger onRequestClose when an element is selected.
targetContainerStylesObjectfalse-Styles passed onto the target element container div.
popoverContainerStylesObjectfalse-Styles passed onto the Popover container div.
positionFixedBoolfalse-Uses `position: fixed` on the tooltip allowing it to show up outside of containers that have `overflow: hidden`.
popperModifiersObjectfalse-Modifiers to be passed to the Popper element