# Structuring the design: the layer hierarchy

Every app screen in your design file should be organized into the 3 levels described below. This is how Bravo can read and properly display your design. If you don't have this hierarchy, certain elements may look different or not show up in your app project.

## The Layer Hierarchy

Each level is inside ("nested" within) the level above.

* **Top-level layer:** always the **app page** component.
* **Second-level layer**: always a [**container**](/set-up-design/setting-up-your-design-file/the-container.md) component.
* **Third-level layer**: all the **UI elements** (text, shape, image, etc.)

![](/files/dX1uwfarguFYxBYOD4tv)


---

# 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.bravostudio.app/set-up-design/setting-up-your-design-file/structuring-the-design-the-layer-hierarchy.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.
