The best way at the moment is to add this code to your Theme (or make your own Theme Component) based upon this (or the post below it):
I had a go at packaging this into its own configurable Theme Component based on the Hamburger Links TC but I got stuck on getting the variables from a list into the code. I’m sure someone more clever than I could do it in a few minutes!