floating-ui/floating-ui

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

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 24 minutes ago
Added to GitGenius on September 13th, 2026
Created on March 29th, 2016
Open Issues & Pull Requests: 61 (+0)
GitHub issues: Enabled
Number of forks: 1,704
Total Stargazers: 32,743 (+0)
Total Subscribers: 253 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 18.0 hours
Mean response time: 14.4 days
90th percentile: 23.1 days
Tracked items: 150

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 97% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "NEEDS: triage" is answered fastest, typically in about 12 hours, while "has workaround" waits about 3 days. Only 6% of issues opened in the past year have been closed. Three people close 79% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 30
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 384 days
Stale 30+ days: 26
Stale 90+ days: 22

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (24)
  • has workaround (23)
  • NEEDS: triage (21)
  • # WONTFIX 🙈 (4)
  • browser bug (4)
  • docs (4)
  • # INVALID 🙅‍♂️ (3)
  • duplicate (3)

Detailed Description

Floating UI is a JavaScript library that positions floating elements such as tooltips, popovers, and dropdowns while keeping them visible and anchored to other UI elements.

The library solves the challenge of positioning absolutely-positioned elements that must remain anchored to a reference element while staying within the viewport. It handles collision detection and automatic repositioning when a floating element would be obscured by viewport edges. For React users, it additionally provides hooks and components to manage the complex accessibility concerns that arise when building interactive floating UI components. The core positioning engine works across all platforms, while React-specific features are available through dedicated bindings.

Floating UI suits projects that need robust, accessible floating UI components without building positioning logic from scratch. The library supports vanilla JavaScript, React DOM, React Native, and Vue, with extensibility for other platforms through custom platform implementations. Developers working with Canvas, WebGL, or non-standard rendering targets can create their own platform adapters. The project evolved from Popper, with migration documentation available for users of the earlier version.

The project is maintained as a TypeScript monorepo using pnpm workspaces, with the website built on Next.js and Tailwind CSS. Development follows a structured contribution process documented in the repository, with clear setup instructions for building and testing. The project maintains active sponsorship relationships and accepts community support through Open Collective.