--- title: MenuProps description: "Learn how to build custom functionality when working with the React Layout by Kendo UI with the help of the MenuProps." api_reference: true type: inner_api slug: api_layout_menuprops --- # MenuProps The properties of the [KendoReact Menu component](https://www.telerik.com/kendo-react-ui/components/layout/menu).
Name Type Default Description
#### animate? boolean | PopupAnimation true Controls the Popup animation. ```jsx ```
#### children? React.ReactNode Sets the Menu items declaratively. ```jsx ```
#### className? string Adds a custom className to the Menu top element. ```jsx ```
#### customCloseItemIds? string[] Sets the ids of the Menu items that will not be closed on mouse-leave. The ids are hierarchical and zero-based. The first root item has a `0` id. If the first root item has children, the first child item acquires a `0_0` id and the second acquires a `0_1` id. ```jsx ```
#### dir? string Sets the direction of the Menu. ```jsx ```
#### hoverCloseDelay? number 100 Specifies the delay in milliseconds before the Menu items are closed on item mouse-leave ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/open-close#toc-delay-on-hover)). ```jsx ```
#### hoverOpenDelay? number 100 Specifies the delay in milliseconds before the Menu items are closed on item mouse-leave ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/open-close#toc-delay-on-hover)). Used to avoid accidental closure on leaving. ```jsx ```
#### id? string Sets the ID of the Menu. ```jsx ```
#### itemRender? any A React functional or class component which is used for rendering the innermost part of the Menu item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/rendering#toc-items)). By default, the innermost item part includes only the text for the item. ```jsx const CustomItem = (props) =>
{props.text}
; ```
#### items? [MenuItemModel]({% slug api_layout_menuitemmodel %})[] Sets the Menu items. ```jsx const items = [{ text: 'Item 1' }, { text: 'Item 2' }]; ```
#### linkRender? any A React functional or class component which is used for rendering the link of the item ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/items/rendering#toc-links)). The item link is a part of the visual representation of the item which, by default, includes an arrow, icon, and text. ```jsx const CustomLink = (props) => {props.text}; ```
#### onClose? (event: [MenuCloseEvent]({% slug api_layout_menucloseevent %})) => void Fires when a Menu item is closed. ```jsx console.log('Item closed:', event.item.text)} /> ```
#### onSelect? (event: [MenuSelectEvent]({% slug api_layout_menuselectevent %})) => void Fires when a Menu item is selected. ```jsx console.log(event.item.text)} /> ```
#### openOnClick? boolean false If `openOnClick` is set to `true`, the items are opened on mouse hover only after an initial click. ```jsx ```
#### style? React.CSSProperties Sets additional CSS styles to the Menu. ```jsx ```
#### vertical? boolean false Specifies whether the Menu will be vertical ([see example](https://www.telerik.com/kendo-react-ui/components/layout/menu/vertical)). ```jsx ```
#### webMcp? boolean | WebMcpProps Enables Web MCP tool registration for this component. Requires a parent `WebMcpProvider` from `@progress/kendo-react-webmcp`.