> For the complete documentation index, see [llms.txt](https://tgtaps.gitbook.io/tgtaps-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgtaps.gitbook.io/tgtaps-docs/features/navigation.md).

# Navigation

Apps can contain many pages. A user can navigate between them via hash links. They can be inserted into text, blocks, images and buttons.

## Content

* [How to navigate between pages?](#how-to-navigate-between-pages)
* [How to create menu in the app?](#how-to-create-menu-in-the-app)
* [How to fix menu bottom overflow?](#how-to-fix-menu-bottom-overflow)

## How to navigate between pages?

To move to another page:

1. Add any block that can contain links:<br>

   <figure><img src="/files/SWKoBv3uK7lKSlatZE2e" alt=""><figcaption></figcaption></figure>
2. Open another page via the “pen” button:

<figure><img src="/files/LLWFnvdcWwhH37vjdNwD" alt=""><figcaption></figcaption></figure>

3. Click on the page ID (it will be copied):

   <figure><img src="/files/kxdKTaoNkhWRhnFbVG0W" alt=""><figcaption></figcaption></figure>
4. Insert page ID to the button (or text, or block) URL field:

<figure><img src="/files/297CETUk5GLG79xV9vC8" alt=""><figcaption></figcaption></figure>

## How to create menu in the app?

Please look in the video:

{% embed url="<https://www.youtube.com/watch?ab_channel=TgTaps&v=EeL8Mw_lG8M>" %}

Please draw your attention:

* If you have 5 buttons, you need to set 19% of the screen width for buttons. In this case, buttons will have spaces between themselves. So do not set 100% to all buttons, you need to have empty space.
* Container should be set to “distribute items between”:

  <figure><img src="/files/LI9pZxXASQETO5kFE1NM" alt=""><figcaption></figcaption></figure>
* You need to set link to another page to button's container, image and text, because the user can tap to any of these elements.

## How to fix menu bottom overflow?

In case, if the menu overflows elements:

<figure><img src="/files/45zilrlG4xN2QRCPAhp5" alt=""><figcaption></figcaption></figure>

You need to add the empty block below:

<figure><img src="/files/kuX7tRC7M0XOi0pW9IJn" alt=""><figcaption></figcaption></figure>

***

Something unclear in docs or you know how to improve article? [Message us in community!](https://docs.tgtaps.com/tgtaps-docs/readme/community)\
We will answer you and then promise to improve the article within 3 days.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tgtaps.gitbook.io/tgtaps-docs/features/navigation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
