Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Menu component displays a list of navigation items vertically or horizontally. It supports hierarchical nested menus, custom styling, animations, and integration with other components for building navigation systems.


React Menu code example

Get started with the React Menu using a few simple lines of TSX code, as shown below.

import { Menu, MenuItem, MenuItemLabel } from '@syncfusion/react-navigations';

export default function App() {
    return (
        <Menu>
            <MenuItem>
                <MenuItemLabel>File</MenuItemLabel>
                <MenuItem>
                    <MenuItemLabel>New</MenuItemLabel>
                </MenuItem>
                <MenuItem>
                    <MenuItemLabel>Open</MenuItemLabel>
                </MenuItem>
                <MenuItem>
                    <MenuItemLabel>Exit</MenuItemLabel>
                </MenuItem>
            </MenuItem>

            <MenuItem>
                <MenuItemLabel>Edit</MenuItemLabel>
                <MenuItem>
                    <MenuItemLabel>Cut</MenuItemLabel>
                </MenuItem>
                <MenuItem>
                    <MenuItemLabel>Copy</MenuItemLabel>
                </MenuItem>
                <MenuItem>
                    <MenuItemLabel>Paste</MenuItemLabel>
                </MenuItem>
            </MenuItem>
        </Menu>
    );
}

Nested menu

The Menu component supports hierarchical navigation with nested items. This capability is useful for application commands, grouped actions, and structured navigation.

React nested menu


React Menu URL navigation

URL navigation

URL-based navigation enables menu items to be linked to internal routes or external pages.


Custom template menu

Create custom menu item layouts with grouped items, icons, custom styling, and nested structures.

React Menu custom template


React Menu item types

Menu items include icons, separators, disabled states, custom classes, and HTML attributes. These features are useful for action menus where some options may be unavailable due to user permissions or application state.


Vertical menu

Menus can be displayed vertically for side navigation, application menus, and dashboard navigation layouts.

React Menu vertical


React Menu scrolling

Scrollable menu

Menus with many items can be made scrollable by setting a container size. This is useful for file history lists, extensive action menus, and large navigation structures.


Animation effects

Apply customizable transition effects when submenus open and close.

React Menu Animation image


Accessibility

React Menu Keyboard image

Keyboard navigation

Keyboard navigation is supported for menus. Use the arrow keys to move through menu items and nested submenus, press Enter or Space to activate an item, and press Esc to close an opened submenu.

React Menu Screen Reader image

Screen reader

ARIA roles and attributes communicate the menu’s structure, item state, and submenu status to assistive technologies. Item labels, disabled states, and submenu expansion status are conveyed.

React Menu Rtl image

Right-to-left (RTL) rendering

RTL mirrors the menu layout for right-to-left languages to preserve readability and interaction patterns.




Other Supported Frameworks

In addition to React, built-in integration is available for these major frameworks.

Pure React Components

Developed using React’s core principles, this library employs functional components and hooks without any external dependencies.

Frequently Asked Questions

The React Menu delivers:

  • Flexible nested menu support for hierarchical navigation.
  • Custom templates for items, headers, and groups to match the UI.
  • Grouping, URL navigation, and multiple orientation modes.
  • Built-in accessibility, keyboard navigation, and RTL support.

The getting-started guide and the template and animation examples are in the documentation.

Yes. Interactive examples and runnable projects are available at the demo site.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Read Our Customer Stories


Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion® is proud to hold the following industry awards.

Up arrow icon