How to make submenus on a navbar?

Hey, anyone know what’s the best way to make submenus on a navbar?

I was thinking making it in the Hover for the navbar button component but unsure if there’s a better way