> For the complete documentation index, see [llms.txt](https://docs.simplebooth.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.simplebooth.com/customization-guide/layout-designer/adding-layers/rectangle.md).

# Rectangle

Rectangle layers let you add simple shapes to your layout for design and structure. They are commonly used as backgrounds, dividers, or accents behind other elements like text and logos.

***

### Customizing Your Shape

Use the [**Inspector**](/customization-guide/layout-designer/layout-designer-overview.md#inspector-panel) to define the color and transparency of your rectangle.

* **Fill Type:** Choose between a solid color or a gradient.
  * **Linear Gradient:** Colors blend in a straight line from one side to the other.
  * **Radial Gradient:** Colors blend outward from a central point.
* **Color Selection:** Set your colors using a hex code or the color picker.
* **Opacity:** Control the transparency of the rectangle. Adjusting opacity is helpful when you want to add structure or contrast without fully blocking background images or other design elements.

***

### Styling & Effects

Use these tabs to refine the look of your rectangle or create custom frames.

{% tabs %}
{% tab title="Border & Radius" %}
Adjust the outline and corner shape of your rectangle:

* **Border:** Set the width and color using a hex code or color picker.
* **Radius:** Adjust the roundness of the corners to create anything from sharp edges to soft, pill-shaped accents.

{% hint style="info" %}
**Tip:** To create a simple frame, set the rectangle’s fill color to fully transparent using the color picker, then add a border.
{% endhint %}
{% endtab %}

{% tab title="Shadow" %}
Add a shadow to create depth or visually separate the shape from the background:

* **Color:** Choose a shadow color and opacity.
* **Blur:** Adjust how soft or sharp the shadow appears.
* **Offset:** Move the shadow's position relative to the rectangle.
  {% endtab %}
  {% endtabs %}

***

{% hint style="success" %}

## **Plan availability**

✅ All plans
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.simplebooth.com/customization-guide/layout-designer/adding-layers/rectangle.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
