Demo Drawer/Sidebar - Material UI with React


Looking at React code of this demo looks a bit intemidating to me.

I want to put a component inside of the element that is being collapsed after the click not a navbar.

have you read through the documentation here?

I did but maybe it’s just that I am blind and it doesn’t explain it with further details…

ohhhh, I think you are looking for something more like the collapse transition

The drawers are more specifically for navigation/menus

No, that not was I was looking for.

You want to have a drawer that slides in and out, but instead of a navigation menu you want another react component?

I have already did that but I have now problems with CSS Transition.