Optionalaria-Identifies the element (or elements) that describes the object.
Optionalaria-Identifies the element (or elements) that provide a detailed, extended description for the object.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-Identifies the element (or elements) that labels the current element.
OptionalarrowThe minimum distance the arrow's edge should be from the edge of the overlay element.
OptionalarrowA ref for the popover arrow element.
OptionalboundaryElement that that serves as the positioning boundary.
The content to display inside the popover. Content is automatically wrapped with padding and scroll behavior.
OptionalclassThe CSS className for the element. A function may be provided to compute the class based on component state.
OptionalcontainerThe placement padding that should be applied between the element and its surrounding container.
OptionalcrossThe additional offset applied along the cross axis between the element and its anchor element.
OptionaldefaultWhether the overlay is open by default (uncontrolled).
OptionaldirOptionalhiddenOptionalhideWhether to hide the arrow pointing to the trigger element. Arrow is also automatically hidden for MenuTrigger and SubmenuTrigger contexts.
OptionalinertOptionalisWhether the popover is currently performing an entry animation.
OptionalisWhether the popover is currently performing an exit animation.
OptionalisWhether pressing the escape key to close the popover should be disabled.
Most popovers should not use this option. When set to true, an alternative way to close the popover with a keyboard must be provided.
OptionalisWhether the popover is non-modal, i.e. elements outside the popover may be interacted with by assistive technologies.
Most popovers should not use this option as it may negatively impact the screen reader experience. Only use with components such as combobox, which are designed to handle this situation carefully.
OptionalisWhether the overlay is open by default (controlled).
OptionallangOptionalmaxThe maxHeight specified for the overlay element. By default, it will take all space up to the current viewport height.
OptionaloffsetThe additional offset applied along the main axis between the element and its anchor element.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the overlay's open state changes.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalplacementThe placement of the element with respect to its anchor element.
OptionalscrollA ref for the scrollable region within the overlay.
OptionalshouldWhen user interacts with the argument element outside of the popover ref, return true if onClose should be called. This gives you a chance to filter out interaction with elements that should not dismiss the popover. By default, onClose will always be called on interaction outside the popover ref.
OptionalshouldWhether the element should flip its orientation (e.g. top to bottom or left to right) when there is insufficient room for it to render completely.
OptionalshouldWhether the overlay should update its position automatically.
OptionalslotA slot name for the component. Slots allow the component to receive props from a parent component.
An explicit null value indicates that the local props completely override all props received from a parent.
OptionalstyleThe inline style for the element. A function may be provided to compute the style based on component state.
OptionaltranslateOptionaltriggerThe name of the component that triggered the popover. This is reflected on the element
as the data-trigger attribute, and can be used to provide specific
styles for the popover depending on which element triggered it.
OptionaltriggerThe ref for the element which the popover positions itself with respect to.
When used within a trigger component such as DialogTrigger, MenuTrigger, Select, etc., this is set automatically. It is only required when used standalone.
OptionalUNSTABLE_The container element in which the overlay portal will be placed. This may have unknown behavior depending on where it is portalled to.
Properties for Popover