
This article describes how to configure the header’s menus.
The header’s menus maximum depth is limited up to two levels.
The main is taken as the header’s menus set identifier.
| Parameter | Type | Description |
|---|---|---|
header | string | The header of dropdown menus, available on top level menu only. |
divider | boolean | Show the divider if true. |
description | string | The description for sub menus only. |
icon | object | The icon parameters. |
icon.vendor | string | The icon’s vendor, required. |
icon.name | string | The icon’s name, required. |
icon.color | string | The icon’s color. |
See also Menus Configuration.

The example above use the Bootstrap icons, if the icons do not show up, please check if you’ve installed/imported the following module.
hugo.toml
1[module]
2[[module.imports]]
3 path = 'github.com/razonyang/hugo-mod-icons/vendors/bootstrap'
hugo.yaml
1module:
2 imports:
3 - path: github.com/razonyang/hugo-mod-icons/vendors/bootstrap
hugo.json
1{
2 "module": {
3 "imports": [
4 {
5 "path": "github.com/razonyang/hugo-mod-icons/vendors/bootstrap"
6 }
7 ]
8 }
9}
The Bootstrap icons and other icons vendors can be found on Hugo Icons Module.