Popover
Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
API Reference
This component inherits props from the Popover primitive.
Root
Contains all the parts of a popover.
Trigger
Wraps the control that will open the popover.
Content
Contains content to be rendered in the open popover. This component is based on the div element.
Close
Wraps the control that will close the popover.
Examples
Size
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.
With inset content
Use the Inset component to align content flush with the sides of the popover.