Skip to content
React Libraries
On this page

Show contextual controls

Build dialogs, contextual menus, popovers, and anchored tooltips.

Options for this task

Floating UI

Library / tool

Positioning and interaction primitives for floating elements.

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

React Modal

Library / tool

An accessible modal-dialog component for React.

Good for
Showing focused content above the page with managed dialog behavior.

A React integration for SweetAlert2 dialogs.

Good for
Rendering React content inside alert and confirmation dialogs.

Toldo

Library / tool

A dialog component for React.

Good for
Adding a polished modal interaction to an application interface.

use-context-menu

Library / tool

A React hook for implementing context menus.

Good for
Showing custom actions when a user opens an element's context menu.

Before you decide

Try a small, realistic example. Check the runtime, accessibility, maintenance, and license requirements for the features you need.

Browse dialogs, menus & tooltips →

Explore more tasks →