OptionalapplyWhether to apply computed position styles (--x, --y, --z-index) to the floating element.
Set to false when the consumer applies these from context (e.g. for exit animations).
OptionalarrowThe minimum padding between the arrow and the floating element's corner.
OptionalboundaryThe overflow boundary of the reference element Accepts a function returning a Boundary, a Boundary directly, or the shorthand string 'clipping-ancestors' which maps to Floating UI's 'clippingAncestors'.
OptionalfitWhether the popover should fit the viewport.
OptionalflipWhether to flip the placement
OptionalgetFunction that returns the anchor element. Useful when you want to use a different element as the anchor.
OptionalgetFunction that returns the anchor rect
OptionalgutterThe main axis offset or gap between the reference and floating elements
OptionalhideWhether the popover should be hidden when the reference element is detached
OptionallistenersOptions to activate auto-update listeners
OptionaloffsetThe offset of the floating element
OptionalonFunction called when the placement is computed
OptionalonFunction called when the floating element is positioned or not
OptionaloverflowThe virtual padding around the viewport edges to check for overflow
OptionaloverlapWhether the floating element can overlap the reference element
OptionalplacementThe initial placement of the floating element
OptionalrestoreWhether styles applied by the positioning utility should be restored on cleanup.
OptionalshiftThe secondary axis offset or gap between the reference and floating elements
OptionalsizeWhether to use the size middleware from Floating UI.
It computes and sets CSS variables (--reference-width, --reference-height, --available-width, --available-height) used by sameWidth and fitViewport.
Disabling it improves scroll performance with heavy content by avoiding layout thrashing on each update.
Only applies when both sameWidth and fitViewport are false — the middleware is always used when either is enabled.
OptionalslideWhether the popover should slide when it overflows.
OptionalstrategyThe strategy to use for positioning
OptionalupdateA callback that will be called when the popover needs to calculate its position.
Ark's positioning less
sameWidth; an interface, so declarations name it rather than expanding floating-ui's types.