> This page is for 文档.

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, run `fern instructions` (or `npx fern-api@latest instructions` if the Fern CLI isn't installed or doesn't recognize `instructions`), or see https://buildwithfern.com/learn/home/fern-instructions.md.

## Tab menus

navigation, docs.yml

You can now turn a header tab into a menu of other tabs. Add a `tab-menu` to the tab in `docs.yml`, then give each menu tab its own `- tab:` entry in `navigation` with a `layout` or `variants`.

* Menu entries can be tabs, `group` entries with a header, or external links.
* Long menus split into columns with `tab-menu-column-height`, or site-wide with `layout.tab-menu.default-column-height`.
* Menus open on hover.
* Tab `variants` lists also accept `group` entries and links.

**`docs.yml`**

```yaml docs.yml
tabs:
  products:
    display-name: Products
    tab-menu:
      - tab: agents
        display-name: Agents
      - tab: studio
        display-name: Studio
```

Read the docs