Minimize container?

Hi there,

is there a way to minimize panels? so instead of using a model I have a normal container with some stuff inside of it, and while I don't use it, it's minimizes (maybe to just a headline) and when I do use it I can press a button and it extends.

I could use a modal, but sometimes I want to keep that panel open for a few minutes while I do other things in the software and for it not to be too crowded I thought a minimize function would be cool?

thank you!