How can I get a top bar with a menu on the side

How can I get a top bar like the one describe on the bottom.
image

Hello Eduardo!

Vaadin enables managing the priority of drawer panel and navigation panel, see: App Layout | Components | Vaadin Docs

In MainView try to use:

@Subscribe
public void onInit(final InitEvent event) {
    getContent().setPrimarySection(AppLayout.Section.NAVBAR);
}

image

You can remove drawer toggle button, but in small screens drawer panel is hidden and won’t be opened without this button.

1 Like

thank you