Tagging @pkrishna – this might be a good guide/recipe, or maybe a part of the tutorials …
I just researched it and the only two places that mention the <uxp-panel>
element (based on a Google search) are another thread in this forum and @Jarda 's Alchemist plugin source code…