[
  {
    "name": "title",
    "type": "string",
    "required": true,
    "description": "The title of the secondary navigation."
  },
  {
    "name": "headingLevel",
    "type": "number",
    "required": true,
    "description": "The heading level which represents an element from `<h1>` through to `<h6>`."
  },
  {
    "name": "visuallyHideHeading",
    "type": "boolean",
    "required": false,
    "description": "If `true`, hide the secondary navigation heading.",
    "default": false
  },
  {
    "name": "items",
    "type": "array",
    "required": true,
    "description": "A list of navigation items.",
    "params": [
      {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "The text of the navigation item."
      },
      {
        "name": "href",
        "type": "string",
        "required": true,
        "description": "The URL of the navigation item."
      },
      {
        "name": "current",
        "type": "boolean",
        "required": false,
        "description": "If `true`, highlight the navigation item as the current page.",
        "default": false
      }
    ]
  },
  {
    "name": "noBottomBorder",
    "type": "boolean",
    "required": false,
    "description": "If `true`, hide the bottom border of the secondary navigation. This can be useful when the secondary navigation is placed at the bottom of a coloured block.",
    "default": false
  },
  {
    "name": "overflow",
    "type": "boolean",
    "required": false,
    "description": "If `true`, enable horizontal scrolling for the secondary navigation when the list of items becomes too long.",
    "default": false
  },
  {
    "name": "noUnindentation",
    "type": "boolean",
    "required": false,
    "description": "If `true`, don't apply 'unindentation' to the secondary navigation. Used for when the secondary navigation is placed inside a nested container.",
    "default": false
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the secondary navigation."
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the secondary navigation."
  }
]
