Menu
Represents a navigational menu containing a list of links, typically used for site navigation structures such as main menus or footers.
Type Definition
type Menu {
handle: String
levels: Int
links: [Link]
title: String
}Fields
Relationships
The Menu type contains a list of Link objects through its links field. Each Link within the menu can have its own child links, creating a hierarchical navigation structure. This allows for the representation of multi-level menus with nested categories or sections.
Example
query {
menu(handle: "main-menu") {
handle
levels
title
links {
handle
title
url
}
}
}Implements
None