# @floating-ui/react

> Floating UI for React

Latest version **0.27.20** (published 2026-07-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @floating-ui/react
pnpm add @floating-ui/react
yarn add @floating-ui/react
bun add @floating-ui/react
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.27.20 |
| Published | 2026-07-11 |
| First published | 2022-12-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 912.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 32742 |
| Author | atomiks |
| Maintainers | fezvrasta, atomiks |
| Keywords | tooltip, popover, dropdown, menu, popup, positioning, react, react-dom |

## Links

- npm: https://www.npmjs.com/package/@floating-ui/react
- Repository: https://github.com/floating-ui/floating-ui
- Homepage: https://floating-ui.com/docs/react
- Issues: https://github.com/floating-ui/floating-ui
- npm.io page: https://npm.io/package/@floating-ui/react

## Dependencies (3)

- [tabbable](https://npm.io/package/tabbable.md) ^6.0.0
- [@floating-ui/utils](https://npm.io/package/@floating-ui/utils.md) ^0.2.12
- [@floating-ui/react-dom](https://npm.io/package/@floating-ui/react-dom.md) ^2.1.9

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.27.20 (latest) — 2026-07-11
- 0.27.19 — 2026-03-03
- 0.27.18 — 2026-02-17
- 0.27.17 — 2026-01-27
- 0.27.16 — 2025-08-21
- 0.27.15 — 2025-07-30
- 0.27.14 — 2025-07-27
- 0.27.13 — 2025-06-28
- 0.27.12 — 2025-06-02
- 0.27.11 — 2025-06-02
- 0.27.10 — 2025-05-31
- 0.27.9 — 2025-05-26
- 0.27.8 — 2025-04-23
- 0.27.7 — 2025-04-10
- 0.27.6 — 2025-04-02
- … 69 more at https://npm.io/package/@floating-ui/react/versions

## README

# @floating-ui/react

This is the library to use Floating UI with React.

---
_Source: https://npm.io/package/@floating-ui/react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
