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
Name | Type | Default | Description |
---|---|---|---|
anchorOriginHorizontal | left right center string | left | Defines the horizontal anchor position of the menu. |
anchorOrigninVertical | top center bottom string | top | Defines the vertical anchor position of the menu. |
transformOriginHorizontal | left center right string | left | Specifies a transformation on the horizontal anchor position. |
transformOriginVertical | top center right string | top | Specifies a transformation on the vertical anchor position. |
elevation | integer | 4 | Specifies 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.