Reuse Discourse Hamburger Functionality

haha by coincidence I am looking at exactly the same thing too. I think the best way is to reopen the hamburger-menu widget and override the html method.

I will unshift my widget in front of the faq thingy. I didnt check if it works, but that will be my approach :smiley:
Here it seems to work

  api.reopenWidget("hamburger-menu", {

      html() {
        let conti = this.panelContents()
        conti.unshift(h('div',[h('span','blabla description: '),this.attach('widget-dropdown',
  {id: "from", translatedLabel: "bla",onChange: "changeaction",
  content: [
      { id: 1, label: "foo.bar" },
      { id: 2, translatedLabel: "FooBar" },
      { id: 3, label: "foo.baz", icon: "times" },
      { id: 4, html: "<b>foo</b>" },
    ],
    options: {bodyClass: "lang-drop-body"}
  })]))
        return this.attach("menu-panel", {
          contents: () => conti,
          maxWidth: this.settings.maxWidth
        });
      },
  });

I added a dropdown for example.
cheers