← Back to libraries

Floating UI

Active

floating-ui / floating-ui

A JavaScript library to position floating elements and create interactions for them.

Stars

32.9K

Forks

1.8K

NPM Downloads

33.1M/week

Bundle (gzip)

30.1 KB

UI ComponentsReact + NativeMITdropdownhacktoberfestpopoverpopoverspositionpositioningpositioning-enginetooltiptooltip-position

Recent Releases

@floating-ui/[email protected] — @floating-ui/[email protected]

Patch Changes - fix: support explicit undefined for optional properties with exactOptionalPropertyTypes - Update dependencies: @floating-ui/[email protected], @floating-ui/[email protected]

Jul 11, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Patch Changes - fix: support explicit undefined for optional properties with exactOptionalPropertyTypes - Update dependencies: @floating-ui/[email protected]

Jul 11, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Patch Changes - fix: support explicit undefined for optional properties with exactOptionalPropertyTypes - fix(getPaddingObject): coalesce explicit undefined padding members to 0 - perf(utils): reduc

Jul 11, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Minor Changes - feat: add 'layoutViewport' string option to rootBoundary. Unlike the visual 'viewport' boundary, it remains stable while pinch-zooming or when a mobile software keyboard is open, and

Jul 11, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Patch Changes - fix: remove redundant passive options from scroll listeners - fix: support explicit undefined for optional properties with exactOptionalPropertyTypes - Update dependencies: @floating

Jul 11, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Minor Changes - feat: add 'layoutViewport' string option to rootBoundary. Unlike the visual 'viewport' boundary, it remains stable while pinch-zooming or when a mobile software keyboard is open, and

Jul 11, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Patch Changes - fix: support explicit undefined for optional properties with exactOptionalPropertyTypes - Update dependencies: @floating-ui/[email protected]

Jul 11, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Major

Major Changes - breaking: drop the abandoned and soon-to-be-deprecated vue-demi package (see Deprecation Warning(https://github.com/vueuse/vue-demi/pull/270)), ending support for Vue 2 and Vue <3.3.

Jun 10, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Patch Changes - fix(types): ensure Platform type contains detectOverflow type - perf: bundle and runtime improvements - feat(autoUpdate): allow not passing a floating element - Update depend

Mar 3, 2026

@floating-ui/[email protected] — @floating-ui/[email protected]

Patch Changes - fix(useDismiss): ignore non-primary inside mouse presses for click outside dismissal - fix(react): fix shadow root host lookup when one of the parent elements is an anchor - Up

Mar 3, 2026