> For the complete documentation index, see [llms.txt](https://docs.thunkable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thunkable.com/~/changes/wHhkjLVeheBnfbpghRnw/stack-navigator.md).

# Stack Navigator

![](/files/-LB2bVTl1dkWWU7uUQkT)

![](/files/-LB2bO8jUdRfcK8n_R8a)

## Stack Navigator Properties

### Set Your Screen Transitions

To enable a Stack transition, you will have to add a Screen navigation block like the one below. You can find the Screen navigation block in the pre-built Control category:

![](/files/-MWYgxZKV1658PjyqXWP)

Screens can Stack from left to right or from top to bottom. You can set the transition style with the Stack property below:

| Property | Description                         | Data Type                                                                                                                                   |
| -------- | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Mode     | Define how your screens will stack. | <p>Select from list:<br><code>card</code> - stacks screens from left to right<br><code>modal</code> - stacks screens from top to bottom</p> |

{% hint style="warning" %}
It is not possible to use blocks to navigate from a screen **outside** of your Stack Navigator to a screen **inside** your Stack Navigator
{% endhint %}

### Hide Your Header

It is possible to hide the Header bar and maintain the Stacking transition by using the Stack property below. Hiding the Header bar will also hide the back button that makes it easier to transition to your original screen

| Property   | Description                                | Data Type                                                                                                                                                                                                                          |
| ---------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| HeaderMode | Define how the header appears in your app. | <p>Select from list:<br><code>float</code> - header floats at the top of the screen and the app content scrolls underneath the header<br><code>screen</code> - header scrolls with the page<br><code>none</code> - hide header</p> |


---

# 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://docs.thunkable.com/~/changes/wHhkjLVeheBnfbpghRnw/stack-navigator.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.
