@octanejs/floating-ui
v0.1.56
Published
Floating UI bindings for the octane renderer — a port of @floating-ui/react (positioning + interactions + focus management) on top of the framework-agnostic @floating-ui/dom.
Keywords
Readme
@octanejs/floating-ui
Floating UI for the octane UI framework.
Installation
npm install @octanejs/floating-ui
pnpm add @octanejs/floating-uiA port of @floating-ui/react 0.27.19 — positioning (useFloating, the
ref-aware arrow, the @floating-ui/dom middleware re-exports, the floating
tree), the full interaction-hook set (useInteractions, useHover +
safePolygon, useClick, useFocus, useDismiss, useRole,
useClientPoint, useListNavigation, useTypeahead), the component layer
(FloatingPortal, FloatingOverlay, FloatingFocusManager, FloatingArrow,
FloatingList, Composite), transitions, both delay-group APIs, and the
deprecated inner/useInnerOffset pair. As everywhere in octane, forwardRef
becomes a plain ref prop.
import { useFloating, useInteractions, useHover, offset, flip } from '@octanejs/floating-ui';Status
Current scope, known divergences, and verification status are tracked in the
generated bindings status table, sourced from
this package's status.json.
