## Default
By default, the position of the popover component is absolute.
## Relative position
Set `relative` to `true` to use a relative position.
## Close on outside click
Set `closeOnOutsideClick` to set `open` to `false` when clicking outside of the popover.
Parent
{console.log('on:click:outside')}}>
Content
## Popover alignment
Customize the popover alignment using the `align` prop. Valid values include: `"top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top"`.
The default `align` value is `"top"`.
## With caret
## Custom caret alignment
By default, the caret is aligned "top".
Possible `align` values include `"top"`, `"top-left"`, `"top-right"`, `"bottom"`, `"bottom-left"`, `"bottom-right"`, `"left"`, `"left-bottom"`, `"left-top"`, `"right"`, `"right-bottom"` or `"right-top"`.
## Light variant
## High contrast variant
## External element
Use the `open` prop to manage state with an external element, like a button.