# Navigation

Navigation is handled with [React Navigation](https://reactnavigation.org). Out-of-the-box, there are three navigation patterns to get you started:

1. Stack (views stack on top of each other with a back swipe)
2. Bottom nav (bottom nav icon buttons to instantly switch between views)
3. [Drawer](/gravity-native/components/nav.md#drawer) (sliding nav from the left side)

{% hint style="info" %}
You can find a full working example of the navigation in `router.js`
{% endhint %}

There are other stack varieties available if you need the please refer to the [React Navigation](https://reactnavigation.org) documentation for more information.

You can create as many different combinations of stacks with as many views in them as you need. Simply wrap all the stacks inside a container.


---

# Agent Instructions: 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:

```
GET https://docs.usegravity.app/gravity-native/navigation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
