---
url: https://gudhub.com/ru/docs/ssr-ssg/website/configs/menu-config/
title: "Menu Config\n                #"
description: "The menuConfig defines the structure and properties of the website's navigation menu, including links, submenus, and branding elements. Each object in the array"
lang: uk
updated: 2026-09-12T09:35:38.957Z
---

# Menu Config [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/menu-config/#menu-config)

The `menuConfig` defines the structure and properties of the website's navigation menu, including links, submenus, and branding elements.

## Structure of menuConfig [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/menu-config/#structure-of-menuconfig)

Each object in the array represents a language-specific menu configuration with the following properties:

### **Properties** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/menu-config/#properties)

| **Property Name** | **Type** | **Description** |
| :-- | :-- | :-- |
| `langCode` | `string` | Language code (e.g., 'uk' for Ukrainian). |
| `defaultLang` | `boolean` | Indicates if this is the default language configuration. |
| `homepageLink` | `string` | URL for the homepage link. |
| `logoImage` | `string` | Information about the website's logo. |
| `menu` | `array` | Array of menu items and their corresponding submenus. |

---

### **Submenu Structure (menu Property)** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/menu-config/#submenu-structure-menu-property)

| **Property Name** | **Type** | **Description** |
| :-- | :-- | :-- |
| `name` | `string` | Display name of the menu item. |
| `link` | `string` | URL the menu item links to. |
| `childs` | `array` | Optional; defines the submenu items as an array of objects with name and link. |

---

### **Logo Structure (logoImage Property)** [#](https://gudhub.com/ru/docs/ssr-ssg/website/configs/menu-config/#logo-structure-logoimage-property)

| **Property Name** | **Type** | **Description** |
| :-- | :-- | :-- |
| `src` | `string` | Path to the logo image file. |
| `alt` | `string` | Alternate text for the logo image (for accessibility). |
| `title` | `string` | Tooltip text displayed when hovering over the logo. |

Копировать

```javascript
export const menuConfig = [
    {
        langCode: 'string',
        defaultLang: boolean,
        homepageLink: 'string',
        logoImage: {
            src: "string",
            alt: "string",
            title: "string"
        },
        menu: [
            { 
                name: 'string', 
                link: 'string',
                childs: [
                    {
                        name: 'string', 
                        link: 'string'
                    },
                ]
            },
        ]
    }
];
```
