
Description
Mantine ContextMenu is a React component library that adds a desktop-style right-click context menu to applications built with Mantine. You wrap your application in a ContextMenuProvider, then call the function that the hook generates to open a menu wherever you need one. The menu takes any Mantine component as its content, so menu items can use the same building blocks as the rest of the interface. It has no external dependencies. The menu adapts to the Mantine colour scheme, so it looks right in dark theme, and it follows the settings of Mantine's DirectionProvider for right-to-left languages. Styling can be changed with the className, classNames, style and styles props. The package is written in TypeScript, with JSDoc annotations for each exported function and component. The current version, V9.x, is for Mantine V9.x, and the author keeps a separate version for Mantine V6. The library was built by the creator of Mantine DataTable. Full documentation and usage examples are on the project's GitHub Pages site.…
Highlights
- Right-click context menu for Mantine apps
- Hook-generated function to open the menu anywhere
- Any Mantine component as menu content
- Adapts to the Mantine dark colour scheme
- Right-to-left support through DirectionProvider
- Written in TypeScript with JSDoc
Ratings & Reviews
No ratings yet
Be the first to rate mantine-contextmenu.
People also visit
mantine-contextmenu FAQ
What is Mantine ContextMenu?
A context menu component for React applications that use Mantine. It opens a desktop-style menu on right-click.
Which Mantine version does it need?
Version 9.x works with Mantine V9.x. The author keeps a separate version for Mantine V6.
Does it support dark mode?
Yes. It adapts automatically to the current Mantine colour scheme.
Can I use my own components in the menu?
Yes. Any Mantine component can be used as the content of the context menu.
Where is the documentation?
On the project's GitHub Pages site, with a list of usage examples and a quickstart.
What are the best mantine-contextmenu alternatives?
Popular alternatives to mantine-contextmenu include Mantine, react-contexify and mantine-datatable. See all mantine-contextmenu alternatives










