An open API service indexing awesome lists of open source software.

https://github.com/codebrahma/react-responsive-multi-level-menu

React component for a space-saving drop-down menu with subtle effects
https://github.com/codebrahma/react-responsive-multi-level-menu

menubar npm-package react react-menubar

Last synced: 7 months ago
JSON representation

React component for a space-saving drop-down menu with subtle effects

Awesome Lists containing this project

README

          

# react-responsive-multi-level-menu

A react library which provides flexible and cool animated menubar with an easy to use API and a bunch of awesome features . Give it a try and you will love it for sure.

demo

## Install

```bash
npm install --save react-responsive-multi-level-menu
```

## Usage

### 1.Define the data

* Define the data(menu items) as per the given format , which you want to render in the Menubar.

```js
const menuItems = [
{ value: "Fashion",
items: [
{ value: "Men",
items: [{ value: "Shirts" }]
}
]
},
{ value: "Electronics"},
{ value: "Furnitures"},
{ value: "Jewelery&watches", items: [] }
];
export default MenuItems;

```

### 2. Use the Menubar component anywhere in your code

Use the Menubar component anywhere and pass the props.

```js

import Menubar from "react-responsive-multi-level-menu";
import MenuItems from "../path/where/menuItems/present";
import "./styles.css"

const app = () => {

const animation=['slideIn' , 'slideOut']


This is Animated Menu-bar



;
};

```

## Guide And Documentation

For the complete documentation . Click here.

## Live Preview

Demo is worth thousand words