Interface NavSlots


public interface NavSlots
The full set of named locations AppNavLayout has for nav-item content. Every NavRenderer sees this same shape regardless of which location it renders for; an implementation is free to populate whichever slots are relevant to it and ignore the rest.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.flow.component.HasComponents
    The desktop nav location, inside the drawer.
    com.vaadin.flow.component.HasComponents
    The shared drill-down location for nested routes, shown alongside sideRail() or touchBar() — or beneath tabStrip()'s own row under NavType.HEADER.
    com.vaadin.flow.component.HasComponents
    The tablet nav location (both orientations, by default), the left-edge rail.
    com.vaadin.flow.component.HasComponents
    The header nav location (NavType.HEADER only), a primary tab strip spanning the header alongside the brand and user content.
    com.vaadin.flow.component.HasComponents
    The phone nav location, the bottom bar.
  • Method Details

    • drawer

      com.vaadin.flow.component.HasComponents drawer()
      The desktop nav location, inside the drawer.
    • sideRail

      com.vaadin.flow.component.HasComponents sideRail()
      The tablet nav location (both orientations, by default), the left-edge rail.
    • touchBar

      com.vaadin.flow.component.HasComponents touchBar()
      The phone nav location, the bottom bar.
    • headerNav

      com.vaadin.flow.component.HasComponents headerNav()
      The shared drill-down location for nested routes, shown alongside sideRail() or touchBar() — or beneath tabStrip()'s own row under NavType.HEADER. Distinct from the per-view header slot used by HasViewHeaderTitle/ HasViewHeaderComponent.
    • tabStrip

      com.vaadin.flow.component.HasComponents tabStrip()
      The header nav location (NavType.HEADER only), a primary tab strip spanning the header alongside the brand and user content.