# atomiks/floating-ui

JavaScript positioning library for tooltips, popovers, dropdowns, and more

Repository: https://github.com/atomiks/floating-ui
Canonical: https://ross.abutalabs.com/products/atomiks-floating-ui
Homepage: https://floating-ui.com
Language: JavaScript
License: MIT
License Family: permissive
Archived: true
Last push: 2021-12-08T14:27:50+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1739, "days_push": 1729, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1532, forks 22 (observed 2026-08-28T04:04:59.431183+00:00)

## What it is
Floating UI is a JavaScript positioning library for anchoring floating elements like tooltips, popovers, and dropdowns next to reference elements while avoiding viewport collisions. It also provides React primitives for building accessible interactions for floating components, and is the successor brand of Popper.js (this repo has moved to floating-ui/floating-ui).

## Use cases
- position tooltips next to buttons
- build popover components in React
- create dropdown menus that stay in view
- anchor floating elements without viewport overflow
- position a tooltip relative to the mouse cursor
- build combobox and select menus with accessible interactions
- replace Popper.js with its maintained successor

## When to choose
- you need robust anchor positioning with flip/shift/size collision handling
- you want headless primitives to build custom tooltips, popovers, or menus
- you need framework-agnostic positioning or React interaction hooks
- you are starting a new project and were considering Popper.js

## When to avoid
- you want pre-built styled components rather than headless primitives
- you need only simple CSS-only tooltips without dynamic positioning
- you rely on the old atomiks/floating-ui repo location, which is archived in favor of floating-ui/floating-ui

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework, middleware
- domain: web-development, frontend, accessibility
- platform: browser, cross-platform
- tags: positioning, tooltips, popovers, dropdowns, anchoring, collision-detection, react, headless-ui, popper-successor, nodejs

## Member repositories
- atomiks/floating-ui (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.431183+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:18.597254+00:00, confidence not recorded.
  - readme: https://github.com/atomiks/floating-ui (fetched 2026-08-28T04:04:59.431183+00:00, sha 82fe370c257f)
  - homepage: https://floating-ui.com (fetched 2026-08-29T11:33:39.998615+00:00, sha 4ed9df4a68e2)
  - site_page: https://floating-ui.com/docs/getting-started (fetched 2026-08-29T11:33:40.007856+00:00, sha 844de5935f25)
  - site_page: https://floating-ui.com/docs/react (fetched 2026-08-29T11:33:40.009791+00:00, sha 475bbb455f31)
- Data as of 2026-08-30T08:39:29.467469+00:00.
