AnchorPositioner

Floats `children` next to an anchor element using native CSS Anchor Positioning where supported, falling back to a `position: fixed` element tracked against the anchor's rect. The positioning math is implemented once in `@udixio/core/dom` and shared with the Angular adapter.

Props

React props
NameTypeRequiredDefaultDescription
positionAnchorPositionNo'bottom'Placement of the floating element relative to its anchor. Defaults to `bottom`.
anchorRefRefObject<HTMLElement>YesThe element the floating content is positioned relative to.