> ## Documentation Index
> Fetch the complete documentation index at: https://docs-loja.usecorvex.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# menu

> Field type menu — handle de menu de navegação da loja.

# `menu`

| | |
| - | - |
| **type** | `menu` |
| **Valor salvo** | `string` — **handle** do menu (ex.: `"main"`, `"footer"`) |
| **Obrigatório** | `id`, `type` |

## Propriedades OPTIONAL

`default`, `options`, `info`

Com `options` estático, o Editor usa a lista fixa. Sem `options`, busca menus do rascunho da loja no Editor.

## Exemplo (header)

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "menu",
  "type": "menu",
  "label": "Menu principal",
  "default": "main"
}
```

## Runtime

A section recebe o **handle** do menu. Resolva links no runtime via storefront:

```jsx theme={"theme":{"light":"github-light","dark":"github-dark"}}
settings.menu // "main"
```

O objeto completo do menu (links aninhados) **não** é injetado automaticamente no `settings` — use a API de menus do SDK/storefront com o handle salvo.

## Nullable

O Editor permite limpar a seleção (`null`). Trate menu ausente na section com fallback ou lista vazia.

## Onde usar

* Header/footer sections (`header-nav`, `footer`)
* Qualquer `settings[]` que precise referenciar um menu configurado no painel Corvex


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.