vkbansal / React Contextmenu
Licence: mit
Project is no longer maintained
Stars: ✭ 1,361
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to React Contextmenu
React Payment Card Component
💳 A modern credit card component for React
Stars: ✭ 74 (-94.56%)
Mutual labels: react-component
React Easy Swipe
Easy handler for common swipe operations
Stars: ✭ 85 (-93.75%)
Mutual labels: react-component
React Responsive Picture
A future-proof responsive image component that supports latest Picture specification
Stars: ✭ 91 (-93.31%)
Mutual labels: react-component
Svg Loaders React
React adaptation of the SVG Loaders library by Sam Herbert
Stars: ✭ 75 (-94.49%)
Mutual labels: react-component
Ngcontextmenu
Handcraft your very own context menus for a richer UX!
Stars: ✭ 81 (-94.05%)
Mutual labels: contextmenu
Babel Plugin Stateful Functional React Components
Stateful functional React components without runtime overhead
Stars: ✭ 86 (-93.68%)
Mutual labels: react-component
React Native Swipeable Parallax Carousel
React Native Swipeable Parallax Carousel
Stars: ✭ 98 (-92.8%)
Mutual labels: react-component
Re Resizable
📏 A resizable component for React.
Stars: ✭ 1,302 (-4.34%)
Mutual labels: react-component
Refluent
A chainable & composable alternative React component API.
Stars: ✭ 75 (-94.49%)
Mutual labels: react-component
React Native Ios Context Menu
A react-native component to use context menu's (UIMenu) on iOS 13/14+
Stars: ✭ 80 (-94.12%)
Mutual labels: contextmenu
Zifi
zifi - Make Stories everywhere using React 😍
Stars: ✭ 87 (-93.61%)
Mutual labels: react-component
Uskin
A front-end framework aims at developing web projects based on CSS3 and provides common components.
Stars: ✭ 74 (-94.56%)
Mutual labels: react-component
React Cassette Player
Simple ReactJS HTML5 audio player component built with SVG icons from The Noun Project.
Stars: ✭ 93 (-93.17%)
Mutual labels: react-component
React Marquee Slider
The marquee slider of your deepest dreams. Only for React.js ⛺
Stars: ✭ 73 (-94.64%)
Mutual labels: react-component
Ui Predicate
Finally a Predicate/Rule Editor UI component for the Web 🚀
Stars: ✭ 86 (-93.68%)
Mutual labels: react-component
React Textarea Autosize
<textarea /> component for React which grows with content
Stars: ✭ 1,357 (-0.29%)
Mutual labels: react-component
React Css Component
Injecting CSS via React Components
Stars: ✭ 98 (-92.8%)
Mutual labels: react-component
React Promise
a react.js hook for general promise in typescript
Stars: ✭ 90 (-93.39%)
Mutual labels: react-component
Project is no longer maintained
React Contextmenu
ContextMenu in React with accessibility support. Live Examples can be found here
Table of contents
Installation
Using npm
npm install --save react-contextmenu
Using yarn
yarn add react-contextmenu
Browser Support
- IE 11 and Edge >= 12
- FireFox >= 38
- Chrome >= 47
- Opera >= 34
- Safari >= 8
Usage
Simple example
import React from "react";
import ReactDOM from "react-dom";
import { ContextMenu, MenuItem, ContextMenuTrigger } from "react-contextmenu";
function handleClick(e, data) {
console.log(data.foo);
}
function MyApp() {
return (
<div>
{/* NOTICE: id must be unique between EVERY <ContextMenuTrigger> and <ContextMenu> pair */}
{/* NOTICE: inside the pair, <ContextMenuTrigger> and <ContextMenu> must have the same id */}
<ContextMenuTrigger id="same_unique_identifier">
<div className="well">Right click to see the menu</div>
</ContextMenuTrigger>
<ContextMenu id="same_unique_identifier">
<MenuItem data={{foo: 'bar'}} onClick={this.handleClick}>
ContextMenu Item 1
</MenuItem>
<MenuItem data={{foo: 'bar'}} onClick={this.handleClick}>
ContextMenu Item 2
</MenuItem>
<MenuItem divider />
<MenuItem data={{foo: 'bar'}} onClick={this.handleClick}>
ContextMenu Item 3
</MenuItem>
</ContextMenu>
</div>
);
}
ReactDOM.render(<MyApp myProp={12}/>, document.getElementById("main"));
see usage docs / examples for more details.
API
FAQs
Who's using react-contextmenu?
Contributors
Changelog
For Changelog, see releases
License
MIT. Copyright(c) Vivek Kumar Bansal
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].