use-context-menu
A React hook for implementing context menus.
What it does
A React hook for implementing context menus.
When it fits
Showing custom actions when a user opens an element’s context menu.
Other options in this category
- Floating UI — Building tooltips, popovers, and menus anchored to other elements.
- 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.
Source
Project source for use-context-menu ↗
Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.