This theme-component might also be a consideration if your looking for header menu with dropdown submenu
Benefit of using an existing component (especially if official or from one of the partners) is that it will likely maintained with less chances of breakage.