# mui-cascade-menu

> This package is a beta version of the cascade-menu for the mui. Please make sure you have installed mui package first!

Latest version **0.0.2** (published 2023-05-05) · 0 weekly downloads

## Install

```sh
npm install mui-cascade-menu
pnpm add mui-cascade-menu
yarn add mui-cascade-menu
bun add mui-cascade-menu
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2023-05-05 |
| First published | 2023-05-05 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 18 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | alexflok |

## Links

- npm: https://www.npmjs.com/package/mui-cascade-menu
- npm.io page: https://npm.io/package/mui-cascade-menu

## Dependencies (18)

- [dayjs](https://npm.io/package/dayjs.md) ^1.11.7
- [react](https://npm.io/package/react.md) ^18.2.0
- [react-dom](https://npm.io/package/react-dom.md) ^18.2.0
- [typescript](https://npm.io/package/typescript.md) ^4.9.5
- [web-vitals](https://npm.io/package/web-vitals.md) ^2.1.4
- [@types/jest](https://npm.io/package/@types/jest.md) ^27.5.2
- [@types/node](https://npm.io/package/@types/node.md) ^16.18.14
- [@types/react](https://npm.io/package/@types/react.md) ^18.0.28
- [@mui/material](https://npm.io/package/@mui/material.md) ^5.11.11
- [react-scripts](https://npm.io/package/react-scripts.md) 5.0.1
- [@emotion/react](https://npm.io/package/@emotion/react.md) ^11.10.6
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) ^11.10.6
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) ^18.0.11
- [@mui/x-date-pickers](https://npm.io/package/@mui/x-date-pickers.md) ^6.0.0
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.4.0
- [@mui/x-date-pickers-pro](https://npm.io/package/@mui/x-date-pickers-pro.md) ^6.0.0
- [@testing-library/jest-dom](https://npm.io/package/@testing-library/jest-dom.md) ^5.16.5
- [@testing-library/user-event](https://npm.io/package/@testing-library/user-event.md) ^13.5.0

## Recent versions

- 0.0.2 (latest) — 2023-05-05

## README

# Instructions

This package is a beta version of the cascade-menu for the mui.
Please make sure you have installed mui package first!

# Example

```const Example1: FC = () => {
const menu = [
{
key: '1',
itemContent: () => <Box p={1}>Test 1</Box>,
},
{
key: '2',
itemContent: () => <Box p={1}>Test 2</Box>,
},
{
key: '3',
itemContent: () => <Box p={1}>Test 3</Box>,
subMenu: {
items: [
{
key: '5',
itemContent: () => <Box p={1}>Sub Item 2</Box>,
},
],
spacing: '0px 0px 0px 15px',
},
},
];
return (
<>
<CascadeMenu
triggerElement={<>Menu</>}
menu={menu}
rootIdName='root'
customStyle={{ menuBox: { borderRadius: 0 } }}
/>
</>
);
};

export default Example1;
```

---
_Source: https://npm.io/package/mui-cascade-menu · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
