# Margin / Padding

Margin and padding controls are a feature that allows users to adjust the spacing around a flow component. Margins control the space between the component and the surrounding elements, while padding controls the space between the component and its content.&#x20;

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


---

# 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.avonnicomponents.com/flow/component-builder/layout-and-customization/margin-padding.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.
