Skip to content
React Libraries
On this page

Floating UI

Positioning and interaction primitives for floating elements.

What it does

Positioning and interaction primitives for floating elements.

When it fits

Building tooltips, popovers, and menus anchored to other elements.

Other options in this category

  • React Modal — Showing focused content above the page with managed dialog behavior.
  • SweetAlert2 React Content — Rendering React content inside alert and confirmation dialogs.
  • Toldo — Adding a polished modal interaction to an application interface.
  • use-context-menu — Showing custom actions when a user opens an element’s context menu.

Source

Project source for Floating UI ↗

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

Show contextual controls →

All dialogs, menus & tooltips options →