MCPInstall

syncfusion-aspnetcore-menu

Implement Syncfusion Core Menu component to display hierarchical navigational menus with support for data binding, icons, animations, and rich event handling for user interactions.

Installs
98
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-menu
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-aspnetcore-menu automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Menu Component

When you need to build a navigational menu system with hierarchical items, icons, animations, and event handling, this skill provides complete guidance for using the Syncfusion Core Menu component.

When to Use This Skill

Use this skill when you need to:

  • Display hierarchical navigation menus with nested items
  • Bind menu data from arrays or self-referential structures
  • Customize menu appearance with icons, animations, and styling
  • Handle user interactions (click, selection, open/close)
  • Support accessibility features (RTL, hamburger mode, scrolling)
  • Create responsive menu layouts with dynamic item management

Component Overview

The Menu is a graphical user interface component that serves as a navigation header for applications or sites. It supports:

  • Data Binding: Hierarchical or self-referential data structures
  • Customization: Icons, templates, animations, styling via CSS
  • User Interaction: Events for open, close, select, and item render
  • Accessibility: RTL support, persistence, keyboard navigation
  • Advanced Features: Hamburger mode, scrolling, hover effects

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup
  • Creating your first menu
  • Basic item structure (hierarchical)
  • CSS imports and themes
  • TagHelper syntax fundamentals

Menu Items and Data Binding

📄 Read: references/menu-items-and-data-binding.md

  • Item structure (MenuItemModel)
  • Items property with inline arrays
  • Hierarchical data binding
  • Self-referential data structure
  • FieldSettings mapping for custom data

Customization and Styling

📄 Read: references/customization-and-styling.md

  • cssClass property for custom styling
  • Theme customization
  • Template support for advanced layouts
  • Menu item styling patterns
  • Animation configuration

Icons, Sub-menus, and Hierarchy

📄 Read: references/icons-submenus-and-hierarchy.md

  • Adding icons with iconCss
  • Creating sub-menus with nested items
  • Multi-level hierarchies
  • Separator items
  • Organizing complex menu structures

Events and User Interactions

📄 Read: references/events-and-user-interactions.md

  • Event names: beforeOpen, beforeClose, onOpen, onClose, select, beforeItemRender, created
  • Event handler patterns
  • BeforeOpenCloseMenuEventArgs properties
  • OpenCloseMenuEventArgs properties
  • MenuEventArgs properties
  • Conditional logic in events

Methods and Public API

📄 Read: references/methods-and-public-api.md

  • Lifecycle methods (appendTo, refresh, destroy, dataBind)
  • Item management (enableItems, hideItems, showItems, setItem, getItemIndex)
  • Item insertion/removal (insertAfter, insertBefore, removeItems)
  • Hamburger mode control (open, close)
  • Event handling (addEventListener, removeEventListener)
  • Module injection (Inject)
  • Practical implementation patterns
  • Best practices for method usage

Orientation and Accessibility

📄 Read: references/orientation-and-accessibility.md

  • Horizontal vs Vertical orientation
  • RTL (enableRtl) support
  • Hamburger mode for responsive design
  • Persistence (enablePersistence)
  • Scrolling (enableScrolling) for large menus
  • HTML sanitization (enableHtmlSanitizer)

API Reference

📄 Read: references/api-reference.md

  • Complete property reference
  • Event declarations
  • MenuAnimationSettingsModel options
  • FieldSettingsModel configuration
  • MenuItem properties
  • Enum values (Orientation, MenuEffect)

Quick Start Example

Create a basic menu with three vertical items:

@{
    List<object> menuItems = new List<object>();
    menuItems.Add(new { text = "File" });
    menuItems.Add(new { text = "Edit" });
    menuItems.Add(new { text = "View" });
}

<ejs-menu id="menu" items="menuItems"></ejs-menu>

With sub-menus:

