Nav Item

A single navigation item that can link to a page or contain sub-navigation.

_bookshop_name: navigation/nav-root
navBlocks:
  - _bookshop_name: navigation/nav-list
    navBlocks:
      - _bookshop_name: navigation/nav-item
        href: /
        label: Home

Properties

href string

The URL that the navigation item should link to.

label string

The text label for the navigation item.

defaultOpen string | default: false

Whether the dropdown should be open by default (for items with children).

navBlocks string | default: array