This gist allows you to implement a material drawer easily for your projects. It consists of three files:
- PageDrawer.qml The drawer itself, with an icon viewer, a list view and some hacks to execute the actions/functions assigned to each drawer item
- DrawerItem.qml Which can act as an action, a spacer, a separator or a link
- SvgImage.qml Ugly hack to make SVG images look crisp and smooth on HDPI screens
This code is released under the WTFPL, for more information click here.