
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
@sensilla-cloud/react-context-menu
Advanced tools
A react component for custom context menus. Designed to be dropped in and used.
There is no included styles, however, the stories
directory contains the scss used for the stories and can be used as a good starting point.
The menu handles placement even when close to the edge of the screen and sub-menus can be nested.
import ContextMenu from '@sensilla-cloud/react-context-menu';
<ContextMenu items={[
<span>Item 1</span>,
<span>Item 2</span>
]}
className="context-menu">
<div
style={{
width: 300,
height: 300,
backgroundColor: '#222',
color: '#fff',
textAlign: 'center',
lineHeight: '300px',
marginLeft: 'auto',
marginRight: 'auto'
}}
>
Right-click Me!
</div>
</ContextMenu>
Check out the storybook to see everything that is possible.
This library is licensed under the MIT license.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.