Spanish Total.js
English
Documentation For AI agents
Contents

Layout and containers

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

.md GitHub
On this page

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

component

box.html

A light grey box that holds other widgets.
ParameterTypeDescription
rounded? Boolean Rounded: rounded corners. Default: true
padding? Boolean Padding: space inside the box. Default: true

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

component

columns100.html

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.

component

columnshalfs.html

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

Each column is an empty area for widgets.

component

columnsthirds.html

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

Each column is an empty area for widgets.

component

container.html

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.

component

vcontainer.html

An area with a minimum and a maximum width that holds other widgets.
ParameterTypeDescription
min? String Min. width: the smallest width of the area. Default: 200px
max? String Max. width: the largest width of the area. Default: 70%

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.

component

gradient.html

A box with a gradient background that holds other widgets.
ParameterTypeDescription
background? String Choose a gradient swatch: the gradient, from color1 to color30. Default: color1
rounded? Boolean Rounded: rounded corners. Default: true
padding? Boolean Padding: space inside the box. Default: true

Choose one of 30 gradient swatches in the settings.

component

emptyspace.html

Vertical space between other widgets.
ParameterTypeDescription
count? Number Count: the height in steps of 20 pixels, from 1 to 100. Default: 1

Each step of Count adds 20 pixels of height.

component

line.html

A horizontal line that separates content.

The widget has no settings.

Made in Europe