NavigationItemV2

A navigation item, holding basic link attributes, extra configuration, and nested navigation items.

Show definition
# A navigation item, holding basic link attributes, extra configuration, and nested navigation items.
type NavigationItemV2 {
  # Sub-navigation items for this navigation.
  children: [NavigationItemV2!]!

  # Flag that indicates if the navigation is disabled or not.
  disabled: Boolean!

  # Extra paths that should be used to not highlight the navigation as selected.
  excludePaths: [String!]!

  # Flag indicating that the store front link must be shown within this navigation.
  hasStorefrontLink: Boolean!

  # The SVG icon body to be displayed as the navigation's icon.
  iconBody: String!

  # The navigation's label to be displayed.
  label: String!

  # Flag indicating that an exact match of the path is required to highlight the navigation.
  matchExactPath: Boolean!

  # Extra paths that should be used to highlight the navigation as selected.
  matchPaths: [String!]!

  # The URL that the navigation points to.
  url: URL!
}

Fields

children   ([NavigationItemV2!]!)

Sub-navigation items for this navigation.

disabled   (Boolean!)

Flag that indicates if the navigation is disabled or not.

excludePaths   ([String!]!)

Extra paths that should be used to not highlight the navigation as selected.

Flag indicating that the store front link must be shown within this navigation.

iconBody   (String!)

The SVG icon body to be displayed as the navigation's icon.

label   (String!)

The navigation's label to be displayed.

matchExactPath   (Boolean!)

Flag indicating that an exact match of the path is required to highlight the navigation.

matchPaths   ([String!]!)

Extra paths that should be used to highlight the navigation as selected.

url   (URL!)

The URL that the navigation points to.