> For the complete documentation index, see [llms.txt](https://docs.bravostudio.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bravostudio.app/set-up-design/setting-up-your-design-file/the-container/setting-up-a-container-on-adobe-xd.md).

# Setting up a container on Adobe XD

## 🏗 How do I create a container? <a href="#how-do-i-create-a-container" id="how-do-i-create-a-container"></a>

&#x20;   1\. Select the **Rectangle** tool.

![](/files/HLdYsP0Fv6NKjoA4ONvM)

&#x20;  2\. Start from the left side of the app page frame and drag to the right side of the page, creating a rectangle that covers the area of the UI elements for the container.

{% hint style="info" %}
Rename it to "**area**" (if you'd like) to identify the purpose of the rectangle. The rectangle is used to create padding around the elements. Otherwise, the first element of the group will jump to the top left corner of the page.
{% endhint %}

![](/files/aOw3bXiOidSTnNCMTW1M)

&#x20;  3\. **Group** `command/ctrl + G` the elements and the rectangle "area" together.

&#x20;  4\. Add the Tag `[container]`to the name of the group layer.

![](/files/EWYO9Euz3ID9YtIhMhgL)

In addition to containers, you need to create the same "area" for any elements that require an interaction area bigger than the element itself. (i.e. a back arrow icon on its own might be too small for the user to tap).


---

# 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.bravostudio.app/set-up-design/setting-up-your-design-file/the-container/setting-up-a-container-on-adobe-xd.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.