@{
    var menuItems = new List<object> {
        new {
            text = "File",
            items = new List<object> {
                new { text = "New" },
                new { text = "Open" },
                new { text = "Save" }
            }
        },
        new {
            text = "Edit",
            items = new List<object> {
                new { text = "Cut" },
                new { text = "Copy" },
                new { text = "Paste" }
            }
        }
    };
}

<ejs-menu id="menu" items="menuItems"></ejs-menu>

Common Patterns

Pattern 1: Data Binding with Fields Mapping

When you have custom data structures, map fields using the fields property:

<ejs-menu id="menu" items="ViewBag.menuData" fields="ViewBag.menuFields"></ejs-menu>

Controller:

var menuFields = new { text = "name", children = "submenu", iconCss = "icon" };

Pattern 2: Event Handling

Attach event handlers to respond to user interactions:

<ejs-menu id="menu" 
    items="menuItems"
    select="onMenuSelect"
    beforeOpen="onBeforeOpen">
</ejs-menu>

Pattern 3: Horizontal Menu with Icons

Create a horizontal menu with icon support:

<ejs-menu id="menu" 
    items="menuItems"
    orientation="Horizontal"
    enableRtl="false">
</ejs-menu>

Pattern 4: RTL and Accessibility

Enable accessibility features for different locales:

<ejs-menu id="menu" 
    items="menuItems" 
    locale="ar-AE"
    enableRtl="true"
    enablePersistence="true">
</ejs-menu>

Key Properties Summary

PropertyTypePurpose
itemsMenuItemModel[]Menu items array
orientationOrientationHorizontal or Vertical (default: Vertical)
fieldsFieldSettingsModelData binding field mappings
cssClassstringCustom CSS class for styling
enableRtlbooleanRight-to-left text direction
enablePersistencebooleanPersist state between page reloads
enableScrollingbooleanEnable scrolling for overflow content
hamburgerModebooleanResponsive mobile menu mode
animationSettingsMenuAnimationSettingsModelSub-menu animation configuration
hoverDelaynumberMilliseconds before sub-menu opens on hover
templatestring | FunctionCustom item template

Common Use Cases

Navigation Header: Create a multi-level site navigation menu with icons and styling

Application Menu Bar: Implement traditional File/Edit/View menu bar with keyboard support

Mobile Navigation: Use hamburger mode for responsive mobile navigation

Contextual Menu: Display dynamic menus based on user actions and data

Localized Menu: Support multiple languages and RTL layouts


Next Steps: Select a reference file above based on your needs. Start with getting-started.md if you're new to the Menu component.

FAQ

What does the syncfusion-aspnetcore-menu skill do?

Implement Syncfusion Core Menu component to display hierarchical navigational menus with support for data binding, icons, animations, and rich event handling for user interactions.

How do I install syncfusion-aspnetcore-menu?

Run npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-menu in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-aspnetcore-menu/ (personal) or .claude/skills/syncfusion-aspnetcore-menu/ (project).

Which AI agents can use syncfusion-aspnetcore-menu?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-aspnetcore-menu safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-aspnetcore-menu?

It is published by syncfusion in syncfusion/aspnetcore-ui-components-skills. It has 98 recorded installs.

More from syncfusion/aspnetcore-ui-components-skills

View all →

syncfusion-aspnetcore-charts

syncfusion/aspnetcore-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design112 installs

syncfusion-aspnetcore-common

syncfusion/aspnetcore-ui-components-skills

CONFIGURATION GUIDE — Assist with Syncfusion ASP.NET Core EJ2 components setup, localization, and version compatibility. Use when: installing Syncfusion packages, configuring globalization/localization, selecting compatible versions.

Frontend & Design111 installs

syncfusion-aspnetcore-license

syncfusion/aspnetcore-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design111 installs

syncfusion-aspnetcore-grid

syncfusion/aspnetcore-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design110 installs

syncfusion-aspnetcore-gantt-chart

syncfusion/aspnetcore-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design108 installs

syncfusion-aspnetcore-security

syncfusion/aspnetcore-ui-components-skills

Open the skill to read its SKILL.md instructions.

Security108 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs