Create nested MenuItems in various ways.
Components included:
<NestedDropdown />
good for menu bar dropdowns.<ContextMenu />
for a right-click menu.<IconMenuItem />
a menu item which can take start and end icons.<NestedMenuItem />
the actual nested menu component.
This is a JavaScript adaption of NestedMenuItem targeted to work with Material UI version 5.
Demo
Find a demo here: https://mui-nested-menuitem-demo.vercel.app/
This will also serve as the documentation.
Install
Get MUI
npm i @mui/material @emotion/react @emotion/styled
If you want icons
npm i @mui/icons-material
Nested MenuItems
npm i mui-nested-menu