> For the complete documentation index, see [llms.txt](https://docs.varbase.vardot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.varbase.vardot.com/content-designers/building-pages-with-drupal-canvas/component-catalog/layout-components.md).

# Layout Components

Layout components decide where everything sits on the page and how it rearranges on a phone. Visitors do not see them, only their effect.

## Section

A full-width band of the page, with up to six columns. Most pages are a stack of sections.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-d3a10fe161254797413f4003e3d6821b543abd0e%2Fcanvas-component-section.png?alt=media" alt="A Section with the heading Three-Column Section above three equal boxes side by side"><figcaption><p>A Section With Three Columns</p></figcaption></figure>

* **Use it for**: each part of the page's story, such as an intro, a row of cards or a call to action.
* **Key settings**: **Grid layout (tablet/desktop)** (one column, two equal columns, three columns, or uneven splits such as 75% and 25%), **Container style** (contained, full width or none), **Background edge-to-edge**, **Background color**, **Background image** with an **Image overlay**, **Text color**, **Grid gap**, and padding and margin for each side.
* **Slots**: **Header**, **Column 1** to **Column 6** (only as many as the grid layout shows), and **Footer**.
* **Tip**: put the section title in the **Header** slot, so it spans all columns.

## Row and Column

A **Row** lines up **Column** components side by side, and lets you choose how many sit in a line on phones and on desktops.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-e2ab18e925e6af3bff6707795442bc40fe4e5573%2Fcanvas-component-row.png?alt=media" alt="A Row holding three Columns labelled Column one, Column two and Column three"><figcaption><p>A Row With Three Columns</p></figcaption></figure>

* **Use it for**: grids where the number of items changes, such as logos or team members.
* **Key settings (Row)**: **Columns on mobile** and **Columns on desktop** (items per line), **Grid gap**, **Vertical alignment**, **Horizontal distribution**, **Container**, background and spacing.
* **Slots**: the Row has **Columns**; each Column has **Content**.
* **Tip**: for most pages a **Section** is simpler. Use a Row when you need a different number of items per line on phones.

## Container

A plain wrapper that keeps its content to the page's standard width. It has no visible settings for editors; developers use it inside patterns.

## Group

Stacks items vertically or lines them up horizontally with even spacing, such as two buttons side by side or a row of tags.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-688a8c24daf2265b36d54364acacb9d81deb87e0%2Fcanvas-component-group.png?alt=media" alt="A horizontal Group holding a Save button, a Preview button and a Cancel link on a dark band"><figcaption><p>A Horizontal Group of Actions</p></figcaption></figure>

* **Key settings**: **Direction** (vertical stack or horizontal row), **Space between items**, **Wrap items**, **Vertical alignment**, **Horizontal distribution**, background, padding, margin and **Border radius**.
* **Slots**: **Content**.

## Spacer

Adds vertical space between components. **Key setting**: **Spacing size**, from none to extra large. Prefer the padding settings of a **Section**; use a spacer only for a one-off gap.

## Divider and Divider Vertical

A horizontal line between blocks of content, or a vertical line between two columns that stretches to their full height.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-05fc5279121d671a57418388e47cecc330d2c920%2Fcanvas-component-divider-vertical.png?alt=media" alt="A vertical divider line between the words Left content and Right content"><figcaption><p>A Vertical Divider Between Two Columns</p></figcaption></figure>

* **Key settings**: **Thickness**, **Border color**, **Opacity**, and the spacing on each side.

## Anchor

An invisible marker you can link to from the same page, such as a "Pricing" link that jumps down to the pricing section.

* **Key setting**: **ID for in-page link**, in lowercase letters, numbers and hyphens, such as `pricing`. Link to it with `#pricing`.
