syncfusion-react-context-menu — Claude Code skill: how to install
Helps AI agents implement Syncfusion ContextMenu in React, covering target selectors, nested items, click events, and animations.
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a claude-codeWhat syncfusion-react-context-menu 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.
What it helps with
- 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 for the agent
- Create a Syncfusion context menu for the
#file-listelement 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.
How to install syncfusion-react-context-menu
1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a claude-code2Manually: put the files in place
~/.claude/skills/syncfusion-react-context-menu/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/syncfusion-react-context-menu/
1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a codex2Manually: put the files in place
.agents/skills/syncfusion-react-context-menu/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a cursor2Manually: put the files in place
.cursor/skills/syncfusion-react-context-menu/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install syncfusion/react-ui-components-skills syncfusion-react-context-menu2Manually: put the files in place
.github/skills/syncfusion-react-context-menu/SKILL.md1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a gemini-cli2Platform CLI
gemini skills install https://github.com/syncfusion/react-ui-components-skills --path skills/syncfusion-react-context-menuManually: put the files in place
.devin/skills/syncfusion-react-context-menu/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about syncfusion-react-context-menu
How to install syncfusion-react-context-menu in Claude Code?
Run npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-context-menu -a claude-code. The skill file is placed in ~/.claude/skills/syncfusion-react-context-menu/SKILL.md.
Which properties are mandatory for ContextMenuComponent?
You must specify target as a CSS selector string and provide an items array populated with MenuItemModel objects.
What dependencies does this component need?
It requires the @syncfusion/ej2-react-navigations package alongside Syncfusion CSS theme stylesheets.