Skip to content

MenuList API

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

import MenuList from '@material-ui/core/MenuList';

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 properties supplied will be provided to the root element (List).

Inheritance

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

Notes

The component is fully StrictMode compatible.

Demos