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

# Menu and @nav

> How to change the order, name, icon and group of Dev panel items and put new functions in the menu.

The Dev panel menu is the `nav` list in `painel-dev/painel.json`. Each item points to a function with `@nav`:

| Mark | Points to |
| - | - |
| `@core:<id>` | A built-in function |
| `@fn:<id>` | One of your functions, from `painel-dev/funcoes/<id>/` |

## Item fields

| Field | Type | Rule |
| - | - | - |
| `@nav` | text | Required. `@core:<id>` or `@fn:<id>`, no repeats |
| `label` | text | Up to 40 characters or `@t.key` |
| `icon` | text | A name from the [icon list](https://docs.doglytdc.dev/en/scripts/dev-panel/translations-and-validation.md#icons) |
| `group` | text | Group title, up to 32 characters or `@t.key` |
| `position` | integer | 1 to 999. Lower goes higher |

Any other field is refused. `hidden`, `remove` and `delete` cause an error: **no menu function can be deleted here**.

## Built-in functions

| `@core:` | Default name | Icon | Group | Position |
| - | - | - | - | - |
| `home` | Home | `home` | Overview | 10 |
| `code` | Code | `code` | Overview | 20 |
| `releases` | Releases | `rocket` | Distribution | 30 |
| `installations` | Installations | `monitor` | Distribution | 35 |
| `users` | Users | `users` | People | 40 |
| `sales` | Sales | `wallet` | People | 50 |
| `discord` | Discord bot | `bot` | Integrations | 55 |
| `api` | MCP and API | `bot` | Integrations | 60 |
| `webhook` | Webhook | `webhook` | Integrations | 70 |
| `backend` | Functions | `server` | Advanced | 80 |
| `config` | Settings | `settings` | Advanced | 90 |
| `translations` | Translations | `languages` | Advanced | 95 |

`installations` only shows on scripts installed on a computer or phone; `discord`, only on Discord bots.

## Examples

### Move Sales right after Home

```json painel-dev/painel.json theme={null}
{
  "nav": [
    { "@nav": "@core:sales", "label": "Revenue", "icon": "trending", "position": 15 }
  ]
}
```

Items you don't list stay at their defaults.

### Put one of your functions in the menu

A function already places itself in the menu through the `@nav` in `funcao.json`. Use `painel.json` only to move it later:

```json painel-dev/painel.json theme={null}
{
  "nav": [
    { "@nav": "@fn:avisos", "group": "People", "position": 45 }
  ]
}
```

### Create a new group

Just use the same `group` on more than one item:

```json painel-dev/painel.json theme={null}
{
  "nav": [
    { "@nav": "@core:sales", "group": "@t.group.money", "position": 41 },
    { "@nav": "@fn:avisos", "group": "@t.group.money", "position": 42 }
  ]
}
```

And the translation, in each language:

```json painel-dev/traducoes/en.json theme={null}
{ "@lang": "English", "group.money": "Money" }
```

## Final order

1. Lowest `position` first.
2. Tie: the built-in function comes before yours.
3. Tie between two of yours: alphabetical order of the id.

Your functions without `group` go to the **Panel functions** group.

## Address of each item

Each item opens with the same tab system as the Dashboard: `?tab=<id>`. A function in `funcoes/cupons/` opens at `?tab=cupons`; the browser's Back button returns to the previous tab.


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