You could use one of the following widgets:
https://marketplace.mendix.com/link/component/118929
or
https://marketplace.mendix.com/link/component/113773
Otherwise you will need to use the one from the layout. You can toggle the one from the layout from a nanoflow aswell btw in case you dont want to use the toggle button itself. There is a javascript action in the Nanoflow Commons module called ToggleSidebar you can use for that.
Like Hunter showed with examples you can checkout the existing marketplace widgets. But if you think about it, Drawer is nothing but a Full page Overlay Modal which appears from sides!
So assuming you have a button to togger a boolean field you can control the SHOW/HIDE feature of a Container widget. Now in the CSS you could perhaps make it appear slow or appear in a drawer like manner easily by targetting the Containers Classname. See this sidenav example from W3Schools (https://www.w3schools.com/howto/howto_js_sidenav.asp)