---
title: Layout and containers
project: CMS
version: 1.0
section: widgets
language: en
license: MIT
url: https://totaljs.es/docs/cms/1-0/widgets/layout/
updated: 2026-11-20T06:51:42.966Z
---

# Layout and containers

> Widgets that arrange other widgets in boxes, columns and spaces.

Widgets that arrange other widgets: boxes, columns, containers and spaces. Most of them have an empty area that holds other widgets. To fill it, click the area in the visual editor and choose **Add a widget**.

The columns sit side by side on wide screens and one below the other on small screens.

## API

### box.html

Type: `component`

A light grey box that holds other widgets.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `rounded` | `Boolean` | no | `true` | **Rounded**: rounded corners. |
| `padding` | `Boolean` | no | `true` | **Padding**: space inside the box. |

The box has an area for widgets inside. Use **Change attributes** on the box to change its background or other styles.

### columns100.html

Type: `component`

One area across the full width that holds other widgets.

Use it to group widgets, for example to give them common attributes with **Change attributes**.

### columnshalfs.html

Type: `component`

Two columns of the same width, each one holds other widgets.

Each column is an empty area for widgets.

### columnsthirds.html

Type: `component`

Three columns of the same width, each one holds other widgets.

Each column is an empty area for widgets.

### container.html

Type: `component`

A centred area with the standard page width that holds other widgets.

The area uses the `container` class of the layout, which limits its width on large screens.

### vcontainer.html

Type: `component`

An area with a minimum and a maximum width that holds other widgets.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `min` | `String` | no | `200px` | **Min. width**: the smallest width of the area. |
| `max` | `String` | no | `70%` | **Max. width**: the largest width of the area. |

Enter the widths in pixels or percentages, such as `300px` or `50%`. Until you apply the settings for the first time, the area has a minimum width of `350px`.

### gradient.html

Type: `component`

A box with a gradient background that holds other widgets.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `background` | `String` | no | `color1` | **Choose a gradient swatch**: the gradient, from `color1` to `color30`. |
| `rounded` | `Boolean` | no | `true` | **Rounded**: rounded corners. |
| `padding` | `Boolean` | no | `true` | **Padding**: space inside the box. |

Choose one of 30 gradient swatches in the settings.

### emptyspace.html

Type: `component`

Vertical space between other widgets.

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `count` | `Number` | no | `1` | **Count**: the height in steps of 20 pixels, from 1 to 100. |

Each step of **Count** adds 20 pixels of height.

### line.html

Type: `component`

A horizontal line that separates content.

The widget has no settings.
