I want to customize this items shown in my menu. Add more items and remove some.
It was easier to deal with this in vaadin 23.x. Im trying to explore 24.x features.
I still don’t understand your concerns. The source code shown above automatically populates the menu based on the available views / routes - if you don’t like it. Don’t use it. See AppLayout with SideNav - #2 by Leif
The MenuConfiguration is built on the @Menu annotation from your views. That is mainly intended for first steps to have a side navigation built automatically.
However you can create the side navigation manually without any usage of MenuConfiguration (which is what most applications will do later on)