negomi / react-burger-menu

:hamburger: An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations
http://negomi.github.io/react-burger-menu/
MIT License
5.04k stars 582 forks source link

Dropdown Menu inside burger Menu options #466

Closed santhoshkm2021 closed 2 years ago

santhoshkm2021 commented 2 years ago

Hi , Is there any way to build a dropdown menu or a submenu inside a basic react-burger-menu. can you please help me out

negomi commented 2 years ago

Hi @santhoshkm2021, react-burger menu is really just a sidebar container, so you can put anything you want in it.

If you were looking for a package that supports multilevel nested menus out of the box, it looks like there are a few others that support it, e.g. https://www.npmjs.com/package/react-sidenav

Or this one, which you might be able to use inside react-burger-menu: https://github.com/gholme4/react-nested-menu

Good luck!