Skip to main content

Menu

The Menu component displays a list of choices on a temporary surface. The user must interact with a button or another control to display a menu.

Style Attributes​

NameTypeDefaultDescription
anchorOriginHorizontalleft
right
center
string
leftDefines the horizontal anchor position of the menu.
anchorOrigninVerticaltop
center
bottom
string
topDefines the vertical anchor position of the menu.
transformOriginHorizontalleft
center
right
string
leftSpecifies a transformation on the horizontal anchor position.
transformOriginVerticaltop
center
right
string
topSpecifies a transformation on the vertical anchor position.
elevationinteger4Specifies a shadow applied to the surface, making the menu appear raised above the surface. Valid values are 0-24.

For more detail on the Menu component, see the MUI developer docs.

on this page