> For the complete documentation index, see [llms.txt](https://help.appybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.appybuilder.com/components/reference/effects/decoration.md).

# Decoration

&#x20;Decoration is a non-visible component that allows you to change decoration (appearance) (e.g. Padding) of any of the Visible components.

**SetMargin block.** This block allows you to set the margin for a visible component (e.g. Label, Button, etc). The Margin is the distance from the other visible components. For values, use a Text block and enter values for top, left, bottom right in CSV format. Example formats are as follows:

* 10,5,10,5 - for top=10, left=5, bottom=10, right=5&#x20;
* 10,5 - same as above, but shorthand version
* 10 - means same value for all top, left, bottom, right

![](/files/-LGcW3K4zXG4Avh34N-0)

**SetPadding block**. This block allows you to set the gap around the component. It is the space inside the border, between the border and the actual content. For values, use same formats as SetMargin (above) can be used

![](/files/-LGcYcVUCHKkVQQjKzbJ)

SetShape block. This block allows you to create a rectangle or round shape for the visible component. It also allows you to change its background and border color. isRound allows you to make the component appear as rectangle (false) or round / oval (true).

![](/files/-LGcZ29WvSdIdqeQNlVF)


---

# 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://help.appybuilder.com/components/reference/effects/decoration.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.
