# syncfusion-react-context-menu

Helps AI agents implement Syncfusion ContextMenu in React, covering target selectors, nested items, click events, and animations.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 616 installs · ★ 3
- Author: Syncfusion Inc
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/syncfusion/react-ui-components-skills/tree/HEAD/skills/syncfusion-react-context-menu/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/syncfusion-react-context-menu

## What it does

This skill guides coding agents through setting up `ContextMenuComponent` from the `@syncfusion/ej2-react-navigations` package. It details required properties like `target` for the trigger selector and `items` for the menu data. Without a valid `target` selector, the menu cannot bind to user interactions.

The documentation explains configuration for child filters, submenu hover delays, and custom markup using `itemTemplate`. It works with Vite and Create React App. Before running the component, you must import the corresponding Syncfusion CSS theme stylesheets into your app.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/syncfusion-react-context-menu/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/syncfusion-react-context-menu/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/syncfusion-react-context-menu/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/syncfusion-react-context-menu/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install syncfusion/react-ui-components-skills syncfusion-react-context-menu
```

2. **Manually: put the files in place**
- File: `.github/skills/syncfusion-react-context-menu/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/syncfusion/react-ui-components-skills --path skills/syncfusion-react-context-menu
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/syncfusion-react-context-menu/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/syncfusion/react-ui-components-skills/tree/HEAD/skills/syncfusion-react-context-menu/SKILL.md

## When to use it
- attach right-click popup menus to React elements
- configure nested submenus with item separators
- restrict menu triggers to specific child elements using `filter`
- define custom item layouts through `itemTemplate`

## Example prompts
- Create a Syncfusion context menu for the `#file-list` element with rename and delete items.
- Configure the context menu to open submenus on click with a SlideDown animation.
- Define a custom item template that includes action icons and keyboard shortcuts.

## Similar
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs
- [prototype](https://affpapa.org/en/nevibecode/skills/prototype.md) — skill · 986201 installs
- [hyperframes](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes.md) — skill · 1200000 installs
- [hyperframes-cli](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes-cli.md) — skill · 1300000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs

From the same set: [syncfusion/react-ui-components-skills](https://affpapa.org/en/nevibecode/by/syncfusion/react-ui-components-skills.md) — 57 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
