New to KendoReact? Learn about KendoReact Free.

Overriding the Default Rendering

Updated on Nov 4, 2026

The Menu enables you to override the default rendering of its items.

To customize the item rendering, use any of the following approaches:

Items

By default, the innermost Menu item part displays the item text. If an item has a description, the Menu also displays secondary text below its label.

To override the rendering of that innermost item part, either:

  • Override the innermost part for a specific item by using the render property.
Example
View Source
Loading ...
  • Override the innermost part for all items by using the itemRender property of the Menu.
Example
View Source
Loading ...

By default, the Menu item link includes its configured icon, text, description, trailing actions, and submenu arrow.

To override the rendering of the item link, either:

  • Override the item link for a specific item by using the linkRender property.
Example
View Source
Loading ...
  • Override the item link for all items by using the linkRender property of the Menu.
Example
View Source
Loading ...

Item Actions

To add non-interactive trailing content after the item text, use actionsRender. It is suitable for keyboard shortcut hints, badges, or status indicators, but not for focusable controls. The renderer receives MenuItemActionsRenderProps with two properties, item and itemId.

You can set actionsRender at two levels:

  • Menu—Use the same renderer for all items.
  • Individual item—Set actionsRender on a MenuItem component or a MenuItemModel object to override the Menu's renderer. Set it to null to hide actions for that item.

The following example displays live order counts across nested review, fulfillment, and history menus.

Example
View Source
Loading ...

Group Headers

To replace the default icon and text of a group header, set the item's groupHeaderRender property. Use it on a MenuItem component or a MenuItemModel object with groupHeader property set to true.

The renderer receives MenuItemGroupHeaderRenderProps, which exposes the original item and its hierarchical, zero-based itemId.

The following example adds folder icons and reporting periods to custom group headers in nested finance and operations menus. Open either menu to explore the reports.

Example
View Source
Loading ...

Content

You can set specific content that will replace the children of a Menu item by using the contentRender property.

Example
View Source
Loading ...

If a component that is rendered inside the content utilizes a popup that is rendered outside the content, the Menu closes the item as soon as the user hovers over the popup. Even if the popup is rendered inside the content, it may still overflow, which will cause the mouse to leave the Menu when the popup is closed.

To avoid the accidental closing of content items:

  1. Set the ids of the content items to the customCloseItemIds property of the Menu.
  2. Provide a Close button.
Example
View Source
Loading ...