context-menu-87d434 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited context-menu-87d434 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Right-click context menu using ConnectedOverlay (Floating UI). Supports focus trapping, global menu state (only one open at a time), and auto-close on click.
import { ContextMenu } from 'reablocks';| Prop | Type | Default | Description | |
|---|---|---|---|---|
children | ReactNode | — | Trigger element (right-click target) | |
content | `ReactNode \ | (({ close, closeAll }) => ReactNode)` | — | Menu content |
disabled | boolean | — | Disable the context menu | |
autofocus | boolean | true | Focus trap on open | |
autoClose | boolean | true | Close on content click | |
closeOnEscape | boolean | true | Close on Escape key | |
closeOnBodyClick | boolean | true | Close on outside click | |
triggerClassName | string | — | CSS class for the trigger wrapper | |
triggerOpenClassName | string | — | CSS class when menu is open | |
theme | ContextMenuTheme | — | Per-instance theme override |
Also accepts ConnectedOverlay props (except open).
<ContextMenu content={
<Card>
<List>
<ListItem onClick={() => copy()}>Copy</ListItem>
<ListItem onClick={() => paste()}>Paste</ListItem>
<ListItem onClick={() => del()}>Delete</ListItem>
</List>
</Card>
}>
<div>Right-click me</div>
</ContextMenu>Content can be a render function receiving close and closeAll:
<ContextMenu content={({ close, closeAll }) => (
<Card>
<List>
<ListItem onClick={() => { action(); close(); }}>Action</ListItem>
<ListItem onClick={closeAll}>Close All Menus</ListItem>
</List>
</Card>
)}>
<div>Right-click me</div>
</ContextMenu>interface ContextMenuTheme {
enabled: string; // Cursor style when enabled (cursor-context-menu)
}~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.