Skip to content
EN

MenuList API

The API documentation of the MenuList React component. Learn more about the props and the CSS customization points.

Import

import MenuList from '@material-ui/core/MenuList';
// or
import { MenuList } from '@material-ui/core';

You can learn more about the difference by reading this guide.

Props

Name Type Default Description
autoFocus bool false If true, the list will be focused during the first mount. Focus will also be triggered if the value changes from false to true.
children node MenuList contents, normally MenuItems.
disableListWrap bool false If true, the menu items will not wrap focus.

The ref is forwarded to the root element.

Any other props supplied will be provided to the root element (List).

Inheritance

The props of the List component are also available. You can take advantage of this behavior to target nested components.

Demos