Sort of expandable view like the sideMenu in Ionic

Is there a component in Ionic that (just like the sidemenu) expands when you click a button but in my case for example I would be using it for a legend?
this legend is placed next to a map that fills the whole page so I don’t want it to be on the screen all the time therefore i search something like the sidemenu but then without navigating purposes.