Popover

Floating element for displaying rich content, triggered by a button.

This component inherits props from the Popover primitive.

Contains all the parts of a popover.

Wraps the control that will open the popover.

Contains content to be rendered in the open popover. This component is based on the div element.

PropTypeDefault
sizeResponsive<'1' | '2' | '3' | '4'>"2"
widthResponsive<string>
minWidthResponsive<string>
maxWidthResponsive<string>"480px"
heightResponsive<string>
minHeightResponsive<string>
maxHeightResponsive<string>

Wraps the control that will close the popover.

Use the size prop to control size of the popover. It will affect the padding and border-radius of the Content. Use it in conjunction with the width/minWidth/maxWidth and height/minHeight/maxHeight props to control the size of the popover.

Use the Inset component to align content flush with the sides of the popover.